[arch-commits] Commit in light/repos/community-x86_64 (8 files)

Maxim Baz maximbaz at gemini.archlinux.org
Thu Feb 24 21:44:14 UTC 2022


    Date: Thursday, February 24, 2022 @ 21:44:14
  Author: maximbaz
Revision: 1136512

archrelease: copy trunk to community-x86_64

Added:
  light/repos/community-x86_64/114.patch
    (from rev 1136511, light/trunk/114.patch)
  light/repos/community-x86_64/122.patch
    (from rev 1136511, light/trunk/122.patch)
  light/repos/community-x86_64/PKGBUILD
    (from rev 1136511, light/trunk/PKGBUILD)
  light/repos/community-x86_64/light.install
    (from rev 1136511, light/trunk/light.install)
Deleted:
  light/repos/community-x86_64/114.patch
  light/repos/community-x86_64/122.patch
  light/repos/community-x86_64/PKGBUILD
  light/repos/community-x86_64/light.install

---------------+
 114.patch     |   22 ++++++------
 122.patch     |   96 ++++++++++++++++++++++++++++----------------------------
 PKGBUILD      |   78 ++++++++++++++++++++++-----------------------
 light.install |   18 +++++-----
 4 files changed, 107 insertions(+), 107 deletions(-)

Deleted: 114.patch
===================================================================
--- 114.patch	2022-02-24 21:44:10 UTC (rev 1136511)
+++ 114.patch	2022-02-24 21:44:14 UTC (rev 1136512)
@@ -1,11 +0,0 @@
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -1,7 +1,7 @@
- bin_PROGRAMS   = light
- light_SOURCES  = main.c light.c light.h helpers.c helpers.h impl/sysfs.c impl/sysfs.h impl/util.h impl/util.c impl/razer.h impl/razer.c
- light_CPPFLAGS = -I../include -D_GNU_SOURCE
--light_CFLAGS   = -W -Wall -Wextra -std=gnu99 -Wno-type-limits -Wno-format-truncation -Wno-unused-parameter
-+light_CFLAGS   = -W -Wall -Wextra -std=gnu99 -Wno-type-limits -Wno-format-truncation -Wno-unused-parameter -fcommon
-
- if CLASSIC
- install-exec-hook:

Copied: light/repos/community-x86_64/114.patch (from rev 1136511, light/trunk/114.patch)
===================================================================
--- 114.patch	                        (rev 0)
+++ 114.patch	2022-02-24 21:44:14 UTC (rev 1136512)
@@ -0,0 +1,11 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,7 +1,7 @@
+ bin_PROGRAMS   = light
+ light_SOURCES  = main.c light.c light.h helpers.c helpers.h impl/sysfs.c impl/sysfs.h impl/util.h impl/util.c impl/razer.h impl/razer.c
+ light_CPPFLAGS = -I../include -D_GNU_SOURCE
+-light_CFLAGS   = -W -Wall -Wextra -std=gnu99 -Wno-type-limits -Wno-format-truncation -Wno-unused-parameter
++light_CFLAGS   = -W -Wall -Wextra -std=gnu99 -Wno-type-limits -Wno-format-truncation -Wno-unused-parameter -fcommon
+
+ if CLASSIC
+ install-exec-hook:

