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

Andreas Radke andyrtr at archlinux.org
Mon Oct 7 19:28:08 UTC 2019


    Date: Monday, October 7, 2019 @ 19:28:08
  Author: andyrtr
Revision: 364050

archrelease: copy trunk to extra-x86_64

Added:
  system-config-printer/repos/extra-x86_64/PKGBUILD
    (from rev 364049, system-config-printer/trunk/PKGBUILD)
Deleted:
  system-config-printer/repos/extra-x86_64/0001-Fix-constructing-the-auth-dialog.patch
  system-config-printer/repos/extra-x86_64/PKGBUILD

---------------------------------------------+
 0001-Fix-constructing-the-auth-dialog.patch |   32 --------
 PKGBUILD                                    |   97 ++++++++++++--------------
 2 files changed, 45 insertions(+), 84 deletions(-)

Deleted: 0001-Fix-constructing-the-auth-dialog.patch
===================================================================
--- 0001-Fix-constructing-the-auth-dialog.patch	2019-10-07 19:27:59 UTC (rev 364049)
+++ 0001-Fix-constructing-the-auth-dialog.patch	2019-10-07 19:28:08 UTC (rev 364050)
@@ -1,32 +0,0 @@
-From 2766d74a98e44693f5e966d541a6303b966c088b Mon Sep 17 00:00:00 2001
-Message-Id: <2766d74a98e44693f5e966d541a6303b966c088b.1518105780.git.jan.steffens at gmail.com>
-From: "Jan Alexander Steffens (heftig)" <jan.steffens at gmail.com>
-Date: Thu, 8 Feb 2018 17:01:01 +0100
-Subject: [PATCH] Fix constructing the auth dialog
-
-47973c80 (Remove deprecated Gtk objects) broke the auth dialog.
-
-Fixes https://bugs.archlinux.org/task/57364.
----
- authconn.py | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/authconn.py b/authconn.py
-index 2a645dcc..0f3021cb 100644
---- a/authconn.py
-+++ b/authconn.py
-@@ -78,11 +78,9 @@ class AuthDialog(Gtk.Dialog):
-             field = auth_info_required[i]
-             label = Gtk.Label (label=_(self.AUTH_FIELD.get (field, field)))
-             label.set_alignment (0, 0.5)
--            grid.attach (label, 0, 1, i, i + 1)
-             grid.attach (label, 0, i, 1, 1)
-             entry = Gtk.Entry ()
-             entry.set_visibility (field != 'password')
--            grid.attach (entry, 1, 2, i, i + 1, 0, 0)
-             grid.attach (entry, 1, i, 1, 1)
-             self.field_entry.append (entry)
- 
--- 
-2.16.1
-

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-07 19:27:59 UTC (rev 364049)
+++ PKGBUILD	2019-10-07 19:28:08 UTC (rev 364050)
@@ -1,52 +0,0 @@
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=system-config-printer
-pkgver=1.5.11
-pkgrel=4
-pkgdesc="A CUPS printer configuration tool and status applet"
-url="https://github.com/zdohnal/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/zdohnal/system-config-printer/releases/download/$pkgver/system-config-printer-${pkgver}.tar.xz
-        0001-Fix-constructing-the-auth-dialog.patch)
-sha256sums=('38ad78d117c30ddb8c6c008a91d1bc0fa2e854ec04ee2de5cdd12ab842c100d3'
-            '2fd4daa433da0659b6a86962144545015d617c39c0e42ea04d7ede5fa6f9ceff')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  patch -Np1 -i ../0001-Fix-constructing-the-auth-dialog.patch
-}
-
-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 {} +
-  
-  # new cups 2.0.0 service naming
-  sed -i "s|cups.socket|org.cups.cupsd.socket|g" ${pkgdir}/usr/lib/systemd/system/configure-printer at .service
-
-  # 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 364049, system-config-printer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-07 19:28:08 UTC (rev 364050)
@@ -0,0 +1,45 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=system-config-printer
+pkgver=1.5.12
+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/$pkgver/system-config-printer-${pkgver}.tar.xz)
+sha256sums=('6b16717dfe1f64ada6ef9398dcab07b8b7c864f006588d03002e41b743cf1e14')
+
+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 {} +
+  
+  # new cups 2.0.0 service naming
+  sed -i "s|cups.socket|org.cups.cupsd.socket|g" "$pkgdir"/usr/lib/systemd/system/configure-printer at .service
+
+  # 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
+}



More information about the arch-commits mailing list