Package Details: light 1.2.2-5

Git Clone URL: https://aur.archlinux.org/light.git (read-only, click to copy)
Package Base: light
Description: A program to control backlights (and other hardware lights)
Upstream URL: https://gitlab.com/dpeukert/light
Keywords: backlight backlights brightness cli control light lights program
Licenses: GPL-3.0-only
Submitter: maximbaz
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 12
Popularity: 2.59
First Submitted: 2024-01-04 20:04 (UTC)
Last Updated: 2024-02-29 13:33 (UTC)

Pinned Comments

dpeukert commented on 2024-01-22 22:51 (UTC)

The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/light

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Tblue commented on 2024-02-23 15:10 (UTC) (edited on 2024-02-23 15:11 (UTC) by Tblue)

I'm guessing the issue is that the contents of the files changed with the move to the new repo (i.e. not the actual code, but the other metadata in the files).

Deleting the files locally should fix it. From the PKGBUILD side, one could include the version number in the file names, although the checksum issue is probably a one-time problem.

guzzisti commented on 2024-02-23 12:07 (UTC)

Same issue for me: the integrity check for light-1.2.2.tar.gz fails.

Zatharalex commented on 2024-02-23 07:48 (UTC) (edited on 2024-02-23 07:49 (UTC) by Zatharalex)

@dpeukert, @peter.kehl: I found out, that automatically downloaded tar.gz in temp folder, package is not the same as downloaded manually from url directly from PKGBUILD. If I replace automatically downloaded tar.gz package with manually downloaded, validity pass and installed without problems. Firstly tried to clear cache and temp folder, but the same result. Only manually replace helped.

dpeukert commented on 2024-02-22 23:49 (UTC)

@peter.kehl: That's weird, the checks go through fine on both of my machines and if I download the archive manually, the checksum also matches. Do you get a different SHA512 checksum when you do that on your side?

peter.kehl commented on 2024-02-21 23:02 (UTC) (edited on 2024-02-21 23:03 (UTC) by peter.kehl)

Validating sha512 of light-1.2.2.tar.gz FAILED.

On current Manjaro, updating with Pamac. The previous version did build & install well.

Building light... ==> Making package: light 1.2.2-5 (Wed 21 Feb 2024 01:07:29 PM) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found light-1.2.2.tar.gz -> Found fix-global-var.diff -> Found namespace-udev-rule.diff -> Found update-manpage.diff ==> Validating source files with sha512sums... light-1.2.2.tar.gz ... FAILED fix-global-var.diff ... Passed namespace-udev-rule.diff ... Passed update-manpage.diff ... Passed ==> ERROR: One or more files did not pass the validity check! Failed to build light.

Tblue commented on 2024-02-21 22:11 (UTC) (edited on 2024-02-21 22:15 (UTC) by Tblue)

Nuking the entire upstream repo just because it's unmaintained seems somewhat excessive and counterproductive: Now we can't verify that forks of the software truthfully reflect the original source code.

Anyway, thank you, haikarainen, for writing this very useful utility, and thank you, dpeukert, for maintaining this PKGBUILD.

Update: I verified that commit 2a54078cbe3814105ee4f565f451b1b5947fbde0 of https://gitlab.com/dpeukert/light matches https://deb.debian.org/debian/pool/main/l/light/light_1.2.2.orig.tar.gz from Debian.

haikarainen commented on 2024-02-21 13:44 (UTC)

I nuked the upstream repo for this one the other day. There is no longer an official source for this package, nor backups. If you wish to keep this maintained, I recommend finding your most recent clone and effectively forking that.

Good luck, you god damned software communists. ✌️

dpeukert commented on 2024-02-03 18:30 (UTC)

@breal: patch is part of base-devel, which is assumed to be installed when installing packages from the AUR: https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites

breal commented on 2024-02-02 21:47 (UTC) (edited on 2024-02-02 21:48 (UTC) by breal)

light/PKGBUILD: line 29: patch: command not found ==> ERROR: A failure occurred in prepare(). Aborting...