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: Mon Jul 20 17:42:40 UTC 2026
Modified Files:
pkgsrc/wayland/labwc: Makefile PLIST distinfo
Added Files:
pkgsrc/wayland/labwc/patches: patch-src_common_string-helpers.c
patch-src_cycle_osd-field.c
Log Message:
labwc: update to 0.20.1
* 0.20.1
This is a small bug fix release.
Fixed
- Handle titles with no visible characters, for example the left-to-right mark
(‎) @Consolatis [#3630]
- Protect against SIGABRT when TTY switching in unusual circumstances by
ensuring that xdg-shell windows have sensible width and height before trying
to set size on configure. This protects against an edge case experienced when
switching between labwc on one TTY and Xfce on XOrg on another TTY.
@johanmalm @Tamaranch [#3617]
* 0.20.0
This is the first release using wlroots-0.20 and therefore has an increased risk
of teething issues. Many thanks to @Consolatis for leading the effort to port
across [#2956].
In terms of new features, the most noteworthy ones include: (i) the frequently
requested show-desktop action; (ii) initial toplevel capture support to
screenshot specific windows; (iii) menu accelerators/shortcuts; and (iv) HDR10
support when running with the Vulkan renderer option.
The eagle-eyed amongst you will have noticed the sudden jump from labwc 0.9.7
to 0.20.0. The reason for this is to align the minor number to that of the
wlroots version against which the compositor is linked.
The 0.9.x series has turned into a maintenance branch named v0.9 with bug fixes
only, for anyone preferring to build with wlroots-0.19.
Note to maintainers:
libinput >=1.26 is required in support of tablet tool pressure range
configuration.
wlroots >=0.20.1 is required to avoid some bugs that we do not want labwc to
ship with. For details, see:
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5325
Added
- Partially support toplevel-capture. Note that the following are not yet
implemented: (i) XWayland child windows; (ii) XWayland unmanaged windows
(e.g. popups); (iii) xdg child window positioning; (iv) xdg subsurfaces;
and (v) xdg popup positioning. [#2968] @Consolatis
- Add command line option -t|--title to set the labwc window title when running
nested [#3577] @mdsib
- Add support for HDR10 output @kode54 @Consolatis [#3424]
- Include wlroots version in --version string @Consolatis [#3567] [#3581]
- Implement menu accelerators (one-letter mnemonics to quickly select/exec
items from the current menu) @ch3rn1ka [#3505]
- Add Next/PreviousWindowImmediate actions @elviosak @johanmalm [#3547]
- Add labnag options --details-border-color and --details-margin
@st0rm-shad0w [#3527]
- Add config option <focus><raiseOnFocusDelay> to defer raise-on-focus by a
small amount when raiseOnFocus is enabled @joske [#3513]
- Install labwc-session.target systemd user unit when the systemd dependency
is available @joske [#3534]
- Add onbutton to config option <libinput><device><scrollMethod>. Also add
associated option <libinput><device><scrollButton>. @diniamo [#3540]
- Add overrideInhibition option to <keybind> [#3507] @drougas
- Add action ToggleShowDesktop to hide/unhide windows, and default keybind
Super-d to trigger this action [#3500] [#3595] @johanmalm
- Add <privilegedInterfaces> config option so that privileged protocols can be
restricted [#3493] @xi
- Add action DebugToggleKeyStateIndicator to show a key-state on-screen
display (OSD) for debugging. [#3499] @johanmalm @tokyo4j
- Add support for color-management-v1 and color-representation-manager-v1
protocols [#3469] @ManuLinares
- Add configuration option <tabletTool minPressure="0.0" maxPressure="1.0" />
to enable tablet tool pressure range libinput settings [#2916] @jp7677
- Add wl_fixes interface [#2956] @kode54
Fixed
- Enable labnag long option --exclusive-zone [#3576] @st0rm-shad0w
- Position chromium popup correctly when a window is maximized on a multi-
output setup @elviosak [#3547]
- Run session activation environment update synchronously to avoid a race
condition with the autostart script [#3543] @joske
- Allow interactive resize on fully maximized windows so that a resize
initiated by modifier plus right-mouse-button-drag is not ignored [#3525]
@bjorn
- Gracefully handle missing XWayland packages, so that a labwc compositor which
has been built with XWayland support (which is optional) can be run even if
XWayland is not installed. [#3401] @quite
- Rework how XWayland window initial geometry is set to ensure that the natural
geometry does not exceed the usable output area when handling initial
maximize/fullscreen requests. [#3439] @jlindgren90.
- For XWayland windows, sync always-on-top state back to X.Org Server. This
makes wmctrl -b toggle,above work. [#3446] @jlindgren90
- Fix missing title and icon with XWayland client override-redirect toggle.
There are no known issues with clients, so this is purely for preventative
purposes. [#3450] @jlindgren90
- Update titlebar title when set to empty and fix an associated issue causing
the title to be misplaced outside of the titlebar when the window is resized.
[#3443] @tokyo4j
- When running nested, exit compositor when last output is destroyed because
in this situation, each output corresponds to a window in the parent
compositor and, unlike DRM outputs, these cannot be reconnected after being
destroyed. [#3440] @marler8997
- Allow policy-based placement to apply when an initially-maximized/fullscreen
view is restored to floating geometry. [#3387] [#3502] @jlindgren90
Changed
- Change the default keybinds for XF86Audio{LowerVolume,RaiseVolume,Mute} to use
pactl instead of amixer [#3484] @DanielRRRR
- Drop cosmic-workspace protocol [#3031] @tokyo4j
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/wayland/labwc/Makefile \
pkgsrc/wayland/labwc/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/wayland/labwc/PLIST
cvs rdiff -u -r0 -r1.1 \
pkgsrc/wayland/labwc/patches/patch-src_common_string-helpers.c \
pkgsrc/wayland/labwc/patches/patch-src_cycle_osd-field.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/wayland/labwc/Makefile
diff -u pkgsrc/wayland/labwc/Makefile:1.2 pkgsrc/wayland/labwc/Makefile:1.3
--- pkgsrc/wayland/labwc/Makefile:1.2 Sat Apr 18 09:31:41 2026
+++ pkgsrc/wayland/labwc/Makefile Mon Jul 20 17:42:40 2026
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2026/04/18 09:31:41 kikadf Exp $
+# $NetBSD: Makefile,v 1.3 2026/07/20 17:42:40 kikadf Exp $
-DISTNAME= labwc-0.9.7
+DISTNAME= labwc-0.20.1
CATEGORIES= wayland
MASTER_SITES= ${MASTER_SITE_GITHUB:=labwc/}
-MAINTAINER= kikadf.01%gmail.com@localhost
+MAINTAINER= kikadf%NetBSD.org@localhost
HOMEPAGE= https://labwc.github.io/
COMMENT= Wlroots-based compositor for Wayland, inspired by Openbox
LICENSE= gnu-gpl-v2
Index: pkgsrc/wayland/labwc/distinfo
diff -u pkgsrc/wayland/labwc/distinfo:1.2 pkgsrc/wayland/labwc/distinfo:1.3
--- pkgsrc/wayland/labwc/distinfo:1.2 Sat Apr 18 09:31:41 2026
+++ pkgsrc/wayland/labwc/distinfo Mon Jul 20 17:42:40 2026
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.2 2026/04/18 09:31:41 kikadf Exp $
+$NetBSD: distinfo,v 1.3 2026/07/20 17:42:40 kikadf Exp $
-BLAKE2s (labwc-0.9.7.tar.gz) = ee1dee5d646cee18196e626fb4cdc70179c18c260053ef65e5516a5fae6ff114
-SHA512 (labwc-0.9.7.tar.gz) = 299b6b46961450d60355b45d8e5565d64800abc58e2ef95d6c8f27b9665ff45712108611d4272450761c962d3943de2b73c9de55a2d1189a061eb24985ccfbe6
-Size (labwc-0.9.7.tar.gz) = 548483 bytes
+BLAKE2s (labwc-0.20.1.tar.gz) = 62722206b87340f3e0ef16df74a85c61dcd35c606f9e98cfccfa258fb83fc325
+SHA512 (labwc-0.20.1.tar.gz) = 7c4940db41cbe13ea5a92c5eb25c324c1ff88761e18d726cf1137ab98116ab1e8301bf7eac58644fd719e49a3276d5c30720a891ff9d21b1446e1adebca7005a
+Size (labwc-0.20.1.tar.gz) = 549658 bytes
SHA1 (patch-docs_meson.build) = 0f84be326a5f0f3f6611476df344076d851236af
+SHA1 (patch-src_common_string-helpers.c) = bf81bb3d086948901d3cb239cefda7cfd98288a4
+SHA1 (patch-src_cycle_osd-field.c) = ae3006944d739c6bb326633cfa85ed55ade5e828
Index: pkgsrc/wayland/labwc/PLIST
diff -u pkgsrc/wayland/labwc/PLIST:1.1 pkgsrc/wayland/labwc/PLIST:1.2
--- pkgsrc/wayland/labwc/PLIST:1.1 Tue Apr 14 10:52:51 2026
+++ pkgsrc/wayland/labwc/PLIST Mon Jul 20 17:42:40 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2026/04/14 10:52:51 kikadf Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/07/20 17:42:40 kikadf Exp $
bin/lab-sensible-terminal
bin/labnag
bin/labwc
@@ -39,6 +39,7 @@ 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/kab/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
@@ -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/sr_Latn/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
Added files:
Index: pkgsrc/wayland/labwc/patches/patch-src_common_string-helpers.c
diff -u /dev/null pkgsrc/wayland/labwc/patches/patch-src_common_string-helpers.c:1.1
--- /dev/null Mon Jul 20 17:42:40 2026
+++ pkgsrc/wayland/labwc/patches/patch-src_common_string-helpers.c Mon Jul 20 17:42:40 2026
@@ -0,0 +1,33 @@
+$NetBSD: patch-src_common_string-helpers.c,v 1.1 2026/07/20 17:42:40 kikadf Exp $
+
+* Fix ctype usage
+
+--- src/common/string-helpers.c.orig 2026-07-20 14:31:10.046865838 +0000
++++ src/common/string-helpers.c
+@@ -28,7 +28,7 @@ rtrim(char *s)
+ return;
+ }
+ char *end = s + len - 1;
+- while (end >= s && isspace(*end)) {
++ while (end >= s && isspace((unsigned char)*end)) {
+ end--;
+ }
+ *(end + 1) = '\0';
+@@ -37,7 +37,7 @@ rtrim(char *s)
+ char *
+ string_strip(char *s)
+ {
+- while (isspace(*s)) {
++ while (isspace((unsigned char)*s)) {
+ s++;
+ }
+ rtrim(s);
+@@ -200,7 +200,7 @@ bool
+ str_space_only(const char *s)
+ {
+ for (; *s; s++) {
+- if (!isspace(*s)) {
++ if (!isspace((unsigned char)*s)) {
+ return false;
+ }
+ }
Index: pkgsrc/wayland/labwc/patches/patch-src_cycle_osd-field.c
diff -u /dev/null pkgsrc/wayland/labwc/patches/patch-src_cycle_osd-field.c:1.1
--- /dev/null Mon Jul 20 17:42:40 2026
+++ pkgsrc/wayland/labwc/patches/patch-src_cycle_osd-field.c Mon Jul 20 17:42:40 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_cycle_osd-field.c,v 1.1 2026/07/20 17:42:40 kikadf Exp $
+
+* Fix ctype usage
+
+--- src/cycle/osd-field.c.orig 2026-07-20 14:37:04.467641606 +0000
++++ src/cycle/osd-field.c
+@@ -242,7 +242,7 @@ cycle_osd_field_set_custom(struct buf *b
+ * change (*p >= '0' && *p <= '9') to isdigit(*p)
+ * changes by droc12345
+ */
+- if (*p == '-' || isdigit(*p)) {
++ if (*p == '-' || isdigit((unsigned char)*p)) {
+ if (fmt_position >= LAB_FIELD_SINGLE_FMT_MAX_LEN - 2) {
+ /* Leave space for terminating 's' and NULL byte */
+ wlr_log(WLR_ERROR,
Home |
Main Index |
Thread Index |
Old Index