[arch-commits] Commit in system-config-printer/repos/extra-x86_64 (3 files)

Andreas Radke andyrtr at archlinux.org
Wed Jan 6 10:43:36 UTC 2021


    Date: Wednesday, January 6, 2021 @ 10:43:36
  Author: andyrtr
Revision: 405395

archrelease: copy trunk to extra-x86_64

Added:
  system-config-printer/repos/extra-x86_64/PKGBUILD
    (from rev 405394, system-config-printer/trunk/PKGBUILD)
  system-config-printer/repos/extra-x86_64/autoconf-2-70.diff
    (from rev 405394, system-config-printer/trunk/autoconf-2-70.diff)
Deleted:
  system-config-printer/repos/extra-x86_64/PKGBUILD

--------------------+
 PKGBUILD           |  108 +++++++++++++++++++++++++++------------------------
 autoconf-2-70.diff |   10 ++++
 2 files changed, 68 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-06 10:43:23 UTC (rev 405394)
+++ PKGBUILD	2021-01-06 10:43:36 UTC (rev 405395)
@@ -1,50 +0,0 @@
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=system-config-printer
-pkgver=1.5.13
-pkgrel=4
-pkgdesc="A CUPS printer configuration tool and status applet"
-url="https://github.com/OpenPrinting/system-config-printer"
-arch=('x86_64')
-license=('GPL')
-depends=('python-pycups' 'python-dbus' 'python-pycurl' 'libnotify'
-         'python-requests' 'python-gobject' 'gtk3' 'python-cairo')
-makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils' 'libsecret')
-optdepends=('libsecret: password management'
-            'python-pysmbc: SMB browser support'
-            'cups-pk-helper: PolicyKit helper to configure cups with fine-grained privileges')
-source=(https://github.com/OpenPrinting/system-config-printer/releases/download/v${pkgver}/system-config-printer-${pkgver}.tar.xz)
-sha256sums=('eea3f06448aa5bb5fa0decdf9b912aefd21e3bd6615fc3e77b349ca443dcb8a1')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  # create missing dummy files
-  #touch ./{README,ChangeLog}
-  touch README
-  autoreconf -vfi
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --with-udevdir=/usr/lib/udev --with-udev-rules
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="$pkgdir" install
-
-  # Compile *.pyc
-  find "$pkgdir" -name '*.py' -exec python -mpy_compile {} +
-  # Compile *.pyo
-  find "$pkgdir" -name '*.py' -exec python -O -mpy_compile {} +
-  
-  # fix dbus policy location - --with-dbusdir doens't work
-  install -dm755 "$pkgdir"/usr/share/dbus-1/system.d
-  mv "$pkgdir"/etc/dbus-1/system.d/* "$pkgdir"/usr/share/dbus-1/system.d
-  rm -rf "$pkgdir"/etc/dbus-1
-}

Copied: system-config-printer/repos/extra-x86_64/PKGBUILD (from rev 405394, system-config-printer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-06 10:43:36 UTC (rev 405395)
@@ -0,0 +1,58 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=system-config-printer
+pkgver=1.5.14
+pkgrel=1
+pkgdesc="A CUPS printer configuration tool and status applet"
+url="https://github.com/OpenPrinting/system-config-printer"
+arch=('x86_64')
+license=('GPL')
+depends=('python-pycups' 'python-dbus' 'python-pycurl' 'libnotify'
+         'python-requests' 'python-gobject' 'gtk3' 'python-cairo')
+makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils' 'libsecret')
+optdepends=('libsecret: password management'
+            'python-pysmbc: SMB browser support'
+            'cups-pk-helper: PolicyKit helper to configure cups with fine-grained privileges')
+source=(https://github.com/OpenPrinting/system-config-printer/releases/download/v${pkgver}/system-config-printer-${pkgver}.tar.xz{,.asc}
+        autoconf-2-70.diff
+)
+sha256sums=('0e7b8cea3762e3eaf0167a955e6667db077f4717a42230a64e07d04988a4e9d0'
+            'SKIP'
+            'e43c45255f19017b0ab925839861dd48692054985e829650c99cdc86ea61f1a5')
+validpgpkeys=('7ADB58203CA5F046F28025B215AA6A7F4D4227D7') # "Zdenek Dohnal (Associate Software Engineer) <zdohnal at redhat.com>"
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  # fix build with autoconf 2.70
+  # https://github.com/OpenPrinting/system-config-printer/issues/201
+  patch -Np1 -i ../autoconf-2-70.diff
+
+  # create missing dummy files
+  touch README
+  autoreconf -vfi
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --with-udevdir=/usr/lib/udev --with-udev-rules
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="$pkgdir" install
+
+  # Compile *.pyc
+  find "$pkgdir" -name '*.py' -exec python -mpy_compile {} +
+  # Compile *.pyo
+  find "$pkgdir" -name '*.py' -exec python -O -mpy_compile {} +
+  
+  # fix dbus policy location - --with-dbusdir doens't work
+  install -dm755 "$pkgdir"/usr/share/dbus-1/system.d
+  mv "$pkgdir"/etc/dbus-1/system.d/* "$pkgdir"/usr/share/dbus-1/system.d
+  rm -rf "$pkgdir"/etc/dbus-1
+}

Copied: system-config-printer/repos/extra-x86_64/autoconf-2-70.diff (from rev 405394, system-config-printer/trunk/autoconf-2-70.diff)
===================================================================
--- autoconf-2-70.diff	                        (rev 0)
+++ autoconf-2-70.diff	2021-01-06 10:43:36 UTC (rev 405395)
@@ -0,0 +1,10 @@
+--- system-config-printer-1.5.14/configure.ac	2021-01-06 09:03:08.000000000 +0100
++++ system-config-printer-1.5.14/configure.ac.new	2021-01-06 10:38:51.997694866 +0100
+@@ -3,6 +3,7 @@
+ AM_INIT_AUTOMAKE([dist-xz dist-bzip2 subdir-objects 1.6])
+ IT_PROG_INTLTOOL
+ AM_GNU_GETTEXT([external])
++AM_GNU_GETTEXT_VERSION(0.21)
+ AM_PATH_PYTHON([3])
+ PACKAGE="AC_PACKAGE_NAME"
+ VERSION="AC_PACKAGE_VERSION"



More information about the arch-commits mailing list