Package Details: labwc-git 0.5.0.r76.g5fd5024-2

Git Clone URL: https://aur.archlinux.org/labwc-git.git (read-only, click to copy)
Package Base: labwc-git
Description: stacking wayland compositor with look and feel from openbox (git version)
Upstream URL: https://github.com/labwc/labwc
Licenses: GPL2
Conflicts: labwc
Provides: labwc
Submitter: TrialnError
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 4
Popularity: 0.022203
First Submitted: 2020-07-23 16:04 (UTC)
Last Updated: 2022-03-17 21:22 (UTC)

Latest Comments

TrialnError commented on 2022-01-23 11:20 (UTC)

This is broken until wlroots 0.15.0 hits the repos.
See https://aur.archlinux.org/packages/labwc-git/#comment-844664 for some more information.
If you don't need wlroots-git for anything else, you could change the PKGBUILD to build from tag 0.15.x

d3Xt3r commented on 2022-01-23 10:35 (UTC)

@TrialnError I'm no longer able to build this, seems like it requires wlroots 0.15.0, but wlroots-git is currently on 0.16.0.

This is from a fresh Arch install inside a VM (using the archinstall script):

Program git found: YES (/usr/bin/git)
Automatic wrap-based subproject downloading is disabled
Subproject wlroots is buildable: NO (disabling)
Found pkg-config: /usr-bin-pkg-config (1.9.0)
Dependency wlroots found: NO found 0.16.0 but need: ’=0.15.0’
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency wlroots found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency wlroots

meson.build:53:2: ERROR: Subproject "subprojects/wlroots" required but not found.
A full log can be found at [...]
==> ERROR: A failure occurred in build().
    Aborting...
-> error making: labwc-git

cmsigler commented on 2022-01-04 00:21 (UTC)

@TrialnError --

No problem! Thank you :) I can see where not having to follow wlroots-git would be A Good Thing(TM)

Clemmitt

TrialnError commented on 2022-01-03 20:02 (UTC)

Hi,
thanks for your work. But I'm not sure if I should add those changes. Upstream changed their way in regards how to handle breaking changes from wlroots. So after wlroots 0.15 hits the stable repos, this PKGBUILD should change the dep from wlroots-git to wlroots.
Unless there is a fairly active branch, which keeps track of the breaking changes of wlroots.

cmsigler commented on 2022-01-03 16:31 (UTC) (edited on 2022-01-03 17:01 (UTC) by cmsigler)

Hi,

I got labwc-git to build on 2022-01-03.

I patched PKGBUILD for wlroots-git to get it to build.

I needed to add two patches due to version upgrade of wlroots-git to 0.16.0 ->

wlroots-0-16-0.patch:

--- labwc/subprojects/wlroots.wrap.orig 2022-01-03 10:30:46.912189312 -0500
+++ labwc/subprojects/wlroots.wrap  2022-01-03 10:37:13.781336410 -0500
@@ -1,3 +1,3 @@
 [wrap-git]
 url = https://gitlab.freedesktop.org/wlroots/wlroots
-revision = 0.15.0
+revision = 0.16.0

meson.build-0-16-0.patch:

--- labwc/meson.build.orig  2022-01-03 11:00:14.665057860 -0500
+++ labwc/meson.build   2022-01-03 11:07:51.547293755 -0500
@@ -37,7 +37,7 @@
 endif
 add_project_arguments('-DLABWC_VERSION=@0@'.format(version), language: 'c')

-wlroots_version = ['=0.15.0']
+wlroots_version = ['=0.16.0']
 wlroots_proj = subproject(
   'wlroots',
   default_options: ['default_library=static', 'examples=false'],

Patch for PKGBUILD:

--- PKGBUILD.orig   2021-04-19 15:48:29.000000000 -0400
+++ PKGBUILD    2022-01-03 11:36:54.183264173 -0500
@@ -1,20 +1,40 @@
 # Maintainer: Lex Black <autumn-wind@web.de>
+# Contributor: Clemmitt Sigler <cmsigler.online@gmail.com>

 _pkgname=labwc
 pkgname=labwc-git
-pkgver=0.2.1.r5.g9769fad
-pkgrel=2
-pkgdesc='stacking wayland compositor with look and feel from openbox (git version)'
-url="https://github.com/johanmalm/labwc"
+pkgver=0.4.0.r11.gf28319b
+pkgrel=1
+pkgdesc='Stacking Wayland compositor with look and feel from Openbox (git version)'
+url="https://github.com/labwc/labwc"
 arch=('x86_64')
 license=('GPL2')
-depends=('pango' 'seatd' 'wlroots-git' 'wayland' 'wayland-protocols' 'xorg-xwayland')
+depends=('pango' 'wlroots-git' 'wayland' 'wayland-protocols')
 makedepends=('git' 'meson' 'scdoc')
-optdepends=("bemenu: default launcher via Alt+F3")
-conflicts=(labwc)
-provides=(labwc)
-source=("git+https://github.com/johanmalm/${_pkgname}.git")
-md5sums=('SKIP')
+optdepends=("xorg-xwayland: XWayland support"
+            "xcb-util: Provide full XCB support"
+            "wayland-utils: Show compositor info"
+            "bemenu: Dynamic menu library and client program inspired by dmenu"
+            "fuzzel: Application launcher for wlroots-based Wayland compositors"
+            "wofi: Launcher for wlroots-based Wayland compositors"
+            "waybar: Highly customizable Wayland bar for Sway, wlroots-based compositors"
+            "yambar: Modular status panel for X11 and Wayland, inspired by Polybar"
+            "lavalauncher: A simple launcher panel for Wayland"
+            "swaylock: Screen locker for Wayland"
+            "kanshi: Dynamic output configuration for Wayland WMs"
+            "wlr-randr: Utility to manage outputs of a Wayland compositor"
+            "swaybg: Wallpaper tool for Wayland compositors"
+            "grim: Grab images from a Wayland compositor"
+            "wf-recorder: A video recorder for wlroots-based compositors like Sway or Wayfire"
+            "waypipe: Proxy for Wayland protocol applications; like ssh -X")
+conflicts=('labwc')
+provides=('labwc')
+source=("git+https://github.com/labwc/${_pkgname}.git"
+        'wlroots-0-16-0.patch'
+        'meson.build-0-16-0.patch')
+sha1sums=('SKIP'
+          '9bc2edadc6b692b6f12ba5a110ccfcb7906bb4a8'
+          '38d72c9643873023c882cd4bfb2efd6e80572100')


 pkgver() {
@@ -22,6 +42,12 @@
   git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

+prepare() {
+  cd "$_pkgname"
+  patch -Np1 -i "${srcdir}/wlroots-0-16-0.patch"
+  patch -Np1 -i "${srcdir}/meson.build-0-16-0.patch"
+}
+
 build() {
   cd "$_pkgname"
   arch-meson -Dman-pages=enabled ../build

I hope all this helps :)

Clemmitt Sigler