summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/cups-filters-libre/PKGBUILD12
-rw-r--r--libre/cups-filters-libre/cups-browsed.service8
2 files changed, 10 insertions, 10 deletions
diff --git a/libre/cups-filters-libre/PKGBUILD b/libre/cups-filters-libre/PKGBUILD
index 1b85e107b..0d257856f 100644
--- a/libre/cups-filters-libre/PKGBUILD
+++ b/libre/cups-filters-libre/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 173950 2012-12-29 15:58:32Z andyrtr $
+# $Id: PKGBUILD 174272 2013-01-03 16:15:01Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=cups-filters-libre
_pkgname=cups-filters
-pkgver=1.0.28
+pkgver=1.0.29
pkgrel=1
pkgdesc="OpenPrinting CUPS Filters"
arch=('i686' 'x86_64')
@@ -17,8 +17,8 @@ optdepends=('ghostscript: for non-PostScript printers to print with CUPS to conv
backup=(etc/fonts/conf.d/99pdftoopvp.conf)
options=(!libtool)
source=(http://www.openprinting.org/download/cups-filters/$_pkgname-$pkgver.tar.gz cups-browsed.service)
-md5sums=('20e9aeb5080ef4c997edc5e5106184b8'
- '2beb8d9cebf20ddcc6c7598aab4812a6')
+md5sums=('0640a02a3fb88d3dbdb224e3becd400d'
+ '4c9f97eae201798000483c4e7109e690')
replaces=("${_pkgname}")
conflicts=("${_pkgname}")
provides=("${_pkgname}=${pkgver}")
@@ -27,6 +27,7 @@ build() {
cd "$srcdir/$_pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
+ --with-rcdir=no \
--enable-avahi \
--with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf
make
@@ -34,7 +35,7 @@ build() {
check() {
cd "$srcdir/$_pkgname-$pkgver"
- make -k check
+ make -j1 -k check
}
package() {
@@ -44,6 +45,5 @@ package() {
rm -f ${pkgdir}/usr/lib/*.a
# add missing systemd support
- rm -rf ${pkgdir}/etc/rc.d
install -Dm644 ${srcdir}/cups-browsed.service ${pkgdir}/usr/lib/systemd/system/cups-browsed.service
}
diff --git a/libre/cups-filters-libre/cups-browsed.service b/libre/cups-filters-libre/cups-browsed.service
index d434d82f0..144956c7f 100644
--- a/libre/cups-filters-libre/cups-browsed.service
+++ b/libre/cups-filters-libre/cups-browsed.service
@@ -1,10 +1,10 @@
[Unit]
-Description=a daemon to browse the Bonjour broadcasts
+Description=Make remote CUPS printers available locally
+After=cups.service avahi-daemon.service
+Wants=cups.service avahi-daemon.service
[Service]
ExecStart=/usr/sbin/cups-browsed
-PrivateTmp=yes
[Install]
-Also=cups.service avahi-daemon.service
-WantedBy=printer.target
+WantedBy=multi-user.target