Almamu / linux-wallpaperengine

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

libmpv1 deprecated on Ubuntu 24.02 LTS/Linux Mint 22 #270

Open FlameSoulis opened 1 week ago

FlameSoulis commented 1 week ago

Attempting to setup the build environment for this project requires libmpv1, which is no longer available as of Ubuntu 24.02 and, by extension, Linux Mint 22. Compiling with libmpv2 does work with a few warnings, but I have been unsuccessful in running the project, resulting in errors related to #228.

/linux-wallpaperengine /home/flame/.steam/debian-installation/steamapps/workshop/content/431960/3133917889/ [1109/212414.801860:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior. [1109/212415.936080:FATAL:zygote_host_impl_linux.cc(215)] Check failed: . : Invalid argument (22) [1] 24563 trace trap (core dumped) ./linux-wallpaperengine --list-properties

I have both symlinked and directly copied the assets folder in case the auto-detection did not work. This is being tested using x11/Cinnamon.

CMake Log: cmake.log

Build Log: build.log

Xavantex commented 4 days ago

you can do a temporary fix by symlinking libmpv.so.1 to libmpv.so.2, ln -s /lib/x86_64-linux-gnu/libmpv.so.2 /lib/x86_64-linux-gnu/libmpv.so.1, at least for when you build it from source. Don't know what will happen for built binaries. Still get the [1109/212414.801860:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior. which is worrisome and would like to know why.