Package Details: multibg-sway 0.1.6-1

Git Clone URL: https://aur.archlinux.org/multibg-sway.git (read-only, click to copy)
Package Base: multibg-sway
Description: Set a different wallpaper for the background of each Sway workspace
Upstream URL: https://github.com/gergo-salyi/multibg-sway
Keywords: background desktop sway wallpaper wayland
Licenses: MIT, Apache
Submitter: Gergo94
Maintainer: Gergo94
Last Packager: Gergo94
Votes: 1
Popularity: 0.000373
First Submitted: 2023-04-07 22:42 (UTC)
Last Updated: 2024-03-25 14:20 (UTC)

Latest Comments

Gergo94 commented on 2023-04-10 06:38 (UTC)

Thank you! I temporarily added libxkbcommon dependency, pkgrel=2 should be out in minutes.

The problem was caused that by now Rust dependency smithay-client-toolkit has unneeded feature xkbcommon enabled as default. (Rust feature gates are so tricky man...) Anyway this will be properly fixed in Cargo.toml in the next release, and by then libxkbcommon can be dropped again.

I added it to "depends". (I guess in reality is more like a "makedepends", because the linker realizes that nothing calls it and cuts it from .dynamic, (at least in my not-so-clean build env), but I'm rather not taking this for sure for everyone)

qubidt commented on 2023-04-10 05:17 (UTC) (edited on 2023-04-10 06:23 (UTC) by qubidt)

libxkbcommon is missing from depends

build failure:

error: failed to run custom build command for `smithay-client-toolkit v0.17.0`

Caused by:
  process didn't exit successfully: `/build/multibg-sway/src/multibg-sway-0.1.1/target/release/build/smithay-client-toolkit-289eafedd6dfed6b/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=XKBCOMMON_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=XKBCOMMON_STATIC
  cargo:rerun-if-env-changed=XKBCOMMON_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=\"1\" PKG_CONFIG_ALLOW_SYSTEM_LIBS=\"1\" \"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/github.com-1ecc6299db9ec823/smithay-client-toolkit-0.17.0/build.rs:3:49

edit: noticed that this was already added to the upstream PKGBUILD. Just need to update it on aur