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
30 libxkbcommon:single:standard
31 libev:primary:standard
32 RUN_DEPENDS= perl-IPC-Run:single:perl_default
33 perl-Try-Tiny:single:perl_default
34 perl-AnyEvent-I3:single:perl_default
36 USES= meson perl zlib gettext:build fontconfig:build
37 GNOME_COMPONENTS= cairo pango
38 XORG_COMPONENTS= xcb xcb-util xcb-util-cursor xcb-util-keysyms
39 xcb-util-wm xcb-util-xrm
41 FPC_EQUIVALENT= x11-wm/i3
43 INSTALL_TARGET= install-strip
45 VAR_OPSYS[linux]= CFLAGS=-DHAVE_strndup=1
48 ${INSTALL_DATA} ${WRKSRC}/man/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
50 [FILE:257:descriptions/desc.primary]
51 i3 is a tiling window manager, completely written from scratch. The target
52 platforms are GNU/Linux and BSD operating systems, the code is Free and
53 Open Source Software (FOSS) under the BSD license. i3 is primarily targeted
54 at advanced users and developers.
58 28639911e59d95639f092642a982f5e1dea592250c2b5ce98eda100833513e4b 1349276 i3-4.22.tar.xz
61 [FILE:613:manifests/plist.primary]
68 i3-migrate-config-to-v4
81 share/applications/i3.desktop
87 i3-migrate-config-to-v4.1.gz
91 i3-sensible-editor.1.gz
92 i3-sensible-pager.1.gz
93 i3-sensible-terminal.1.gz
97 i3-with-shmlog.desktop
101 [FILE:531:manifests/plist.docs]
136 [FILE:729:patches/patch-libi3_get__exe__path.c]
137 --- libi3/get_exe_path.c.orig 2023-01-02 08:39:00 UTC
138 +++ libi3/get_exe_path.c
139 @@ -25,11 +25,12 @@ char *get_exe_path(const char *argv0) {
140 char *destpath = smalloc(destpath_size);
141 char *tmp = smalloc(tmp_size);
143 -#if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
144 +#if defined(__linux__) || defined(__DragonFly__) \
145 + || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
146 /* Linux and Debian/kFreeBSD provide /proc/self/exe */
147 #if defined(__linux__) || defined(__FreeBSD_kernel__)
148 const char *exepath = "/proc/self/exe";
149 -#elif defined(__FreeBSD__)
150 +#elif defined(__FreeBSD__) || defined(__DragonFly__)
151 const char *exepath = "/proc/curproc/file";
156 [FILE:723:patches/patch-src_log.c]
157 --- src/log.c.orig 2023-01-02 08:39:00 UTC
159 @@ -142,7 +142,7 @@ void open_logbuffer(void) {
160 logbuffer_size = physical_mem_bytes * 0.01;
163 -#if defined(__FreeBSD__)
164 +#if defined(__FreeBSD__) || defined(__DragonFly__)
165 sasprintf(&shmlogname, "/tmp/i3-log-%d", getpid());
167 sasprintf(&shmlogname, "/i3-log-%d", getpid());
168 @@ -153,7 +153,7 @@ void open_logbuffer(void) {
172 -#if defined(__OpenBSD__) || defined(__APPLE__)
173 +#if defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__)
174 if (ftruncate(logbuffer_shm, logbuffer_size) == -1) {
175 fprintf(stderr, "Could not ftruncate SHM segment for the i3 log: %s\n", strerror(errno));