Package Details: wl-gammarelay-rs 0.3.2-2

Git Clone URL: https://aur.archlinux.org/wl-gammarelay-rs.git (read-only, click to copy)
Package Base: wl-gammarelay-rs
Description: Like wl-gammarelay, but written in rust, runs on a single thread, has three times less SLOC and uses DBus (for simplicity)
Upstream URL: https://github.com/MaxVerevkin/wl-gammarelay-rs
Licenses: GPL3
Submitter: bim9262
Maintainer: bim9262
Last Packager: bim9262
Votes: 7
Popularity: 1.24
First Submitted: 2022-07-04 20:17 (UTC)
Last Updated: 2023-12-14 19:05 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

TrialnError commented on 2023-12-12 22:32 (UTC)

This may be able to compile for any architecture, but it isn't an any package. any is only for packages where the package built on platform x can be used on platform y without any modifications. Like ruby and python packages.
So please change arch from any to (at least) x86_64.

imyavetra commented on 2023-09-11 02:19 (UTC)

Thanks for the AUR package. I made the following changes to my local copy to build the latest (0.3.1):

-pkgver=0.3.0
+pkgver=0.3.1
...
-sha256sums=('f4f48afd26fc0b0e8ec4aa69e7f39f7a8d596eff6c22aaeca84e1cb202f18f80')
-sha512sums=('09344b2ef69f8514477a87f26d776280d48675845557936ab8d237b73b7b8425fc2e5a017622a198462279b8dc9efe4016a5767c39dbd8804d9a8e6f19cbc4a4')
-b2sums=('4333c037574ad3f678a1d381a2926d9e0cfc00906eee0defe615551dfc4df93b650af7c43a8faaca0a24781ec2a452d7ef4ef6a11274758c4bd70eae56144b28')
+sha256sums=('2429c7841c8c5d85dcbd53441cc077acc63b1ae551440a61267f9197ed46e32e')

 build() {
   cd "$pkgname-$pkgver"

-  cargo build --release --locked
+  cargo build --release
 }
...

Also made a quick DBUS service in ~/.local/share/systemd/user/wl-gammarelay.service:

[Unit]
Description=DBus interface to control display temperature and brightness under wayland
PartOf=graphical-session.target
After=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY

[Service]
Type=dbus
BusName=rs.wl-gammarelay
ExecStart=/usr/bin/wl-gammarelay-rs

[Install]
WantedBy=graphical-session.target