svn commit: r567273 - in head/x11-wm: . labwc
Jan Beich
jbeich at FreeBSD.org
Thu Mar 4 00:08:24 UTC 2021
Author: jbeich
Date: Thu Mar 4 00:08:23 2021
New Revision: 567273
URL: https://svnweb.freebsd.org/changeset/ports/567273
Log:
x11-wm/labwc: add new port
Labwc is a WIP free, wlroots-based stacking compositor for Wayland.
It has the following aims:
- Be light-weight, small and fast
- Have the look and feel of openbox albeit with a smaller feature set
- Where practicable, use clients to show wall-paper, take screenshots,
and so on
- Stay in keeping with wlroots and sway in terms of approach and
coding style
It is in early development, so expect bugs and missing features.
https://github.com/johanmalm/labwc
Added:
head/x11-wm/labwc/
head/x11-wm/labwc/Makefile (contents, props changed)
head/x11-wm/labwc/distinfo (contents, props changed)
head/x11-wm/labwc/pkg-descr (contents, props changed)
Modified:
head/x11-wm/Makefile (contents, props changed)
Modified: head/x11-wm/Makefile
==============================================================================
--- head/x11-wm/Makefile Thu Mar 4 00:06:57 2021 (r567272)
+++ head/x11-wm/Makefile Thu Mar 4 00:08:23 2021 (r567273)
@@ -52,6 +52,7 @@
SUBDIR += jewel
SUBDIR += jwm
SUBDIR += kickshaw
+ SUBDIR += labwc
SUBDIR += larswm
SUBDIR += libcompizconfig
SUBDIR += libdockapp
Added: head/x11-wm/labwc/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/labwc/Makefile Thu Mar 4 00:08:23 2021 (r567273)
@@ -0,0 +1,55 @@
+# $FreeBSD$
+
+PORTNAME= labwc
+PORTVERSION= s20210303
+CATEGORIES= x11-wm
+
+MAINTAINER= jbeich at FreeBSD.org
+COMMENT= Openbox alternative for Wayland
+
+LICENSE= GPLv2
+
+BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \
+ wlroots>=0.11.0:x11-toolkits/wlroots
+LIB_DEPENDS= libwayland-server.so:graphics/wayland \
+ libwlroots.so:x11-toolkits/wlroots \
+ libinput.so:x11/libinput \
+ libxkbcommon.so:x11/libxkbcommon
+
+USES= compiler:c11 gnome meson pkgconfig xorg
+USE_GITHUB= yes
+GH_TAGNAME= 2738ff2
+USE_GNOME= cairo libxml2 pango
+USE_XORG= pixman
+GH_ACCOUNT= johanmalm
+PLIST_FILES= "${MAYBE_SUID}bin/${PORTNAME}"
+
+OPTIONS_DEFINE= MANPAGES SUID X11
+OPTIONS_DEFAULT=MANPAGES SUID X11
+
+MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc
+MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \
+ man/man5/${PORTNAME}-actions.5.gz \
+ man/man5/${PORTNAME}-config.5.gz \
+ man/man5/${PORTNAME}-theme.5.gz
+
+SUID_DESC= setuid bit on "${PORTNAME}" binary (to claim DRM without seatd/console-kit-daemon)
+SUID_VARS= MAYBE_SUID="@(,,4755) "
+
+X11_MESON_ENABLED= xwayland
+
+post-patch:
+# Respect PREFIX for system-wide config
+ @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \
+ ${WRKSRC}/docs/${PORTNAME}-config.5.md \
+ ${WRKSRC}/src/common/dir.c
+
+post-patch-MANPAGES-off:
+ @${REINPLACE_CMD} "s/'pandoc/&-disabled/" ${WRKSRC}/docs/meson.build
+
+post-install-MANPAGES-on:
+ @${MV} ${STAGEDIR}${PREFIX}/man/man*.1/* ${STAGEDIR}${PREFIX}/man/man1
+ @${MV} ${STAGEDIR}${PREFIX}/man/man*.5/* ${STAGEDIR}${PREFIX}/man/man5
+ @${FIND} ${STAGEDIR}${PREFIX}/man -type d -empty -delete
+
+.include <bsd.port.mk>
Added: head/x11-wm/labwc/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/labwc/distinfo Thu Mar 4 00:08:23 2021 (r567273)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1614806392
+SHA256 (johanmalm-labwc-s20210303-2738ff2_GH0.tar.gz) = 7b5e89f15134cc60f624b3eb509be7af3a34c3adb8795b5655ce10206af4dac5
+SIZE (johanmalm-labwc-s20210303-2738ff2_GH0.tar.gz) = 59295
Added: head/x11-wm/labwc/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-wm/labwc/pkg-descr Thu Mar 4 00:08:23 2021 (r567273)
@@ -0,0 +1,14 @@
+Labwc is a WIP free, wlroots-based stacking compositor for Wayland.
+
+It has the following aims:
+
+- Be light-weight, small and fast
+- Have the look and feel of openbox albeit with a smaller feature set
+- Where practicable, use clients to show wall-paper, take screenshots,
+ and so on
+- Stay in keeping with wlroots and sway in terms of approach and
+ coding style
+
+It is in early development, so expect bugs and missing features.
+
+WWW: https://github.com/johanmalm/labwc
More information about the svn-ports-all
mailing list