Package Details: wlroots-git 0.4.1.r20.g30d34261-1

Git Clone URL: https://aur.archlinux.org/wlroots-git.git (read-only)
Package Base: wlroots-git
Description: Modular Wayland compositor library
Upstream URL: https://github.com/swaywm/wlroots
Keywords: compositor library wayland
Licenses: custom:MIT
Conflicts: wlroots
Provides: wlroots
Submitter: aperez
Maintainer: aperez
Last Packager: aperez
Votes: 29
Popularity: 4.556849
First Submitted: 2018-02-20 16:48
Last Updated: 2019-03-05 18:39

Pinned Comments

aperez commented on 2018-09-28 08:31

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 Next › Last »

numenra commented on 2019-03-16 20:34

@jcstryker

There is a change in mesa-git that caused some issue with glvnd and mesa. There is a bug report

https://bugs.freedesktop.org/show_bug.cgi?id=110141

Temp solution is to downgrade mesa-git

jcstryker commented on 2019-03-11 19:14

Dependency glesv2 found: NO (tried pkgconfig and cmake)

meson.build:71:0: ERROR:  Dependency "glesv2" not found, tried pkgconfig and cmake

Getting build failures using mesa-git.

pad commented on 2019-02-25 09:36

it's build from master branch, not from a tag, this package cant be out-of-date.

skyfair commented on 2019-02-02 19:27

Help solve the problem: meson.build:67:0: ERROR: C library 'm' not found This package requires for sway-git

SOLVED!!! Disable cflags, cxxflags, cppflags, ldflags.

aperez commented on 2018-12-26 18:05

@mearon: Building in a clean chroot (using makechrootpkg -c -r $CHROOT from the package source directory) is working fine for me, all the needed dependencies are installed automatically.

@b1u3dr4g0nf1y: Maybe you have something in your makepkg.conf which is changing the default build options, because here I don't get the issue with _FORTIFY_SOURCE that you mention. Could you please check that nothing from your setup is lowering the optimization level from -O2?

b1u3dr4g0nf1y commented on 2018-12-23 14:09

Hi, when trying to rebuild, I needed to pass --optimization 2 to meson configure. Due to -werror=true use in meson.build and this warn-error :

warning _FORTIFY_SOURCE requires compiling with optimization (-O)

mearon commented on 2018-11-18 13:15

When building in a clean chroot like so:

makechrootpkg -c -r $BUILD_CHROOT -I ../scdoc/scdoc-1.5.2-2-any.pkg.tar.xz -I ../dummy-opengl-driver-git/dummy-opengl-driver-git-1-3-any.pkg.tar.xz -I ../xcb-util-errors/xcb-util-errors-1.0-1-x86_64.pkg.tar.xz

If fails with:

Dependency egl found: NO (tried pkgconfig) meson.build:57:0: ERROR: Dependency "egl" not found, tried pkgconfig

I think the 'opengl-driver' dependency should be replaced with 'mesa', as it provides opengl-driver and probably lots of GL stuff. But as I'm a novice, I'm really not sure.

When replacing 'opengl-driver' with 'mesa' though it build correctly with this command:

makechrootpkg -c -r $BUILD_CHROOT -I ../scdoc/scdoc-1.5.2-2-any.pkg.tar.xz -I ../xcb-util-errors/xcb-util-errors-1.0-1-x86_64.pkg.tar.xz

PS: How can I format text as a code block?

aperez commented on 2018-10-28 18:57

@linkmauve: Unfortunately, reusing the build directory with Meson has a huge issue: when updating Meson, the new version may be incompatible with build directories generated using older versions of Meson, and AFAIK it is not possible to determine when the directory needs to be re-created. That's the reason why the directory is always deleted. If you know some way to know when the build directory needs to be thrown away and re-created, I would be interested in knowing! :)

linkmauve commented on 2018-10-27 19:46

Hi, please apply this patch to keep the build directory between builds: https://linkmauve.fr/files/0001-Move-meson-call-to-prepare-to-keep-the-build-directo.patch

aperez commented on 2018-09-28 08:31

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.