mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-01-23 17:33:32 +08:00
system-config-printer: update to 1.5.9
This commit is contained in:
parent
a9f8f92ba6
commit
80326a6a3e
@ -1,5 +1,5 @@
|
|||||||
pkgname=system-config-printer
|
pkgname=system-config-printer
|
||||||
pkgver=1.5.8
|
pkgver=1.5.9
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A CUPS printer configuration tool and status applet"
|
pkgdesc="A CUPS printer configuration tool and status applet"
|
||||||
url="http://cyberelk.net/tim/software/system-config-printer/"
|
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'
|
depends=('python3-pycups' 'python3-dbus' 'python3-pycurl' 'python3-requests' 'python3-gobject' 'gtk3'
|
||||||
'python3-cairo' 'libnotify')
|
'python3-cairo' 'libnotify')
|
||||||
makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils')
|
makedepends=('intltool' 'xmlto' 'docbook-xsl' 'desktop-file-utils')
|
||||||
optdepends=('libgnome-keyring: password management'
|
optdepends=('python3-pysmbc: SMB browser support')
|
||||||
'pysmbc: SMB browser support')
|
source=(https://github.com/zdohnal/${pkgname}/archive/v${pkgver}.tar.gz
|
||||||
source=(https://github.com/zdohnal/${pkgname}/archive/${pkgver}.tar.gz)
|
pass_libgnome_keyring_missing.diff)
|
||||||
md5sums=('69b4f36478abcc0c745bdc23abb03246')
|
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() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
./bootstrap
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sbindir=/usr/bin \
|
--sbindir=/usr/bin \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
11
system-config-printer/pass_libgnome_keyring_missing.diff
Normal file
11
system-config-printer/pass_libgnome_keyring_missing.diff
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- 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)
|
Loading…
Reference in New Issue
Block a user