Since maxbaz is the upstream developer and Arch's philosophy is to Keep It Simple, I'm going to keep the PKGBUILD as close to upstream as possible
Search Criteria
Package Details: wluma 4.10.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/wluma.git (read-only, click to copy) |
|---|---|
| Package Base: | wluma |
| Description: | Automatic brightness adjustment based on screen contents and ALS |
| Upstream URL: | https://github.com/maximbaz/wluma |
| Licenses: | ISC |
| Submitter: | maxbaz |
| Maintainer: | torculus |
| Last Packager: | torculus |
| Votes: | 19 |
| Popularity: | 1.32 |
| First Submitted: | 2020-05-19 18:37 (UTC) |
| Last Updated: | 2025-06-23 20:46 (UTC) |
Dependencies (12)
- dbus (dbus-gitAUR, dbus-selinuxAUR, dbus-nosystemd-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-eacAUR, glibc-git-native-pgoAUR)
- systemd-libs (systemd-libs-gitAUR, systemd-libs-selinuxAUR)
- v4l-utils (v4l-utils-gitAUR)
- vulkan-icd-loader (vulkan-icd-loader-gitAUR)
- cargo (rust-beta-binAUR, rustup-gitAUR, rust-gitAUR, rust, rustup) (make)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- marked-man (make)
- systemd (systemd-gitAUR, systemd-selinuxAUR) (make)
- vulkan-driver (nvidia-410xx-utilsAUR, nvidia-440xx-utilsAUR, nvidia-430xx-utilsAUR, amdvlk-gitAUR, vulkan-amdgpu-pro-legacyAUR, mesa-wsl2-gitAUR, vulkan-radeon-amd-bc250AUR, vulkan-terakanAUR, nvidia-510xx-utilsAUR, swiftshader-gitAUR, nvidia-utils-teslaAUR, nvidia-470xx-utilsAUR, vulkan-nouveau-gitAUR, nvidia-550xx-utilsAUR, vulkan-amdgpu-proAUR, amdvlkAUR, amdvlk-binAUR, nvidia-525xx-utilsAUR, mesa-rk35xx-gitAUR, nvidia-575xx-utilsAUR, nvidia-utils-betaAUR, mesa-gitAUR, mesa-minimal-gitAUR, nvidia-535xx-utilsAUR, mesa-nollvm-gitAUR, vulkan-terakan-gitAUR, nvidia-vulkan-utilsAUR, nvidia-580xx-utilsAUR, nvidia-390xx-utilsAUR, amdonly-gaming-vulkan-radeon-gitAUR, nvidia-utils, vulkan-asahi, vulkan-broadcom, vulkan-dzn, vulkan-freedreno, vulkan-gfxstream, vulkan-intel, vulkan-kosmickrisp, vulkan-nouveau, vulkan-panfrost, vulkan-powervr, vulkan-radeon, vulkan-swrast, vulkan-virtio) (optional) – for using capturer=wlroots in config.toml
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR) (optional) – for using capturer=wlroots in config.toml
Required by (0)
Sources (2)
torculus commented on 2026-01-16 21:30 (UTC)
maxbaz commented on 2026-01-13 15:32 (UTC) (edited on 2026-01-13 20:08 (UTC) by maxbaz)
In my own experience the direct driver access (using the rules file) provides for a noticeably snappier reaction and better experience, personally I use it on all my systems, even those that support the systemd approach. I'm no longer affiliated with the arch package though, so you guys take the decision!
kageyama commented on 2026-01-13 13:20 (UTC)
https://github.com/max-baz/wluma#permissions says that with systems using systemd-logind, no .rule file is required. This package provides the .rule files, i had to overwiret the .rule by creating an empty file in /etc/udev/rules.d/. ArchLinux is systemd base system, do we needs this file in the package ?
simona commented on 2025-03-01 08:59 (UTC)
thx. ok.
torculus commented on 2025-02-21 22:18 (UTC)
Thanks dreieck, I didn't realize that install can't distinguish between regular files and directories unless you pass the -t flag. The new version is up now
dreieck commented on 2025-02-21 20:46 (UTC) (edited on 2025-02-21 20:49 (UTC) by dreieck)
Ahoj,
after update to version 4.7.0, it conflicts with some base files:
error: failed to commit transaction (conflicting files)
wluma: /usr/lib/systemd/user exists in filesystem
wluma: /usr/lib/udev/rules.d exists in filesystem
It turns out that /usr/lib/udev/rules.d which wluma wants to install is a regular file and not a directory. Same with /usr/lib/systemd/user. Same with other directories, too!
Needs to be fixed, e.g. by using
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 -t "${pkgdir}/usr/lib/udev/rules.d" "90-${pkgname}-backlight.rules"
install -Dm644 -t "${pkgdir}/usr/lib/systemd/user" "${pkgname}.service"
install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" "README.md"
install -Dm644 -t "${pkgdir}/usr/share/man/man7" "${pkgname}.7.gz"
install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/examples" "config.toml"
instead of the current
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "90-${pkgname}-backlight.rules" "${pkgdir}/usr/lib/udev/rules.d"
install -Dm644 "${pkgname}.service" "${pkgdir}/usr/lib/systemd/user"
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm644 "${pkgname}.7.gz" "${pkgdir}/usr/share/man/man7"
install -Dm644 "config.toml" "${pkgdir}/usr/share/${pkgname}/examples"
Regards and thanks for the package!
simona commented on 2025-02-21 20:08 (UTC)
/usr/lib/udev/rules.d/ already in 'openrgb-git' and 'wluma' wluma: /usr/lib/systemd/user already in filesystem wluma: /usr/lib/udev/rules.d already in filesystem
androw commented on 2025-02-21 20:05 (UTC) (edited on 2025-02-21 20:11 (UTC) by androw)
Compiling toml v0.8.20
Finished `release` profile [optimized] target(s) in 1m 28s
warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
node: error while loading shared libraries: libicui18n.so.76: cannot open shared object file: No such file or directory
libicui18n.so.76 is needed
torculus commented on 2025-02-21 16:19 (UTC)
Upstream removed the Makefile as of version 4.7.0, but I think I've managed to replicate everything in the PKGBUILD. Please test and report any issues back here so I can make updates. Thanks!
cypa commented on 2024-12-19 09:46 (UTC) (edited on 2024-12-19 09:50 (UTC) by cypa)
update: solved by adding "keyring /etc/pacman.d/gnupg/pubring.gpg" to the end of ~/.gnupg/gpg.conf
==> Verifying source file signatures with gpg...
wluma-4.5.1.tar.gz ... FAILED (unknown public key 4A2B758631E1FD91)
Pinned Comments
maxbaz commented on 2022-01-04 11:23 (UTC)
To install the package first import my PGP key:
Alternatively add
keyserver-options auto-key-retrieveto your~/.gnupg/gpg.conf