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.23.tar.xz:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= bash:primary:standard
26 libxkbcommon:dev:standard
27 gettext:solinks:standard
28 BUILDRUN_DEPENDS= startup-notification:single:standard
30 libxkbcommon:primary: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 61026a7196c9139d0f3aadd27197e8b320c576e3a450e01d74c1aca484044c46 1354628 i3-4.23.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:562:manifests/plist.docs]
110 i3bar-workspace-protocol.html
137 [FILE:729:patches/patch-libi3_get__exe__path.c]
138 --- libi3/get_exe_path.c.orig 2023-10-29 08:57:51 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-10-29 08:57:51 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));