gtk4-layer-shell icon indicating copy to clipboard operation
gtk4-layer-shell copied to clipboard

Arch users: extra meson attribute is needed

Open kooskaspers opened this issue 1 year ago • 1 comments

The --prefix=/usr command-line flag must always be passed to meson setup because Arch Linux packages must not install files to /usr/local. For me this was the reason I couldn't compile and install it from source.

For arch users, the following should work:

meson setup --wipe --prefix=/usr -Dexamples=true -Ddocs=true -Dtests=true build
ninja -C build
sudo ninja -C build install
sudo ldconfig

Now test with:

gtk4-layer-demo

Now you should be lucky.

kooskaspers avatar Jun 04 '24 19:06 kooskaspers

In arch you should use arch-meson to setup the build for packaging, not meson.

just carefully read the wiki before writing any package for arch

a lot of packagers in arch fall into this problem with meson

zefr0x avatar Jun 29 '24 15:06 zefr0x

This doesn't seem to be an issue with this library in particular, just a general Arch/meson thing. That being said people seem to keep running into it, so I added a note to the readme 5e49dc98afe327c09644ca8467792bab6455fd10

wmww avatar Sep 01 '24 23:09 wmww