Almamu / linux-wallpaperengine

Wallpaper Engine backgrounds for Linux!
GNU General Public License v3.0
1.49k stars 57 forks source link

Install of the cef binaries is missing in CMakeLists #216

Open L-Trump opened 1 month ago

L-Trump commented 1 month ago

This cause problems on packaging. After installing by the PKGBUILD in my ArchLinux. Following error occurs:

> linux-wallpaperengine
linux-wallpaperengine: error while loading shared libraries: libcef.so: cannot open shared object file: No such file or directory

After packaging, only few files are involved:

> pacman -Ql linux-wallpaperengine-git
linux-wallpaperengine-git /usr/
linux-wallpaperengine-git /usr/bin/
linux-wallpaperengine-git /usr/bin/linux-wallpaperengine
linux-wallpaperengine-git /usr/share/
linux-wallpaperengine-git /usr/share/linux-wallpaperengine/
linux-wallpaperengine-git /usr/share/linux-wallpaperengine/patches/
linux-wallpaperengine-git /usr/share/linux-wallpaperengine/patches/lens_flare_sun.frag.json
linux-wallpaperengine-git /usr/share/linux-wallpaperengine/patches/vhstest.vert.json
linux-wallpaperengine-git /usr/share/linux-wallpaperengine/patches/water_caustics.frag.json

Maybe it's better to use a system-wide cef dependency?

sweglord227 commented 1 month ago

had the same issue, not present when building manually. this is likely a problem with the package build rather than the repo itself.

milkydelta commented 4 weeks ago

I think this might have been fixed recently. I'm using the aur package and I don't get any complaints about the missing cef file.

Almamu commented 4 weeks ago

Yes, arch's package should be fixed already, updating should suffice. Please re-open if the issue still persist.

NoyingNabi commented 2 weeks ago

Happening to me in Fedora 40, built it from source.

Almamu commented 2 weeks ago

Can you list the contents of /opt/linux-wallpaperengine? I have the suspicion it might not be the CEF files missing but the path where you're running the binary from. I need to find a better way of handling this scenario...

If you find CEF files in there, then cd'ing to /opt/linux-wallpaperengine before running anything should be enough to make it work. But as I've said, need to better handle this situation...

NoyingNabi commented 2 weeks ago

Yeah it works as long as I am on the folder, still dont know why it doesnt execute outside of that scope.

content of /opt/linux-wallpaperengine:

chrome_100_percent.pak chrome_200_percent.pak chrome-sandbox debug.log icudtl.dat libcef.so libEGL.so libGLESv2.so libvk_swiftshader.so linux-wallpaperengine locales resources.pak share snapshot_blob.bin v8_context_snapshot.bin vk_swiftshader_icd.json