Package Details: labwc 0.6.2-1

Git Clone URL: (read-only, click to copy)
Package Base: labwc
Description: stacking wayland compositor with look and feel from openbox
Upstream URL:
Licenses: GPL2
Submitter: TrialnError
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 15
Popularity: 2.29
First Submitted: 2021-03-07 19:37 (UTC)
Last Updated: 2023-03-21 20:44 (UTC)

Latest Comments

1 2 Next › Last »

scruffidog commented on 2023-03-26 02:30 (UTC)

Thanks for the quick response!

So the way I was thinking about it, the hard dependency would turn into a soft one. I figure if xwayland was needed explicitly, I can always invoke it within the autostart as a nested instance. This way, modifying a script is much easier than recompiling. And it brings me Marie Condo sense of joy in obsessively simplifying/removing cruft/stuff...

On the other hand, my record for maintenance usually descends into bit-rot due to laziness, so I am more than appreciative for the work your doing.

TrialnError commented on 2023-03-21 20:49 (UTC) (edited on 2023-03-21 20:51 (UTC) by TrialnError)

It is surely possible, but not in general as I want the xwayland support, scruffidog.
And unless they make use of dlopen() this stays as a hard dep.
If you want to disable xwayland support you can disable it locally and rebase this change for every update. See a possible patch below. Dunno about the savings of this, as xwayland is fairly standalone. I suspect it won't be that much.

commit d12b8c6bca7b56cc7b4e980fa6b0bd1a9fcf368d
Author: Narrat <>
Date:   Tue Mar 21 21:42:58 2023 +0100

    labwc: disable xwayland

diff --git a/.SRCINFO b/.SRCINFO
index 49317ff..68fff25 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,7 +12,6 @@ pkgbase = labwc
    depends = wayland
    depends = wlroots>=0.16
    depends = wlroots<0.17
-   depends = xorg-xwayland
    optdepends = bemenu: default launcher via Alt+F3
    source = labwc-0.6.2.tar.gz::
    b2sums = faaacae252a82fa4ff37f1c63fea94ccdec4b590dde49b1f72170238682649381b7184f9c3ec6c5ed1fb46cbd7f44d7208a226b3e03b99b2c998d7f12b710232
diff --git a/PKGBUILD b/PKGBUILD
index 1b25053..487c2ec 100644
@@ -7,7 +7,7 @@ pkgdesc='stacking wayland compositor with look and feel from openbox'
-depends=('pango' 'wayland' 'wlroots>=0.16' 'wlroots<0.17' 'xorg-xwayland')
+depends=('pango' 'wayland' 'wlroots>=0.16' 'wlroots<0.17')
 makedepends=('meson' 'scdoc' 'wayland-protocols')
 optdepends=("bemenu: default launcher via Alt+F3")
@@ -15,7 +15,7 @@ b2sums=('faaacae252a82fa4ff37f1c63fea94ccdec4b590dde49b1f72170238682649381b7184f

 build() {
-  arch-meson -Dman-pages=enabled "$pkgname-$pkgver" build
+  arch-meson -Dman-pages=enabled -Dxwayland=disabled "$pkgname-$pkgver" build
   meson compile -C build

scruffidog commented on 2023-03-21 19:41 (UTC)

A new release and a question: is it possible to have a wayland only version without the Xwayland ? I assume it would simplify the dependency list somewhat and minimize cruft. I believe this can be accomplished via:

meson -Dxwayland=disabled build/

longstation commented on 2023-02-06 17:30 (UTC) (edited on 2023-02-06 17:30 (UTC) by longstation)

Just installed it yesterday and everything went well. But when I log into it, it says something like "Wayland session failed to start, see logs for details" (I am not with the computer). I checked the github issues and it seems no one has encountered it. Has anyone here had this experience?

Update: enable notification

TrialnError commented on 2022-12-28 23:33 (UTC)

In the git history of this PKGBUILD is a commit which makes it possible to compile labwc without any wlroots package. You just need to change the locally cloned repo to this revision.
Not a general solution, as it adds wlroots specific files to the package. (To be formally right the changes should also include conflicting with wlroots). But everyone that has wlroots installed only because of labwc can use this temporary solution.

shoryuken commented on 2022-11-19 08:40 (UTC)

@TrialnError: Probably best to wait for wlroots from community in my opinion.

TrialnError commented on 2022-11-18 20:31 (UTC)

It is this time again and I want to hear some opinions as to whether update this now or later.
Update what now? In short: wlroots 0.16.0 got released and labwc is the first to follow suit. Problem is, that wlroots from community will stay 0.15.x for the time being, as there is no new release for sway.
If I update this all of you using an aur-helper will probably experience some sort of failure, as this cannot be build unless wlroots-git from before the 0.17.x version bump is installed. The last time I received some mixed messages on this, so this time I want to reach some... consensus.
Do you want to have the version bumped or leave it until wlroots from [community] is ready?

Best regards

TrialnError commented on 2022-02-17 14:16 (UTC) (edited on 2022-02-17 14:17 (UTC) by TrialnError)

Upstream had set the version on wlroots 0.15.0. And now it's failing with 0.15.1.
Upstream changed this in the meantime and I will add the patch for this. (Hopefully later this day)
Thanks for bringing this up txtsd.

Edit: FYI: This is the needed change:

txtsd commented on 2022-02-16 15:27 (UTC)


+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -Dman-pages=enabled ../build
The Meson build system
Version: 0.61.2
Source dir: /home/txtsd/.cache/yay/labwc/src/labwc-0.4.0
Build dir: /home/txtsd/.cache/yay/labwc/src/build
Build type: native build
Project name: labwc
Project version: 0.4.0
C compiler for the host machine: ccache cc (gcc 11.2.0 "cc (GCC) 11.2.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wundef: YES
Program git found: YES (/usr/bin/git)
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also:
Automatic wrap-based subproject downloading is disabled
Subproject  wlroots is buildable: NO (disabling)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Dependency wlroots found: NO found 0.15.1 but need: '=0.15.0'
Found CMake: /usr/bin/cmake (3.22.2)
Run-time dependency wlroots found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency wlroots ERROR: Subproject "subprojects/wlroots" required but not found.

A full log can be found at /home/txtsd/.cache/yay/labwc/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
 -> error making: labwc

TrialnError commented on 2022-01-04 09:21 (UTC)

Perfect summary about the wlroots situation, when there is an update. It is currently inconvinient.