1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Improved dynamic tiling window manager
9 HOMEPAGE= https://i3wm.org/
13 SITES[main]= https://i3wm.org/downloads/
14 DISTFILE[1]= i3-4.22.tar.xz:main
16 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 BUILD_DEPENDS= bash:primary:standard
27 gettext:solinks:standard
28 BUILDRUN_DEPENDS= startup-notification:single:standard
31 pango:primary:standard
32 libxkbcommon:single:standard
33 libev:primary:standard
34 RUN_DEPENDS= perl-IPC-Run:single:perl_default
35 perl-Try-Tiny:single:perl_default
36 perl-AnyEvent-I3:single:perl_default
38 USES= meson perl zlib gettext:build fontconfig:build
39 XORG_COMPONENTS= xcb xcb-util xcb-util-cursor xcb-util-keysyms
40 xcb-util-wm xcb-util-xrm
42 FPC_EQUIVALENT= x11-wm/i3
44 INSTALL_TARGET= install-strip
46 VAR_OPSYS[linux]= CFLAGS=-DHAVE_strndup=1
49 ${INSTALL_DATA} ${WRKSRC}/man/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
51 [FILE:257:descriptions/desc.primary]
52 i3 is a tiling window manager, completely written from scratch. The target
53 platforms are GNU/Linux and BSD operating systems, the code is Free and
54 Open Source Software (FOSS) under the BSD license. i3 is primarily targeted
55 at advanced users and developers.
59 28639911e59d95639f092642a982f5e1dea592250c2b5ce98eda100833513e4b 1349276 i3-4.22.tar.xz
62 [FILE:613:manifests/plist.primary]
69 i3-migrate-config-to-v4
82 share/applications/i3.desktop
88 i3-migrate-config-to-v4.1.gz
92 i3-sensible-editor.1.gz
93 i3-sensible-pager.1.gz
94 i3-sensible-terminal.1.gz
98 i3-with-shmlog.desktop
102 [FILE:531:manifests/plist.docs]
137 [FILE:729:patches/patch-libi3_get__exe__path.c]
138 --- libi3/get_exe_path.c.orig 2023-01-02 08:39:00 UTC
139 +++ libi3/get_exe_path.c
140 @@ -25,11 +25,12 @@ char *get_exe_path(const char *argv0) {
141 char *destpath = smalloc(destpath_size);
142 char *tmp = smalloc(tmp_size);
144 -#if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
145 +#if defined(__linux__) || defined(__DragonFly__) \
146 + || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
147 /* Linux and Debian/kFreeBSD provide /proc/self/exe */
148 #if defined(__linux__) || defined(__FreeBSD_kernel__)
149 const char *exepath = "/proc/self/exe";
150 -#elif defined(__FreeBSD__)
151 +#elif defined(__FreeBSD__) || defined(__DragonFly__)
152 const char *exepath = "/proc/curproc/file";
157 [FILE:723:patches/patch-src_log.c]
158 --- src/log.c.orig 2023-01-02 08:39:00 UTC
160 @@ -142,7 +142,7 @@ void open_logbuffer(void) {
161 logbuffer_size = physical_mem_bytes * 0.01;
164 -#if defined(__FreeBSD__)
165 +#if defined(__FreeBSD__) || defined(__DragonFly__)
166 sasprintf(&shmlogname, "/tmp/i3-log-%d", getpid());
168 sasprintf(&shmlogname, "/i3-log-%d", getpid());
169 @@ -153,7 +153,7 @@ void open_logbuffer(void) {
173 -#if defined(__OpenBSD__) || defined(__APPLE__)
174 +#if defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__)
175 if (ftruncate(logbuffer_shm, logbuffer_size) == -1) {
176 fprintf(stderr, "Could not ftruncate SHM segment for the i3 log: %s\n", strerror(errno));