Deleted: 122.patch
===================================================================
--- 122.patch	2022-02-24 21:44:10 UTC (rev 1136511)
+++ 122.patch	2022-02-24 21:44:14 UTC (rev 1136512)
@@ -1,48 +0,0 @@
-diff --git a/90-backlight.rules b/90-light-backlight.rules
-similarity index 100%
-rename from 90-backlight.rules
-rename to 90-light-backlight.rules
-diff --git a/Makefile.am b/Makefile.am
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -4,8 +4,8 @@ doc_DATA       = README.md COPYING ChangeLog.md
- EXTRA_DIST     = README.md COPYING ChangeLog.md
-
- if UDEV
--udev_DATA      = 90-backlight.rules
--EXTRA_DIST    += $(top_srcdir)/90-backlight.rules
-+udev_DATA      = 90-light-backlight.rules
-+EXTRA_DIST    += $(top_srcdir)/90-light-backlight.rules
- endif
-
- # lintian --profile debian -i -I --show-overrides ../$PKG.changes
---- a/README.md
-+++ b/README.md
-@@ -167,7 +167,7 @@ Optionally, instead of the classic SUID root mode of operation, udev rules can b
-     ./configure --with-udev && make
-     sudo make install
-
--This installs the `90-backlight.rules` into `/usr/lib/udev/rules.d/`.
-+This installs the `90-light-backlight.rules` into `/usr/lib/udev/rules.d/`.
- If your udev rules are located elsewhere, use `--with-udev=PATH`.
-
- **Note:** make sure that your user is part of the `video` group, otherwise you will not get access to the devices.
---- a/debian/light.postinst
-+++ b/debian/light.postinst
-@@ -9,4 +9,4 @@ udevadm trigger --subsystem-match=backlight --subsystem-match=leds --action=chan
-
- # Reset udev rule action back to 'add', it was set to 'change' during
- # dh_auto_configure to make sure they are effective right away.
--sed -i 's/^ACTION=="change"/ACTION=="add"/g' /usr/lib/udev/rules.d/90-backlight.rules
-+sed -i 's/^ACTION=="change"/ACTION=="add"/g' /usr/lib/udev/rules.d/90-light-backlight.rules
---- a/debian/rules
-+++ b/debian/rules
-@@ -9,7 +9,7 @@ override_dh_auto_configure:
- 	dh_auto_configure -- --with-udev
- 	# Change action type of udev rules to make it effective after
- 	# installation, they are reset back with the poinst script.
--	sed -i 's/^ACTION=="add"/ACTION=="change"/g' 90-backlight.rules
-+	sed -i 's/^ACTION=="add"/ACTION=="change"/g' 90-light-backlight.rules
-
- override_dh_installchangelogs:
- 	dh_installchangelogs ChangeLog.md

Copied: light/repos/community-x86_64/122.patch (from rev 1136511, light/trunk/122.patch)
===================================================================
--- 122.patch	                        (rev 0)
+++ 122.patch	2022-02-24 21:44:14 UTC (rev 1136512)
@@ -0,0 +1,48 @@
+diff --git a/90-backlight.rules b/90-light-backlight.rules
+similarity index 100%
+rename from 90-backlight.rules
+rename to 90-light-backlight.rules
+diff --git a/Makefile.am b/Makefile.am
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -4,8 +4,8 @@ doc_DATA       = README.md COPYING ChangeLog.md
+ EXTRA_DIST     = README.md COPYING ChangeLog.md
+
+ if UDEV
+-udev_DATA      = 90-backlight.rules
+-EXTRA_DIST    += $(top_srcdir)/90-backlight.rules
++udev_DATA      = 90-light-backlight.rules
++EXTRA_DIST    += $(top_srcdir)/90-light-backlight.rules
+ endif
+
+ # lintian --profile debian -i -I --show-overrides ../$PKG.changes
+--- a/README.md
++++ b/README.md
+@@ -167,7 +167,7 @@ Optionally, instead of the classic SUID root mode of operation, udev rules can b
+     ./configure --with-udev && make
+     sudo make install
+
+-This installs the `90-backlight.rules` into `/usr/lib/udev/rules.d/`.
++This installs the `90-light-backlight.rules` into `/usr/lib/udev/rules.d/`.
+ If your udev rules are located elsewhere, use `--with-udev=PATH`.
+
+ **Note:** make sure that your user is part of the `video` group, otherwise you will not get access to the devices.
+--- a/debian/light.postinst
++++ b/debian/light.postinst
+@@ -9,4 +9,4 @@ udevadm trigger --subsystem-match=backlight --subsystem-match=leds --action=chan
+
+ # Reset udev rule action back to 'add', it was set to 'change' during
+ # dh_auto_configure to make sure they are effective right away.
+-sed -i 's/^ACTION=="change"/ACTION=="add"/g' /usr/lib/udev/rules.d/90-backlight.rules
++sed -i 's/^ACTION=="change"/ACTION=="add"/g' /usr/lib/udev/rules.d/90-light-backlight.rules
+--- a/debian/rules
++++ b/debian/rules
+@@ -9,7 +9,7 @@ override_dh_auto_configure:
+ 	dh_auto_configure -- --with-udev
+ 	# Change action type of udev rules to make it effective after
+ 	# installation, they are reset back with the poinst script.
+-	sed -i 's/^ACTION=="add"/ACTION=="change"/g' 90-backlight.rules
++	sed -i 's/^ACTION=="add"/ACTION=="change"/g' 90-light-backlight.rules
+
+ override_dh_installchangelogs:
+ 	dh_installchangelogs ChangeLog.md

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-24 21:44:10 UTC (rev 1136511)
+++ PKGBUILD	2022-02-24 21:44:14 UTC (rev 1136512)
@@ -1,39 +0,0 @@
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Contributor: Fredrik Haikarainen <fredrik.haikarainen at gmail.com>
-# Contributor: Marcin (CTRL) Wieczorek <marcin at marcin.co>
-
-pkgname=light
-pkgver=1.2.2
-pkgrel=2
-pkgdesc='Program to easily change brightness on backlight-controllers.'
-arch=('x86_64')
-url='https://github.com/haikarainen/light'
-license=('GPL3')
-depends=('glibc')
-install="${pkgname}.install"
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/haikarainen/light/archive/v${pkgver}.tar.gz"
-        "114.patch"
-        "122.patch")
-sha256sums=('62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c'
-            'e0bee2249f59f66cb02ef98dc18e36172d141eb8b9f1bb1c2c8de8323c9ad73e'
-            '7dd149ef9ce9647f70a8047c0690e4ff121670ba58cf5aaac2fd8cd29e03d03f')
-
-prepare() {
-    cd "${pkgname}-${pkgver}"
-    patch -Np1 -i "${srcdir}/114.patch"
-    patch -Np1 -i "${srcdir}/122.patch"
-}
-
-build() {
-    cd "${pkgname}-${pkgver}"
-    ./autogen.sh
-    ./configure --prefix=/usr --with-udev
-    make
-}
-
-package() {
-    cd "${pkgname}-${pkgver}"
-    make DESTDIR="${pkgdir}" PREFIX=/usr install
-}
-
-# vim:set ts=4 sw=4 et:

