Package Details: wluma 4.10.0-1

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)

Required by (0)

Sources (2)

Pinned Comments

maxbaz commented on 2022-01-04 11:23 (UTC)

To install the package first import my PGP key:

gpg --recv-keys 56C3E775E72B0C8B1C0C1BD0B5DB77409B11B601

Alternatively add keyserver-options auto-key-retrieve to your ~/.gnupg/gpg.conf

Latest Comments

1 2 Next › Last »

torculus commented on 2026-01-16 21:30 (UTC)

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

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)