Index | Thread | Search

From:
Matthieu Herrb <matthieu@openbsd.org>
Subject:
update: wayland/labwc 0.9
To:
ports@openbsd.org
Date:
Sun, 17 Aug 2025 16:47:11 +0200

Download raw body.

Thread
  • Matthieu Herrb:

    update: wayland/labwc 0.9

Update to labwc 0.9.1, with help from landry@
This release is mainly for compatibility with wlroots 0.19 plus some
bug fixes.

Index: Makefile
===================================================================
RCS file: /cvs/OpenBSD/ports/wayland/labwc/Makefile,v
diff -u -r1.7 Makefile
--- Makefile	14 Aug 2025 15:10:34 -0000	1.7
+++ Makefile	17 Aug 2025 14:46:18 -0000
@@ -2,8 +2,7 @@
 
 GH_ACCOUNT =	labwc
 GH_PROJECT =	labwc
-GH_TAGNAME =	0.8.4
-REVISION =	0
+GH_TAGNAME =	0.9.1
 
 CATEGORIES =	wayland
 
@@ -33,7 +32,7 @@
 
 WANTLIB += c cairo glib-2.0 gobject-2.0 input intl m pango-1.0
 WANTLIB += pangocairo-1.0 pixman-1 png rsvg-2 sfdo-basedir sfdo-desktop
-WANTLIB += sfdo-icon wayland-server xcb xkbcommon
+WANTLIB += sfdo-icon wayland-server xcb xcb-ewmh xkbcommon
 WANTLIB += xml2
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/OpenBSD/ports/wayland/labwc/distinfo,v
diff -u -r1.3 distinfo
--- distinfo	15 May 2025 06:52:01 -0000	1.3
+++ distinfo	17 Aug 2025 14:46:18 -0000
@@ -1,2 +1,2 @@
-SHA256 (labwc-0.8.4.tar.gz) = LT3tkPeO+1Bg9wV+qALHinncmy6Crnoq2QKvlXuLl5c=
-SIZE (labwc-0.8.4.tar.gz) = 492730
+SHA256 (labwc-0.9.1.tar.gz) = v3okXV/FZlMps/XJy1iesz5li462OM9PTJrWj0tZefA=
+SIZE (labwc-0.9.1.tar.gz) = 509342
Index: patches/patch-clients_lab-sensible-terminal
===================================================================
RCS file: patches/patch-clients_lab-sensible-terminal
diff -N patches/patch-clients_lab-sensible-terminal
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-clients_lab-sensible-terminal	17 Aug 2025 14:46:18 -0000
@@ -0,0 +1,18 @@
+move alacritty down and add havoc 
+
+Index: clients/lab-sensible-terminal
+--- clients/lab-sensible-terminal.orig
++++ clients/lab-sensible-terminal
+@@ -5,10 +5,11 @@
+ # without XWayland support
+ terminals="\
+ 	x-terminal-emulator \
+-	alacritty \
++	havoc \
+ 	foot \
+ 	kitty \
+ 	xfce4-terminal \
++	alacritty \
+ 	lxterminal \
+ 	qterminal \
+ 	mate-terminal \
Index: patches/patch-docs_autostart
===================================================================
RCS file: /cvs/OpenBSD/ports/wayland/labwc/patches/patch-docs_autostart,v
diff -u -r1.1 patch-docs_autostart
--- patches/patch-docs_autostart	8 Nov 2024 18:37:00 -0000	1.1
+++ patches/patch-docs_autostart	17 Aug 2025 14:46:18 -0000
@@ -9,26 +9,29 @@
  
  # Configure output directives such as mode, position, scale and transform.
  # Use wlr-randr to get your output names
-@@ -10,15 +11,15 @@ swaybg -c '#113344' >/dev/null 2>&1 &
+@@ -10,10 +11,10 @@ swaybg -c '#113344' >/dev/null 2>&1 &
  #     output HDMI-A-1 position 1366,0
  #     output eDP-1 position 0,0
  #   }
 -kanshi >/dev/null 2>&1 &
-+#kanshi >/dev/null 2>&1 &
++# kanshi >/dev/null 2>&1 &
  
  # Launch a panel such as yambar or waybar.
 -waybar >/dev/null 2>&1 &
-+#waybar >/dev/null 2>&1 &
++# waybar >/dev/null 2>&1 &
  
+ # To delay the launch of a particular client it is suggested that the following
+ # syntax is used: ( sleep X ; foo ) &
+@@ -23,7 +24,7 @@ waybar >/dev/null 2>&1 &
  # Enable notifications. Typically GNOME/KDE application notifications go
  # through the org.freedesktop.Notifications D-Bus API and require a client such
  # as mako to function correctly. Thunderbird is an example of this.
 -mako >/dev/null 2>&1 &
-+#mako >/dev/null 2>&1 &
++# mako >/dev/null 2>&1 &
  
  # Lock screen after 5 minutes; turn off display after another 5 minutes.
  #
-@@ -28,7 +29,4 @@ mako >/dev/null 2>&1 &
+@@ -33,8 +34,5 @@ mako >/dev/null 2>&1 &
  # (since a837fef). Instead use a wlr-output-power-management client such as
  # https://git.sr.ht/~leon_plickat/wlopm
  swayidle -w \
@@ -37,3 +40,4 @@
 -	resume 'wlopm --on \*' \
 -	before-sleep 'swaylock -f -c 000000' >/dev/null 2>&1 &
 +	timeout 300 'swaylock -f -c 000000' >/dev/null 2>&1 &
+ 
Index: patches/patch-docs_menu_xml
===================================================================
RCS file: patches/patch-docs_menu_xml
diff -N patches/patch-docs_menu_xml
--- patches/patch-docs_menu_xml	9 Nov 2024 13:26:16 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-default to havoc, lighter and works on wayland
-
-Index: docs/menu.xml
---- docs/menu.xml.orig
-+++ docs/menu.xml
-@@ -59,7 +59,7 @@
-     <action name="Execute" command="firefox" />
-   </item>
-   <item label="Terminal">
--    <action name="Execute" command="alacritty" />
-+    <action name="Execute" command="havoc" />
-   </item>
-   <item label="Reconfigure">
-     <action name="Reconfigure" />
Index: pkg/PLIST
===================================================================
RCS file: /cvs/OpenBSD/ports/wayland/labwc/pkg/PLIST,v
diff -u -r1.3 PLIST
--- pkg/PLIST	15 May 2025 06:52:01 -0000	1.3
+++ pkg/PLIST	17 Aug 2025 14:46:18 -0000
@@ -1,3 +1,4 @@
+bin/lab-sensible-terminal
 @bin bin/labwc
 @man man/man1/labwc.1
 @man man/man5/labwc-actions.5
@@ -50,6 +51,7 @@
 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

-- 
Matthieu Herrb