Copied: light/repos/community-x86_64/PKGBUILD (from rev 1136511, light/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-24 21:44:14 UTC (rev 1136512)
@@ -0,0 +1,39 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Fredrik Haikarainen <fredrik.haikarainen at gmail.com>
+# Contributor: Marcin (CTRL) Wieczorek <marcin at marcin.co>
+
+pkgname=light
+pkgver=1.2.2
+pkgrel=3
+pkgdesc='Program to easily change brightness on backlight-controllers.'
+arch=('x86_64')
+url='https://github.com/haikarainen/light'
+license=('GPL3')
+depends=('glibc')
+install="${pkgname}.install"
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/haikarainen/light/archive/v${pkgver}.tar.gz"
+        "114.patch"
+        "122.patch")
+sha256sums=('62e889ee9be80fe808a972ef4981acc39e83a20f9a84a66a82cd1f623c868d9c'
+            'e0bee2249f59f66cb02ef98dc18e36172d141eb8b9f1bb1c2c8de8323c9ad73e'
+            '7dd149ef9ce9647f70a8047c0690e4ff121670ba58cf5aaac2fd8cd29e03d03f')
+
+prepare() {
+    cd "${pkgname}-${pkgver}"
+    patch -Np1 -i "${srcdir}/114.patch"
+    patch -Np1 -i "${srcdir}/122.patch"
+}
+
+build() {
+    cd "${pkgname}-${pkgver}"
+    ./autogen.sh
+    ./configure --prefix=/usr --with-udev
+    make
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" PREFIX=/usr install
+}
+
+# vim:set ts=4 sw=4 et:

Deleted: light.install
===================================================================
--- light.install	2022-02-24 21:44:10 UTC (rev 1136511)
+++ light.install	2022-02-24 21:44:14 UTC (rev 1136512)
@@ -1,9 +0,0 @@
-post_install() {
-    printf '====> %s\n' 'Make sure to add your user to the video group.'
-}
-
-post_upgrade() {
-    if (( $(vercmp $2 '1.2-3') < 0 )); then
-        printf '====> %s\n' 'Make sure to add your user to the video group.'
-    fi
-}

Copied: light/repos/community-x86_64/light.install (from rev 1136511, light/trunk/light.install)
===================================================================
--- light.install	                        (rev 0)
+++ light.install	2022-02-24 21:44:14 UTC (rev 1136512)
@@ -0,0 +1,9 @@
+post_install() {
+    printf '====> %s\n' 'Make sure to add your user to the video group.'
+}
+
+post_upgrade() {
+    if (( $(vercmp $2 '1.2-3') < 0 )); then
+        printf '====> %s\n' 'Make sure to add your user to the video group.'
+    fi
+}



More information about the arch-commits mailing list