Open LOLZSICKA opened 11 months ago
wayfire is there... but it just looks over it? weird error that shouldnt be occuring
So the problem is probably not having a wayfire.pc
file at /usr/share/pkgconfig/
, I had a similar issue on my Pi 4, this is the way to fix it.
export PKG_CONFIG_PATH=/usr/lib/x86_x64-linux-gnu/pkgconfig/:$PKG_CONFIG_PATH
before building
cd wayfire-plugins-extra
meson build --prefix=/usr --buildtype=release
ninja -C build && sudo ninja -C build install
(I think :)
So the problem is probably not having a
wayfire.pc
file at/usr/share/pkgconfig/
, I had a similar issue on my Pi 4, this is the way to fix it.export PKG_CONFIG_PATH=/usr/lib/x86_x64-linux-gnu/pkgconfig/:$PKG_CONFIG_PATH
before buildingcd wayfire-plugins-extra meson build --prefix=/usr --buildtype=release ninja -C build && sudo ninja -C build install
(I think :)
i checked my files for a wayfire.pc and there is none, how do i make one in the directory the builder checks in? imma go ahead and try to build wayfire from the source see if that gives me the needed .pc file update: wayfire wont build from source because of even more "missing" dependencies, why must meson be like this.
On the Raspberry Pi 5 (with Raspberry Pi OS, which uses Wayfire by default), the file is in /usr/lib/aarch64-linux-gnu/pkgconfig/wayfire.pc
after installing sudo apt install wayfire-dev
(installs 0.7.5-1~bpo11+1~rpt28
).
But even with export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig/:$PKG_CONFIG_PATH
I still get
Run-time dependency wayfire found: NO (tried pkgconfig and cmake)
meson.build:16:0: ERROR: Dependency "wayfire" not found, tried pkgconfig and cmake
when trying to
git clone https://github.com/AhoyISki/Firedecor
cd Firedecor
meson build # Fails here
meson compile -C build
sudo meson install -C build
@probonopd try sudo cp /usr/lib/aarch64-linux-gnu/pkgconfig/wayfire.pc /usr/share/
to copy the wayfire.pc file directly into the path.
Thanks, but I am still getting
Run-time dependency wayfire found: NO (tried pkgconfig and cmake)
meson.build:16:0: ERROR: Dependency "wayfire" not found, tried pkgconfig and cmake
This is my wayfire.pc file:
prefix=/usr
includedir=${prefix}/include
libdir=${prefix}/lib/aarch64-linux-gnu
metadatadir=${prefix}/share/wayfire/metadata
sysconfdir=/etc
plugindir=${libdir}/wayfire
icondir=${prefix}/share/wayfire/icons
pkgdatadir=/usr/share/wayfire/protocols
Name: wayfire
Description: A Wayland Compositor
Version: 0.7.5
Requires: cairo, pango, pangocairo, wayland-server, pixman-1, wlroots, wf-config
Cflags: -I${includedir}
If you are on a different arch you will need to change line 3, libdir=${prefix}/lib/aarch64-linux-gnu
probably to libdir=${prefix}/lib/x86_x64-linux-gnu
.
Hope this helps!
Hm, strange. Mine looks identical.
attempting the void build again... will give report on results when i give up for the night found i needed the 32bit and/or devels of some dependencies to make wayfire build work... firedecor still failed to find wayfire after built (before launching wayfire) still no pc after launching wayfire, might have to manually make a pc for wayfire. ill try figuring that out when and if i remember and feel like doing this again.
I had to install libboost-all-dev and libglm-dev to get past the Dependency "wayfire" not found error message.
Of course now "meson compile -C build" is failing with a error: ‘render_target_t’ message, so there is that.
I would be helpful if you pasted your entire error message with the command you used. :)
ok it might help to use some kinda different setup for the build
also i figured out i can basically make dummy .pc files and it'll accept them, dunno if that causes issues or not...
It should be fine so long as your .pc
files are configured correctly I think ;)
Maybe try this fix, I had a similar issue when it tried to build wayfire-plugins-extra, on my Raspberry Pi. https://github.com/WayfireWM/wayfire-plugins-extra/wiki/Raspberry-Pi
im literally running these commands via konsole on wayfire and its not finding wayfire :skull: