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.19.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 aca48b03c0c70607826a1a91333065ff44d61774c152ddc9210fbc1627355872 1278600 i3-4.19.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 2020-07-26 08:11:37 UTC
133 +++ libi3/get_exe_path.c
134 @@ -27,11 +27,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:830:patches/patch-src_log.c]
152 --- src/log.c.orig 2020-07-26 08:11:37 UTC
154 @@ -128,7 +128,7 @@ void open_logbuffer(void) {
155 * At the moment (2011-12-10), no testcase leads to an i3 log
156 * of more than ~ 600 KiB. */
157 logbuffer_size = min(physical_mem_bytes * 0.01, shmlog_size);
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 @@ -139,7 +139,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));