Package Details: light-git 1.2.2.r2.g33f2316-1

Git Clone URL: (read-only, click to copy)
Package Base: light-git
Description: Program to easily change brightness on backlight-controllers.
Upstream URL:
Licenses: GPL3
Conflicts: light
Provides: light
Submitter: nickelpro
Maintainer: MarcinWieczorek (haikarainen)
Last Packager: MarcinWieczorek
Votes: 34
Popularity: 0.007564
First Submitted: 2015-08-10 22:13 (UTC)
Last Updated: 2020-06-22 17:29 (UTC)

Required by (9)

Sources (1)

Latest Comments

shizcow commented on 2020-06-22 13:46 (UTC)

@MarcinWieczorek to be fair it was a cheap and easy fix.

I submitted a pull request a while back which has just been merged upstream. The project should build fine now.

MarcinWieczorek commented on 2020-06-02 06:03 (UTC)

@shizcow checksums exist for a reason. Also, you could submit the patch upstream.

shizcow commented on 2020-06-02 02:26 (UTC) (edited on 2020-06-02 04:09 (UTC) by shizcow)

I also got it to build with "-fcommon". For an easy fix:

Add to sources:

Add an extra 'SKIP' to sha256sums

After cd "$srcdir/light" in build(), add: git apply --stat ../light-build.patch

henrik_er commented on 2020-05-26 11:37 (UTC)

I managed to build it today 26.05.20 using the "-fcommon" cflag. At least it's a workaround until the package is fixed.

MarcinWieczorek commented on 2020-05-19 05:25 (UTC)

@pamrg upstream issue:

pamrg commented on 2020-05-19 02:09 (UTC)

It fails building with gcc v10 ("multiple definition of light_loglevel" etc). The light package from pacman works.

haikarainen commented on 2018-09-29 08:59 (UTC)

Would love to take ownership of this package so that I can make sure that it is kept updated and working. /Author

yan12125 commented on 2018-09-17 07:25 (UTC)

Could you add --with-udev to avoid setuid binaries? That's how the upstream PKGBUILD does -

philo commented on 2018-08-19 07:40 (UTC) (edited on 2018-08-19 17:57 (UTC) by philo)

Is the maintainer AWOL? The 'light-git' package does not build, but 'light' does.

khau commented on 2018-08-16 01:05 (UTC)

I attempted @shanewstone 's patch in yay with --editmenu and found it unsuccessful. However, using an alternate AUR manager was successful - just in case anyone else was running into that too.

02m commented on 2018-08-13 16:11 (UTC)

Thanks @shanewstone, it worked for me as well!

shanewstone commented on 2018-08-13 07:14 (UTC) (edited on 2018-08-13 07:15 (UTC) by shanewstone)

In the build section, running ./configure without --prefix=/usr leads to the files being placed in /usr/local/ instead of /usr/. Here is a partial diff showing what worked for me:

 pkgdesc='Program to easily change brightness on backlight-controllers.'
 arch=('i686' 'x86_64')
-makedepends=('git' 'help2man')
@@ -22,7 +22,7 @@ pkgver() {
   cd "$srcdir/light"
-  ./configure
+  ./configure --prefix=/usr

02m commented on 2018-08-10 10:58 (UTC)

Upgrade (1.0.r7.g5b302a0-1 -> 1.1.2.r22.g5d5e3c3-1) fails with errors:

error: failed to commit transaction (conflicting files) light-git: /usr/local/share/man exists in filesystem (owned by filesystem) Errors occurred, no packages were upgraded.

I am upgrading with yay.

benutzer193 commented on 2018-08-08 20:47 (UTC) (edited on 2018-08-08 20:48 (UTC) by benutzer193)


help2man can be removed from makedepends, see:

With the current PKGBUILD make install command, the files are installed to /usr/local, you should add PREFIX=/usr:

make DESTDIR="$pkgdir" PREFIX=/usr install

asantam commented on 2018-08-07 23:32 (UTC)


The build fails with message: (make: *** No targets specified and no makefile found.)

Current source from git requires and configure scripts to run before being able to "make".

qwertea commented on 2018-03-02 21:50 (UTC)

Great little tool.

MarcinWieczorek commented on 2016-10-16 21:08 (UTC)

I reported it on their github

MarcinWieczorek commented on 2016-10-15 20:03 (UTC)

You might be right. This must be solved in upstream.

nilesrogoff commented on 2016-10-15 20:02 (UTC)

It appears to compile twice:

commented on 2016-04-18 07:27 (UTC)

light is a binary executable, this should not be an arch=('any') package. Please set at least arch=('x86_64'), and add any other architectures this is known to work on.

nickelpro commented on 2016-03-04 18:50 (UTC)

Added help2man to the makedepends

siddharthist commented on 2016-03-01 21:42 (UTC)

Seconded on build dependency help2man

bugabinga commented on 2016-03-01 17:57 (UTC)

Missing build dependency "help2man".