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.22.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 28639911e59d95639f092642a982f5e1dea592250c2b5ce98eda100833513e4b 1349276 i3-4.22.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:531:manifests/plist.docs]
132 [FILE:729:patches/patch-libi3_get__exe__path.c]
133 --- libi3/get_exe_path.c.orig 2023-01-02 08:39:00 UTC
134 +++ libi3/get_exe_path.c
135 @@ -25,11 +25,12 @@ char *get_exe_path(const char *argv0) {
136 char *destpath = smalloc(destpath_size);
137 char *tmp = smalloc(tmp_size);
139 -#if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
140 +#if defined(__linux__) || defined(__DragonFly__) \
141 + || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
142 /* Linux and Debian/kFreeBSD provide /proc/self/exe */
143 #if defined(__linux__) || defined(__FreeBSD_kernel__)
144 const char *exepath = "/proc/self/exe";
145 -#elif defined(__FreeBSD__)
146 +#elif defined(__FreeBSD__) || defined(__DragonFly__)
147 const char *exepath = "/proc/curproc/file";
152 [FILE:723:patches/patch-src_log.c]
153 --- src/log.c.orig 2023-01-02 08:39:00 UTC
155 @@ -142,7 +142,7 @@ void open_logbuffer(void) {
156 logbuffer_size = physical_mem_bytes * 0.01;
159 -#if defined(__FreeBSD__)
160 +#if defined(__FreeBSD__) || defined(__DragonFly__)
161 sasprintf(&shmlogname, "/tmp/i3-log-%d", getpid());
163 sasprintf(&shmlogname, "/i3-log-%d", getpid());
164 @@ -153,7 +153,7 @@ void open_logbuffer(void) {
168 -#if defined(__OpenBSD__) || defined(__APPLE__)
169 +#if defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__)
170 if (ftruncate(logbuffer_shm, logbuffer_size) == -1) {
171 fprintf(stderr, "Could not ftruncate SHM segment for the i3 log: %s\n", strerror(errno));