Commit 80326a6a authored by Jeff Huang's avatar Jeff Huang 🤔

system-config-printer: update to 1.5.9

parent a9f8f92b
pkgname=system-config-printer
pkgver=1.5.8
pkgver=1.5.9
pkgrel=1
pkgdesc="A CUPS printer configuration tool and status applet"
url="http://cyberelk.net/tim/software/system-config-printer/"
......@@ -8,15 +8,26 @@ license=('GPL')
depends=('python3-pycups' 'python3-dbus' 'python3-pycurl' 'python3-requests' 'python3-gobject' 'gtk3'
'python3-cairo' 'libnotify')
makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils')
optdepends=('libgnome-keyring: password management'
'pysmbc: SMB browser support')
source=(https://github.com/zdohnal/${pkgname}/archive/${pkgver}.tar.gz)
md5sums=('69b4f36478abcc0c745bdc23abb03246')
optdepends=('python3-pysmbc: SMB browser support')
source=(https://github.com/zdohnal/${pkgname}/archive/v${pkgver}.tar.gz
pass_libgnome_keyring_missing.diff)
md5sums=('cdadf9343398f3dc8fa4d4f83ac5d8b8'
'1c219bf9e55e39b125daaa9f5eed5b84')
prepare() {
cd ${pkgname}-${pkgver}
# make it actually work without libgnome-keyring
# https://bugs.archlinux.org/task/52607, https://github.com/zdohnal/system-config-printer/issues/51
patch -Np1 -i ../pass_libgnome_keyring_missing.diff
touch README ChangeLog
autoreconf -fi
}
build() {
cd $pkgname-$pkgver
./bootstrap
./configure --prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
......
--- system-config-printer-1.5.9/jobviewer.py 2017-01-09 12:38:09.000000000 +0100
+++ system-config-printer-1.5.9/jobviewer.py.new 2017-01-27 08:14:00.163315284 +0100
@@ -59,6 +59,8 @@
USE_KEYRING=True
except ImportError:
USE_KEYRING=False
+except ValueError:
+ USE_KEYRING=False
import gettext
gettext.install(domain=config.PACKAGE, localedir=config.localedir)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment