1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Improved dynamic tiling window manager
8 HOMEPAGE= https://i3wm.org/
12 SITES[main]= https://i3wm.org/downloads/
13 DISTFILE[1]= i3-4.21.tar.xz:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= bash:primary:standard
23 BUILDRUN_DEPENDS= startup-notification:single:standard
26 pango:primary:standard
27 libxkbcommon:single:standard
29 RUN_DEPENDS= perl-IPC-Run:single:perl_default
30 perl-Try-Tiny:single:perl_default
31 perl-AnyEvent-I3:single:perl_default
34 XORG_COMPONENTS= xcb xcb-util xcb-util-cursor xcb-util-keysyms
35 xcb-util-wm xcb-util-xrm
37 FPC_EQUIVALENT= x11-wm/i3
39 INSTALL_TARGET= install-strip
41 VAR_OPSYS[linux]= CFLAGS=-DHAVE_strndup=1
44 ${INSTALL_DATA} ${WRKSRC}/man/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
46 [FILE:257:descriptions/desc.primary]
47 i3 is a tiling window manager, completely written from scratch. The target
48 platforms are GNU/Linux and BSD operating systems, the code is Free and
49 Open Source Software (FOSS) under the BSD license. i3 is primarily targeted
50 at advanced users and developers.
54 8dc5205e0f3443d58661e30783521fd9c6d426d1e7f3667ab12f2ac1b2d32078 1294968 i3-4.21.tar.xz
57 [FILE:613:manifests/plist.primary]
64 i3-migrate-config-to-v4
77 share/applications/i3.desktop
83 i3-migrate-config-to-v4.1.gz
87 i3-sensible-editor.1.gz
88 i3-sensible-pager.1.gz
89 i3-sensible-terminal.1.gz
93 i3-with-shmlog.desktop
97 [FILE:517:manifests/plist.docs]
131 [FILE:729:patches/patch-libi3_get__exe__path.c]
132 --- libi3/get_exe_path.c.orig 2021-11-03 08:23:08 UTC
133 +++ libi3/get_exe_path.c
134 @@ -25,11 +25,12 @@ char *get_exe_path(const char *argv0) {
135 char *destpath = smalloc(destpath_size);
136 char *tmp = smalloc(tmp_size);
138 -#if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
139 +#if defined(__linux__) || defined(__DragonFly__) \
140 + || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
141 /* Linux and Debian/kFreeBSD provide /proc/self/exe */
142 #if defined(__linux__) || defined(__FreeBSD_kernel__)
143 const char *exepath = "/proc/self/exe";
144 -#elif defined(__FreeBSD__)
145 +#elif defined(__FreeBSD__) || defined(__DragonFly__)
146 const char *exepath = "/proc/curproc/file";
151 [FILE:723:patches/patch-src_log.c]
152 --- src/log.c.orig 2022-09-21 16:26:43 UTC
154 @@ -142,7 +142,7 @@ void open_logbuffer(void) {
155 logbuffer_size = physical_mem_bytes * 0.01;
158 -#if defined(__FreeBSD__)
159 +#if defined(__FreeBSD__) || defined(__DragonFly__)
160 sasprintf(&shmlogname, "/tmp/i3-log-%d", getpid());
162 sasprintf(&shmlogname, "/i3-log-%d", getpid());
163 @@ -153,7 +153,7 @@ void open_logbuffer(void) {
167 -#if defined(__OpenBSD__) || defined(__APPLE__)
168 +#if defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__)
169 if (ftruncate(logbuffer_shm, logbuffer_size) == -1) {
170 fprintf(stderr, "Could not ftruncate SHM segment for the i3 log: %s\n", strerror(errno));