Package Details: wlroots-git 0.19.0.r7126.e17916d4-1

Git Clone URL: https://aur.archlinux.org/wlroots-git.git (read-only, click to copy)
Package Base: wlroots-git
Description: Modular Wayland compositor library (git development version)
Upstream URL: https://gitlab.freedesktop.org/wlroots/wlroots
Keywords: compositor egl gles2 libdrm libinput library modular opengl vulkan wayland wlroots
Licenses: MIT
Provides: libwlroots-0.19.so
Submitter: aperez
Maintainer: aperez (GreyXor)
Last Packager: GreyXor
Votes: 62
Popularity: 1.92
First Submitted: 2018-02-20 16:48 (UTC)
Last Updated: 2024-07-14 10:33 (UTC)

Pinned Comments

aperez commented on 2018-09-28 08:31 (UTC) (edited on 2019-03-07 16:25 (UTC) by aperez)

IMPORTANT

Please do not flag this package as out-of-date if the only change you need is to update to a newer version. It is not needed because it always fetches the sources using Git and uses the most recent version without needing to modify the PKGBUILD — just rebuild the package.

Also, please try building in a clean chroot before assuming that the PKGBUILD is broken.

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

kode54 commented on 2024-07-16 02:20 (UTC) (edited on 2024-07-16 02:21 (UTC) by kode54)

@graph that's what the rebuild-detector package is for, just remember to run checkrebuild periodically, or add a pacman hook for it.

Edit: it won't find everything, just the more obvious things, like /usr/bin and /usr/lib binaries missing their links.

yrlf commented on 2024-07-15 16:36 (UTC)

@graph: this is not an issue in wlroots-git (and IMO also not an issue in sway-git). If a library package is updated, you should probably rebuild all dependent packages in case versions/sonames have changed.

graph commented on 2024-07-15 16:15 (UTC)

Currently breaks https://aur.archlinux.org/packages/sway-git because it is linking to the wrong libwlroots library

sway: error while loading shared libraries: libwlroots-0.18.so: cannot open shared object file: No such file or directory

rekman commented on 2024-07-15 01:14 (UTC)

Alternatively, build wayland-git incorporating the upstream patch.

Billli11 commented on 2024-07-14 22:02 (UTC) (edited on 2024-07-14 22:02 (UTC) by Billli11)

Setting C standard to gnu17 seem to fix clang build bug for now.(gnu17 is gcc default)
Running it built with clang 18 for a few day with out issue.

Add CFLAGS

"-std=gnu17"

Or meson argument

-Dc_std=gnu17

rekman commented on 2024-07-14 13:12 (UTC) (edited on 2024-07-14 13:19 (UTC) by rekman)

10d214a (May 30) removed the main package from the provides field. This means that dependents (e.g. sway) will not recognise this package as fulfilling their dependency. Consequently AUR helpers will try to install wlroots. While this is probably harmless due to versioning of headers etc introduced upstream, it is confusing and to the user and probably not what they want. To fix simply restore the entry that was incorrectly deleted:

-provides=("lib${pkgname%-git}-${pkgver%.*.*.*}.so")
+provides=("${pkgname%-git}=${pkgver%%.r*}" "lib${pkgname%-git}-${pkgver%.*.*.*}.so")

rekman commented on 2024-07-14 12:10 (UTC)

May fail to build with LLVM 18 until an upstream fix is merged.

GreyXor commented on 2024-05-30 15:58 (UTC) (edited on 2024-05-30 16:14 (UTC) by GreyXor)

Thank you, TrialnError, hashworks, and q234rty. If you spot any other areas for improvement in the PKGBUILD, please let me know!

TrialnError commented on 2024-05-30 15:48 (UTC)

The .so provides is missing the lib prefix.
The package contains libwlroots-0.18.so and not wlroots-0.18.so. makepkg will also print a warning: Cannot find library listed in 'provides': wlroots-0.18.so

hashworks commented on 2024-05-30 09:18 (UTC) (edited on 2024-05-30 09:24 (UTC) by hashworks)

Due to the change mentioned by q234rty the field 'provides' needs to be adjusted as well:

Before:

usr/lib/libwlroots.so
usr/lib/libwlroots.so.13

Now:

usr/lib/libwlroots-0.18.so

Afterwards packages like sway-git can depend on the wlroots version they require.