-- Checking for modules 'wayland-cursor;wayland-protocols;egl;wayland-egl'
-- Package 'wayland-protocols' not found
wayland-protocols need to be a makeopt, or the make process not include wayland support,which is bad for a clean chroot build
| Git Clone URL: | https://aur.archlinux.org/linux-wallpaperengine-git.git (read-only, click to copy) |
|---|---|
| Package Base: | linux-wallpaperengine-git |
| Description: | use steam's wallpaperengine on linux |
| Upstream URL: | https://github.com/Almamu/linux-wallpaperengine |
| Keywords: | animated engine live wallpaper |
| Licenses: | GPL3 |
| Provides: | linux-wallpaperengine |
| Submitter: | Hzf |
| Maintainer: | Almamu |
| Last Packager: | Almamu |
| Votes: | 7 |
| Popularity: | 0.59 |
| First Submitted: | 2022-09-14 08:43 (UTC) |
| Last Updated: | 2025-09-16 01:30 (UTC) |
-- Checking for modules 'wayland-cursor;wayland-protocols;egl;wayland-egl'
-- Package 'wayland-protocols' not found
wayland-protocols need to be a makeopt, or the make process not include wayland support,which is bad for a clean chroot build
[ 96%] Built target spirv-cross-hlsl
[ 97%] Building CXX object CMakeFiles/linux-wallpaperengine.dir/src/WallpaperEngine/Render/Drivers/Detectors/WaylandFullScreenDetector.cpp.o
[ 97%] Building CXX object CMakeFiles/linux-wallpaperengine.dir/src/WallpaperEngine/Render/Drivers/Output/WaylandOutput.cpp.o
[ 97%] Building CXX object CMakeFiles/linux-wallpaperengine.dir/src/WallpaperEngine/Render/Drivers/Output/WaylandOutputViewport.cpp.o
[ 97%] Building CXX object CMakeFiles/linux-wallpaperengine.dir/src/WallpaperEngine/Input/Drivers/WaylandMouseInput.cpp.o
包含于文件 /home/ice/.cache/paru/clone/linux-wallpaperengine-git/src/build/cef/cef_binary_135.0.17+gcbc1c5b+chromium-135.0.7049.52_linux64/include/internal/cef_string.h:50,
于 /home/ice/.cache/paru/clone/linux-wallpaperengine-git/src/build/cef/cef_binary_135.0.17+gcbc1c5b+chromium-135.0.7049.52_linux64/include/internal/cef_types_wrappers.h:37,
于 /home/ice/.cache/paru/clone/linux-wallpaperengine-git/src/build/cef/cef_binary_135.0.17+gcbc1c5b+chromium-135.0.7049.52_linux64/include/cef_base.h:44,
于 /home/ice/.cache/paru/clone/linux-wallpaperengine-git/src/build/cef/cef_binary_135.0.17+gcbc1c5b+chromium-135.0.7049.52_linux64/include/cef_app.h:41,
于 /home/ice/.cache/paru/clone/linux-wallpaperengine-git/src/linux-wallpaperengine-git/src/WallpaperEngine/WebBrowser/WebBrowserContext.h:5,
于 /home/ice/.cache/paru/clone/linux-wallpaperengine-git/src/linux-wallpaperengine-git/src/WallpaperEngine/WebBrowser/WebBrowserContext.cpp:1:
In member function ‘void CefStringBase<traits>::ClearAndFree() [with traits = CefStringTraitsUTF16]’,
inlined from ‘CefStringBase<traits>::~CefStringBase() [with traits = CefStringTraitsUTF16]’ at /home/ice/.cache/paru/clone/linux-wallpaperengine-git/src/build/cef/cef_binary_135.0.17+gcbc1c5b+chromium-135.0.7049.52_linux64/include/internal/cef_string_wrappers.h:445:34,
inlined from ‘WallpaperEngine::WebBrowser::WebBrowserContext::WebBrowserContext(WallpaperEngine::Application::WallpaperApplication&)’ at /home/ice/.cache/paru/clone/linux-wallpaperengine-git/src/linux-wallpaperengine-git/src/WallpaperEngine/WebBrowser/WebBrowserContext.cpp:83:5:
/home/ice/.cache/paru/clone/linux-wallpaperengine-git/src/build/cef/cef_binary_135.0.17+gcbc1c5b+chromium-135.0.7049.52_linux64/include/internal/cef_string_wrappers.h:539:7: 错误:‘void operator delete(void*, std::size_t)’ called on unallocated object ‘settings’ [-Werror=free-nonheap-object]
539 | delete string_;
| ^~~~~~~~~~~~~~
/home/ice/.cache/paru/clone/linux-wallpaperengine-git/src/linux-wallpaperengine-git/src/WallpaperEngine/WebBrowser/WebBrowserContext.cpp: In constructor ‘WallpaperEngine::WebBrowser::WebBrowserContext::WebBrowserContext(WallpaperEngine::Application::WallpaperApplication&)’:
/home/ice/.cache/paru/clone/linux-wallpaperengine-git/src/linux-wallpaperengine-git/src/WallpaperEngine/WebBrowser/WebBrowserContext.cpp:77:17: 附注:在此声明
77 | CefSettings settings;
| ^~~~~~~~
在全局域:
cc1plus: 附注:unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics
cc1plus:所有的警告都被当作是错误
make[2]: *** [CMakeFiles/linux-wallpaperengine.dir/build.make:957:CMakeFiles/linux-wallpaperengine.dir/src/WallpaperEngine/WebBrowser/WebBrowserContext.cpp.o] 错误 1
make[2]: *** 正在等待未完成的任务....
make[1]: *** [CMakeFiles/Makefile2:429:CMakeFiles/linux-wallpaperengine.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
[ 97%] Linking CXX static library libspirv-cross-msl.a
[ 97%] Built target spirv-cross-msl
make: *** [Makefile:156:all] 错误 2
==> 错误: 在 build() 中发生一个错误。
正在放弃...
错误: 未能构建 'linux-wallpaperengine-git-r503.104c38d-1':
错误: 未能构建的软件包:linux-wallpaperengine-git-r503.104c38d-1
==> 错误: 更新过程中发生错误
更新已被中止
Seems like something wrong.
linux-wallpaperengine --screen-root DP-3 950389547
Running with: ./linux-wallpaperengine --screen-root DP-3 950389547
Detected "scene.pkg" file at "/home/luke/.local/share/Steam/steamapps/workshop/content/431960/950389547/scene.pkg".Adding to list of searchable paths No "gifscene.pkg" file found at "/home/luke/.local/share/Steam/steamapps/workshop/content/431960/950389547/gifscene.pkg". Defaulting to normal folder storage
Cannot find required key (distancemin) in json: Particle emitter must have minimum distance
Cannot find a driver for window mode 1 and XDG_SESSION_TYPE wayland
terminate called after throwing an instance of 'std::runtime_error'
what(): Cannot find a driver for window mode 1 and XDG_SESSION_TYPE wayland /usr/bin/linux-wallpaperengine: line 3: 30720 Aborted (core dumped) ./linux-wallpaperengine "$@"
I'm unable to use this at all in wayland. If I manually build the package from the github, I don't have this issue.
~/linux-wallpaperengine-git/linux-wallpaperengine/build/output main
❯ ./linux-wallpaperengine --screen-root DP-3 950389547
Running with: ./linux-wallpaperengine --screen-root DP-3 950389547
Detected "scene.pkg" file at "/home/luke/.local/share/Steam/steamapps/workshop/content/431960/950389547/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/luke/.local/share/Steam/steamapps/workshop/content/431960/950389547/gifscene.pkg". Defaulting to normal folder storage
Cannot find required key (distancemin) in json: Particle emitter must have minimum distance
Fullscreen detection not supported by your Wayland compositor
^Zfish: Job 2, './linux-wallpaperengine --scree…' has stopped
Fails to link at runtime with the newest version of ffmpeg:
./linux-wallpaperengine: error while loading shared libraries: libavcodec.so.60: cannot open shared object file: No such file or directory
$USER@$HOSTNAME ~> pacman --query --search libavcodec
local/ffmpeg 2:7.0.1-2
$USER@$HOSTNAME ~> exa --long /usr/lib/libavcodec*
lrwxrwxrwx - root 3 Jul 00:49 /usr/lib/libavcodec.so -> libavcodec.so.61.3.100
lrwxrwxrwx - root 22 May 08:46 /usr/lib/libavcodec.so.58 -> libavcodec.so.58.134.100
.rwxr-xr-x 15M root 22 May 08:46 /usr/lib/libavcodec.so.58.134.100
lrwxrwxrwx - root 3 Jul 00:49 /usr/lib/libavcodec.so.61 -> libavcodec.so.61.3.100
.rwxr-xr-x 16M root 3 Jul 00:49 /usr/lib/libavcodec.so.61.3.100
Maybe a dumb question, but can this be written to link against /usr/lib/libavcodec.so directly so new updates to ffmpeg don't require an update of linux-wallpaperengine? Unless I'm misinterpreting this error message.
@Almamu After adding permissions it works. I see that the third line of PKGBUILD defines _pkgname but the whole script doesn't use it.
@wustdsh to me seems to work after the install command, but I've added the permissions for it nonetheless (will take some minutes for the change to hit AUR). If that fixes it for you I'll do some cleanup and use some variables where It should instead of hardcoding names.
chmod +x ${pkgdir}/opt/${_pkgname}/linux-wallpaperengine is also needed
Should add: install -d -m755 "${pkgdir}/usr/bin" before line 38 of PKGBUILD. Otherwise it will report an error:No such file or directory.
Installed using paru, but it won't run with:
linux-wallpaperengine: error while loading shared libraries: libcef.so: cannot open shared object file: No such file or directory
The problem seems to be in package().
Where do I put the assets folder?
Pinned Comments