Package Details: swww 0.7.2-0

Git Clone URL: (read-only, click to copy)
Package Base: swww
Description: Efficient animated wallpaper daemon for wayland, controlled at runtime.
Upstream URL:
Keywords: wallpaper wayland
Licenses: GPL
Submitter: HakierGrzonzo
Maintainer: HakierGrzonzo
Last Packager: HakierGrzonzo
Votes: 5
Popularity: 1.04
First Submitted: 2022-06-18 17:12 (UTC)
Last Updated: 2023-02-18 00:40 (UTC)

Latest Comments

Chais commented on 2023-02-10 22:27 (UTC)

That did it, @Static_Rocket. Thanks! @HakierGrzonzo, please include


in the PKGBUILD.

Static_Rocket commented on 2023-02-10 16:15 (UTC)

Hey @Chais , that linker error you are reporting looks exactly what I saw with the swww-git repo and it's related to the following:

It's the reason why so many official rust packages have the lto option disabled:

Chais commented on 2023-02-09 20:44 (UTC)

Error is unchanged, btw. Have you been able to reproduce it by building in a chroot?

Chais commented on 2023-01-30 16:01 (UTC)

Oh, sorry. I was under the impression Horus645 was your GitHub handle, since the version number bump also appeared in the repo. Thanks.

HakierGrzonzo commented on 2023-01-30 15:28 (UTC)

Why write a patch to make changes to the source when you control the source repo? You made the change there, just move the tag. Also now there's a new error:

I do not control the source repo. I am just a random bloke that maintains it as their first AUR package.

As for the linker errors those seem to be coming from lz4, which is listed as a dependency. Will try building it on some random machine if I find the time.

Chais commented on 2023-01-30 14:22 (UTC)

Why write a patch to make changes to the source when you control the source repo? You made the change there, just move the tag. Also now there's a new error:

error: linking with `cc` failed: exit status: 1
  = note: "cc" "-m64" "/tmp/rustcMxxeCd/symbols.o" "/build/swww/src/swww-0.7.0/target/release/deps/swww_daemon-35628ebfa0db0491.swww_daemon.825ff3ef-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/build/swww/src/swww-0.7.0/target/release/deps" "-L" "/usr/lib" "-L" "/build/swww/src/swww-0.7.0/target/release/build/lzzzz-bba7706fdbd3a1f4/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcMxxeCd/liblzzzz-18195c16ce74ced5.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-74aac773f4941482.rlib" "-Wl,-Bdynamic" "-lxkbcommon" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/build/swww/src/swww-0.7.0/target/release/deps/swww_daemon-35628ebfa0db0491" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs"
  = note: /usr/bin/ld: /build/swww/src/swww-0.7.0/target/release/deps/swww_daemon-35628ebfa0db0491.swww_daemon.825ff3ef-cgu.0.rcgu.o: in function `std::sys_common::backtrace::__rust_begin_short_backtrace':
          swww_daemon.825ff3ef-cgu.0:(.text._ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h3ae07ecd82dc49d4E+0x325): undefined reference to `LZ4F_resetDecompressionContext'
          /usr/bin/ld: swww_daemon.825ff3ef-cgu.0:(.text._ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h3ae07ecd82dc49d4E+0x3d0): undefined reference to `LZ4F_decompress_usingDict'
          /usr/bin/ld: /build/swww/src/swww-0.7.0/target/release/deps/swww_daemon-35628ebfa0db0491.swww_daemon.825ff3ef-cgu.0.rcgu.o: in function `std::thread::local::fast::Key<T>::try_initialize':
          swww_daemon.825ff3ef-cgu.0:(.text._ZN3std6thread5local4fast12Key$LT$T$GT$14try_initialize17h9e537b7f964622a2E+0x45): undefined reference to `LZ4F_getVersion'
          /usr/bin/ld: swww_daemon.825ff3ef-cgu.0:(.text._ZN3std6thread5local4fast12Key$LT$T$GT$14try_initialize17h9e537b7f964622a2E+0x52): undefined reference to `LZ4F_createDecompressionContext'
          /usr/bin/ld: swww_daemon.825ff3ef-cgu.0:(.text._ZN3std6thread5local4fast12Key$LT$T$GT$14try_initialize17h9e537b7f964622a2E+0x9f): undefined reference to `LZ4F_freeDecompressionContext'
          /usr/bin/ld: /build/swww/src/swww-0.7.0/target/release/deps/swww_daemon-35628ebfa0db0491.swww_daemon.825ff3ef-cgu.0.rcgu.o: in function `std::thread::local::fast::destroy_value':
          swww_daemon.825ff3ef-cgu.0:(.text._ZN3std6thread5local4fast13destroy_value17h1aae851934561f51E+0x1a): undefined reference to `LZ4F_freeDecompressionContext'
          collect2: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see

Chais commented on 2023-01-30 02:57 (UTC)

==> Retrieving sources...
  -> Found swww-0.7.0.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting swww-0.7.0.tar.gz with bsdtar
==> Starting prepare()...
/startdir/PKGBUILD: line 16: ../../00-fix-version.diff: No such file or directory
==> ERROR: A failure occurred in prepare().
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/repo/build

Maybe include that file in the sources, please.

HakierGrzonzo commented on 2022-12-12 11:21 (UTC)

Why are zsh completions specifically avoided?

I will try to add them later today

UltimateKyle commented on 2022-12-10 12:42 (UTC)

Why are zsh completions specifically avoided?

whynothugo commented on 2022-09-23 00:12 (UTC)

Dependency libxkbcommon is missing:

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"xkbcommon\"` did not exit successfully: exit status: 1\nerror: could not find system library 'xkbcommon' required by the 'smithay-client-toolkit' crate\n\n--- stderr\nPackage xkbcommon was not found in the pkg-config search path.\nPerhaps you should add the directory containing `xkbcommon.pc'\nto the PKG_CONFIG_PATH environment variable\nPackage 'xkbcommon', required by 'virtual:world', not found\n"', /build/.cargo/registry/src/
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Here's a patch:

diff --git a/.SRCINFO b/.SRCINFO
index 9ed39c8..a6e4cc7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,6 +9,7 @@ pkgbase = swww
    makedepends = cargo
    depends = gcc-libs
    depends = lz4
+   depends = libxkbcommon
    source = swww-0.4.3.tar.gz::
    sha256sums = 15ac26a0212d4f75161ea7a00edaf3e377937deca2291f86f601a43c44f3c7d8

diff --git a/PKGBUILD b/PKGBUILD
index e749be4..51b3d4c 100644
@@ -6,7 +6,7 @@ pkgdesc="Efficient animated wallpaper daemon for wayland, controlled at runtime.
 arch=('x86_64' 'aarch64')
-depends=('gcc-libs' 'lz4')
+depends=('gcc-libs' 'lz4' 'libxkbcommon')