Index: head/x11-wm/Makefile =================================================================== --- head/x11-wm/Makefile (revision 554796) +++ head/x11-wm/Makefile (revision 554797) @@ -1,124 +1,125 @@ # $FreeBSD$ # COMMENT = X11 window managers SUBDIR += afterstep SUBDIR += afterstep-stable SUBDIR += amiwm SUBDIR += antiwm SUBDIR += aphelia SUBDIR += awesome SUBDIR += awesome-vicious SUBDIR += bbkeys SUBDIR += bbpager SUBDIR += berry SUBDIR += blackbox SUBDIR += bspwm SUBDIR += cage SUBDIR += chamfer SUBDIR += compiz SUBDIR += compiz-plugins-extra SUBDIR += compiz-plugins-main SUBDIR += compiz-plugins-unsupported SUBDIR += compizconfig-backend-gconf SUBDIR += compton SUBDIR += ctwm SUBDIR += cwm SUBDIR += devilspie SUBDIR += dwm SUBDIR += e16 SUBDIR += e16-docs SUBDIR += echinus SUBDIR += emerald SUBDIR += enlightenment SUBDIR += epplets SUBDIR += euclid-wm SUBDIR += evilwm SUBDIR += fbcmd SUBDIR += fluxbox SUBDIR += fluxter SUBDIR += flwm SUBDIR += fvwm2 SUBDIR += gcompmgr SUBDIR += herbstluftwm SUBDIR += hikari SUBDIR += hs-xmonad SUBDIR += i3 SUBDIR += i3-gaps SUBDIR += icewm SUBDIR += jewel SUBDIR += jwm SUBDIR += kickshaw SUBDIR += larswm SUBDIR += libcompizconfig SUBDIR += libdockapp SUBDIR += libwraster SUBDIR += lwm SUBDIR += lxappearance-obconf SUBDIR += lxmed SUBDIR += lxqt SUBDIR += lxqt-panel SUBDIR += lxqt-session SUBDIR += lxsession SUBDIR += marco SUBDIR += mcwm SUBDIR += metacity SUBDIR += muffin SUBDIR += mutter SUBDIR += obconf SUBDIR += obconf-qt SUBDIR += obpager SUBDIR += openbox SUBDIR += oroborus SUBDIR += pager SUBDIR += peksystray SUBDIR += pekwm SUBDIR += phluid SUBDIR += phoc SUBDIR += picom SUBDIR += piewm SUBDIR += plasma5-kdecoration SUBDIR += plasma5-kwin SUBDIR += pwm SUBDIR += qtile SUBDIR += ratmen SUBDIR += ratpoison + SUBDIR += river SUBDIR += rubygem-uh-layout SUBDIR += rubygem-uh-wm SUBDIR += sawfish SUBDIR += selectwm SUBDIR += skippy-xd SUBDIR += spectrwm SUBDIR += stumpwm SUBDIR += subtle SUBDIR += sway SUBDIR += tinywm SUBDIR += transset SUBDIR += treewm SUBDIR += tvtwm SUBDIR += twm SUBDIR += vtwm SUBDIR += w9wm SUBDIR += wayfire SUBDIR += wayfire-plugins-extra SUBDIR += windowmaker SUBDIR += wm2 SUBDIR += wmakerconf SUBDIR += wmanager SUBDIR += wmanager-addons SUBDIR += wmconfig SUBDIR += wmii SUBDIR += wmii-devel SUBDIR += wmname SUBDIR += wmx SUBDIR += xcompmgr SUBDIR += xfce4 SUBDIR += xfce4-desktop SUBDIR += xfce4-panel SUBDIR += xfce4-panel-profiles SUBDIR += xfce4-session SUBDIR += xfce4-wm SUBDIR += yeahwm .include Index: head/x11-wm/river/Makefile =================================================================== --- head/x11-wm/river/Makefile (nonexistent) +++ head/x11-wm/river/Makefile (revision 554797) @@ -0,0 +1,53 @@ +# $FreeBSD$ + +PORTNAME= river +PORTVERSION= s20201104 +CATEGORIES= x11-wm + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Dynamic tiling Wayland compositor + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \ + zig>=0.7.0:lang/zig +LIB_DEPENDS= libevdev.so:devel/libevdev \ + libwayland-server.so:graphics/wayland \ + libwlroots.so:x11-toolkits/wlroots \ + libxkbcommon.so:x11/libxkbcommon + +USES= pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= ifreund +GH_TAGNAME= 5a6018f +GH_TUPLE= ifreund:zig-wayland:931b6f7:zig_wayland/deps/zig-wayland +CONFIGURE_ARGS= --prefix "${STAGEDIR}${PREFIX}" \ + ${WITH_DEBUG:U-Drelease-fast=true} \ + --verbose +NO_INSTALL= yes # strip(1) breaks runtime +PLIST_FILES= bin/${PORTNAME} \ + bin/${PORTNAME}ctl \ + bin/${PORTNAME}tile + +OPTIONS_DEFINE= MANPAGES X11 +OPTIONS_DEFAULT=MANPAGES X11 + +MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc +MANPAGES_CONFIGURE_ON= -Dman-pages=true +MANPAGES_CONFIGURE_OFF= -Dman-pages=false +MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \ + share/man/man1/${PORTNAME}ctl.1.gz \ + share/man/man1/${PORTNAME}tile.1.gz \ + share/man/man7/${PORTNAME}-layouts.7.gz + +X11_CONFIGURE_ON= -Dxwayland=true +X11_CONFIGURE_OFF= -Dxwayland=false + +do-build: + @(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS}) + +do-test: + @(cd ${WRKSRC} && ${TEST_ENV} zig build test ${CONFIGURE_ARGS}) + +.include Property changes on: head/x11-wm/river/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/river/distinfo =================================================================== --- head/x11-wm/river/distinfo (nonexistent) +++ head/x11-wm/river/distinfo (revision 554797) @@ -0,0 +1,5 @@ +TIMESTAMP = 1604500250 +SHA256 (ifreund-river-s20201104-5a6018f_GH0.tar.gz) = 807f4536abf1234969e4e32b4ba43fe1105e997d0dc4c272d55c8ea518791e08 +SIZE (ifreund-river-s20201104-5a6018f_GH0.tar.gz) = 91438 +SHA256 (ifreund-zig-wayland-931b6f7_GH0.tar.gz) = fb88a66e18f3d8b7b3d1ceb44dfb3085472134774035136d5d08f4ffcfe8bc2c +SIZE (ifreund-zig-wayland-931b6f7_GH0.tar.gz) = 49602 Property changes on: head/x11-wm/river/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/river/files/patch-sigset =================================================================== --- head/x11-wm/river/files/patch-sigset (nonexistent) +++ head/x11-wm/river/files/patch-sigset (revision 554797) @@ -0,0 +1,31 @@ +https://github.com/ziglang/zig/issues/5892 + +./river/main.zig:82:70: error: container 'std.os' has no member called 'empty_sigset' + if (std.os.system.sigprocmask(std.os.SIG_SETMASK, &std.os.empty_sigset, null) < 0) unreachable; + ^ +./river/command/spawn.zig:49:66: error: container 'std.os' has no member called 'empty_sigset' + if (std.os.system.sigprocmask(std.os.SIG_SETMASK, &std.os.empty_sigset, null) < 0) unreachable; + ^ + +--- river/command/spawn.zig.orig 2020-11-04 14:30:50 UTC ++++ river/command/spawn.zig +@@ -46,7 +46,7 @@ pub fn spawn( + if (pid == 0) { + // Clean things up for the child in an intermediate fork + if (c.setsid() < 0) unreachable; +- if (std.os.system.sigprocmask(std.os.SIG_SETMASK, &std.os.empty_sigset, null) < 0) unreachable; ++ if (std.os.system.sigprocmask(std.os.SIG_SETMASK, &std.os.sigset_t{ .__bits = [_]u32{0} ** std.os._SIG_WORDS }, null) < 0) unreachable; + + const pid2 = std.os.fork() catch c._exit(1); + if (pid2 == 0) std.os.execveZ("/bin/sh", &child_args, std.c.environ) catch c._exit(1); +--- river/main.zig.orig 2020-11-04 14:30:50 UTC ++++ river/main.zig +@@ -79,7 +79,7 @@ pub fn main() anyerror!void { + const child_args = [_:null]?[*:0]const u8{ "/bin/sh", "-c", cmd, null }; + const pid = try std.os.fork(); + if (pid == 0) { +- if (std.os.system.sigprocmask(std.os.SIG_SETMASK, &std.os.empty_sigset, null) < 0) unreachable; ++ if (std.os.system.sigprocmask(std.os.SIG_SETMASK, &std.os.sigset_t{ .__bits = [_]u32{0} ** std.os._SIG_WORDS }, null) < 0) unreachable; + std.os.execveZ("/bin/sh", &child_args, std.c.environ) catch c._exit(1); + } + break :blk pid; Property changes on: head/x11-wm/river/files/patch-sigset ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/river/pkg-descr =================================================================== --- head/x11-wm/river/pkg-descr (nonexistent) +++ head/x11-wm/river/pkg-descr (revision 554797) @@ -0,0 +1,8 @@ +river is a dynamic tiling wayland compositor that takes inspiration +from dwm and bspwm. + +Note: river is currently early in development. Expect breaking changes +and missing features. If you run into a bug don't hesitate to open an +issue upstream. + +WWW: https://github.com/ifreund/river Property changes on: head/x11-wm/river/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property