Package Details: labwc-git 0.8.0.r68.g701679ba-1

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: GPL-2.0-only
Conflicts: labwc
Provides: labwc
Submitter: TrialnError
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 7
Popularity: 0.168916
First Submitted: 2020-07-23 16:04 (UTC)
Last Updated: 2024-09-25 18:08 (UTC)

Dependencies (14)

Required by (3)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

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