pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/wayland/labwc
Module Name: pkgsrc
Committed By: kikadf
Date: Tue Apr 14 10:52:51 UTC 2026
Added Files:
pkgsrc/wayland/labwc: DESCR Makefile PLIST distinfo options.mk
pkgsrc/wayland/labwc/files: startlabwc.sh.in
pkgsrc/wayland/labwc/patches: patch-docs_meson.build
Log Message:
labwc: new package
Labwc is a wlroots-based window-stacking compositor for
Wayland, inspired by Openbox. It is lightweight and
independent with a focus on simply stacking windows well,
and rendering some window decorations. It relies on clients
for panels, screenshots, wallpapers, and so on to create
a full desktop environment. Labwc tries to stay in keeping
with wlroots and sway in terms of general approach
and coding style.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/wayland/labwc/DESCR \
pkgsrc/wayland/labwc/Makefile pkgsrc/wayland/labwc/PLIST \
pkgsrc/wayland/labwc/distinfo pkgsrc/wayland/labwc/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/wayland/labwc/files/startlabwc.sh.in
cvs rdiff -u -r0 -r1.1 pkgsrc/wayland/labwc/patches/patch-docs_meson.build
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/wayland/labwc/DESCR
diff -u /dev/null pkgsrc/wayland/labwc/DESCR:1.1
--- /dev/null Tue Apr 14 10:52:51 2026
+++ pkgsrc/wayland/labwc/DESCR Tue Apr 14 10:52:50 2026
@@ -0,0 +1,8 @@
+Labwc is a wlroots-based window-stacking compositor for
+Wayland, inspired by Openbox. It is lightweight and
+independent with a focus on simply stacking windows well,
+and rendering some window decorations. It relies on clients
+for panels, screenshots, wallpapers, and so on to create
+a full desktop environment. Labwc tries to stay in keeping
+with wlroots and sway in terms of general approach
+and coding style.
Index: pkgsrc/wayland/labwc/Makefile
diff -u /dev/null pkgsrc/wayland/labwc/Makefile:1.1
--- /dev/null Tue Apr 14 10:52:51 2026
+++ pkgsrc/wayland/labwc/Makefile Tue Apr 14 10:52:51 2026
@@ -0,0 +1,51 @@
+# $NetBSD: Makefile,v 1.1 2026/04/14 10:52:51 kikadf Exp $
+
+DISTNAME= labwc-0.9.6
+CATEGORIES= wayland
+MASTER_SITES= ${MASTER_SITE_GITHUB:=labwc/}
+
+MAINTAINER= kikadf.01%gmail.com@localhost
+HOMEPAGE= https://labwc.github.io/
+COMMENT= Wlroots-based compositor for Wayland, inspired by Openbox
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= pkg-config
+
+SUBST_CLASSES+= path
+SUBST_STAGE.path= pre-configure
+SUBST_MESSAGE.path= Fixing pathes
+SUBST_FILES.path+= startlabwc.sh
+SUBST_VARS.path+= PREFIX PKG_SYSCONFBASE
+
+EGDIR= ${PREFIX}/share/examples/labwc
+PKG_SYSCONFSUBDIR= xdg/labwc
+INSTALL_MAKE_FLAGS+= rcdir=${EGDIR}
+
+# Fix: [../src/main.c:94] no fonts are available
+DEPENDS+= nerd-fonts-Hack-[0-9]*:../../fonts/nerd-fonts-Hack
+
+CFLAGS+= -I${BUILDLINK_PREFIX.libepoll-shim}/include/libepoll-shim
+
+post-extract:
+ ${CP} ${FILESDIR}/startlabwc.sh.in ${WRKSRC}/startlabwc.sh
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/startlabwc.sh \
+ ${DESTDIR}${PREFIX}/bin/startlabwc
+
+.include "options.mk"
+
+.include "../../devel/meson/build.mk"
+.include "../../textproc/scdoc/tool.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libepoll-shim/buildlink3.mk"
+.include "../../devel/libsfdo/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../graphics/librsvg/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../sysutils/seatd/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../wayland/wlroots/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/wayland/labwc/PLIST
diff -u /dev/null pkgsrc/wayland/labwc/PLIST:1.1
--- /dev/null Tue Apr 14 10:52:51 2026
+++ pkgsrc/wayland/labwc/PLIST Tue Apr 14 10:52:51 2026
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1 2026/04/14 10:52:51 kikadf Exp $
+bin/lab-sensible-terminal
+bin/labnag
+bin/labwc
+bin/startlabwc
+man/man1/labnag.1
+man/man1/labwc.1
+man/man5/labwc-actions.5
+man/man5/labwc-config.5
+man/man5/labwc-menu.5
+man/man5/labwc-theme.5
+share/examples/labwc/README
+share/examples/labwc/autostart
+share/examples/labwc/environment
+share/examples/labwc/menu.xml
+share/examples/labwc/rc.xml
+share/examples/labwc/rc.xml.all
+share/examples/labwc/shutdown
+share/examples/labwc/themerc
+share/icons/hicolor/scalable/apps/labwc-symbolic.svg
+share/icons/hicolor/scalable/apps/labwc.svg
+share/locale/ar/LC_MESSAGES/labwc.mo
+share/locale/ca/LC_MESSAGES/labwc.mo
+share/locale/cs/LC_MESSAGES/labwc.mo
+share/locale/da/LC_MESSAGES/labwc.mo
+share/locale/de/LC_MESSAGES/labwc.mo
+share/locale/el/LC_MESSAGES/labwc.mo
+share/locale/es/LC_MESSAGES/labwc.mo
+share/locale/et/LC_MESSAGES/labwc.mo
+share/locale/eu/LC_MESSAGES/labwc.mo
+share/locale/fa/LC_MESSAGES/labwc.mo
+share/locale/fi/LC_MESSAGES/labwc.mo
+share/locale/fr/LC_MESSAGES/labwc.mo
+share/locale/gl/LC_MESSAGES/labwc.mo
+share/locale/he/LC_MESSAGES/labwc.mo
+share/locale/hr/LC_MESSAGES/labwc.mo
+share/locale/hu/LC_MESSAGES/labwc.mo
+share/locale/id/LC_MESSAGES/labwc.mo
+share/locale/it/LC_MESSAGES/labwc.mo
+share/locale/ja/LC_MESSAGES/labwc.mo
+share/locale/ka/LC_MESSAGES/labwc.mo
+share/locale/kk/LC_MESSAGES/labwc.mo
+share/locale/ko/LC_MESSAGES/labwc.mo
+share/locale/lt/LC_MESSAGES/labwc.mo
+share/locale/ms/LC_MESSAGES/labwc.mo
+share/locale/nl/LC_MESSAGES/labwc.mo
+share/locale/pa/LC_MESSAGES/labwc.mo
+share/locale/pl/LC_MESSAGES/labwc.mo
+share/locale/pt/LC_MESSAGES/labwc.mo
+share/locale/pt_BR/LC_MESSAGES/labwc.mo
+share/locale/ru/LC_MESSAGES/labwc.mo
+share/locale/sk/LC_MESSAGES/labwc.mo
+share/locale/sv/LC_MESSAGES/labwc.mo
+share/locale/tr/LC_MESSAGES/labwc.mo
+share/locale/uk/LC_MESSAGES/labwc.mo
+share/locale/vi/LC_MESSAGES/labwc.mo
+share/locale/zh_CN/LC_MESSAGES/labwc.mo
+share/locale/zh_TW/LC_MESSAGES/labwc.mo
+share/wayland-sessions/labwc.desktop
+share/xdg-desktop-portal/labwc-portals.conf
Index: pkgsrc/wayland/labwc/distinfo
diff -u /dev/null pkgsrc/wayland/labwc/distinfo:1.1
--- /dev/null Tue Apr 14 10:52:51 2026
+++ pkgsrc/wayland/labwc/distinfo Tue Apr 14 10:52:51 2026
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2026/04/14 10:52:51 kikadf Exp $
+
+BLAKE2s (labwc-0.9.6.tar.gz) = 5b6c8c9bbf505ad95b1687af008ab04a781230685ec26cbab549612a43607be5
+SHA512 (labwc-0.9.6.tar.gz) = 52d0866a3d8ae1602e85ac19fbcc172cd9e1ee20d310119aa71d4f682b7fe1f1689c756b8f2c8a7399ddeaf71085d5e3feddd315a2e337a606fceeb489f62cbd
+Size (labwc-0.9.6.tar.gz) = 548201 bytes
+SHA1 (patch-docs_meson.build) = 0f84be326a5f0f3f6611476df344076d851236af
Index: pkgsrc/wayland/labwc/options.mk
diff -u /dev/null pkgsrc/wayland/labwc/options.mk:1.1
--- /dev/null Tue Apr 14 10:52:51 2026
+++ pkgsrc/wayland/labwc/options.mk Tue Apr 14 10:52:51 2026
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2026/04/14 10:52:51 kikadf Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.labwc
+PKG_SUPPORTED_OPTIONS+= xwayland
+PKG_SUGGESTED_OPTIONS+= xwayland
+
+.include "../../mk/bsd.options.mk"
+
+.if empty(PKG_OPTIONS:Mxwayland)
+MESON_ARGS+= -Dxwayland=disabled
+.endif
Index: pkgsrc/wayland/labwc/files/startlabwc.sh.in
diff -u /dev/null pkgsrc/wayland/labwc/files/startlabwc.sh.in:1.1
--- /dev/null Tue Apr 14 10:52:51 2026
+++ pkgsrc/wayland/labwc/files/startlabwc.sh.in Tue Apr 14 10:52:51 2026
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -eu
+
+: ${XDG_CURRENT_DESKTOP:=labwc}
+: ${XDG_RUNTIME_DIR:=/tmp/$(id -un)-runtime}
+: ${XDG_CONFIG_DIRS:=@PKG_SYSCONFBASE@/xdg}
+: ${XDG_DATA_DIRS:=@PREFIX@/share}
+: ${QT_QPA_PLATFORM:=wayland;xcb}
+
+export XDG_CURRENT_DESKTOP XDG_RUNTIME_DIR QT_QPA_PLATFORM
+export XDG_CONFIG_DIRS XDG_DATA_DIRS
+
+[ -d "${XDG_RUNTIME_DIR}" ] || mkdir -p -m 700 "${XDG_RUNTIME_DIR}"
+
+exec @PREFIX@/bin/seatd-launch \
+ @PREFIX@/bin/dbus-run-session \
+ @PREFIX@/bin/labwc "$@"
Index: pkgsrc/wayland/labwc/patches/patch-docs_meson.build
diff -u /dev/null pkgsrc/wayland/labwc/patches/patch-docs_meson.build:1.1
--- /dev/null Tue Apr 14 10:52:51 2026
+++ pkgsrc/wayland/labwc/patches/patch-docs_meson.build Tue Apr 14 10:52:51 2026
@@ -0,0 +1,13 @@
+$NetBSD: patch-docs_meson.build,v 1.1 2026/04/14 10:52:51 kikadf Exp $
+
+* Install config files to examples
+
+--- docs/meson.build.orig 2025-09-19 13:20:08.642600567 +0000
++++ docs/meson.build
+@@ -35,5 +35,5 @@ install_data(
+ 'rc.xml',
+ 'rc.xml.all'
+ ],
+- install_dir: get_option('datadir') / 'doc' / meson.project_name()
++ install_dir: get_option('datadir') / 'examples' / meson.project_name()
+ )
Home |
Main Index |
Thread Index |
Old Index