[arch-commits] Commit in cups-filters/trunk (PKGBUILD cups-browsed.service)
andyrtr at archlinux.org
andyrtr at archlinux.org
Fri Dec 28 07:18:33 UTC 2012
Date: Friday, December 28, 2012 @ 02:18:32
Author: andyrtr
Revision: 173927
upgpkg: cups-filters 1.0.26-1
upstream update 1.0.26; add a systemd service file for new cups-browserd
Added:
cups-filters/trunk/cups-browsed.service
Modified:
cups-filters/trunk/PKGBUILD
----------------------+
PKGBUILD | 12 +++++++++---
cups-browsed.service | 10 ++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-12-28 05:57:13 UTC (rev 173926)
+++ PKGBUILD 2012-12-28 07:18:32 UTC (rev 173927)
@@ -2,7 +2,7 @@
# Maintainer: Andreas Radke <andyrtr at archlinux.org>
pkgname=cups-filters
-pkgver=1.0.25
+pkgver=1.0.26
pkgrel=1
pkgdesc="OpenPrinting CUPS Filters"
arch=('i686' 'x86_64')
@@ -16,13 +16,15 @@
'foomatic-db-nonfree: drivers use Ghostscript to convert PostScript to a printable form directly')
backup=(etc/fonts/conf.d/99pdftoopvp.conf)
options=(!libtool)
-source=(http://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.gz)
-md5sums=('9690028c5e312b086e7572ae1899a33c')
+source=(http://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.gz cups-browsed.service)
+md5sums=('38502cb880e1f9be0618e3b2da4c7fec'
+ '2beb8d9cebf20ddcc6c7598aab4812a6')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
+ --enable-avahi \
--with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf
make
}
@@ -37,4 +39,8 @@
make DESTDIR="$pkgdir/" install
# drop static lib
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
}
Added: cups-browsed.service
===================================================================
--- cups-browsed.service (rev 0)
+++ cups-browsed.service 2012-12-28 07:18:32 UTC (rev 173927)
@@ -0,0 +1,10 @@
+[Unit]
+Description=a daemon to browse the Bonjour broadcasts
+
+[Service]
+ExecStart=/usr/sbin/cups-browsed
+PrivateTmp=yes
+
+[Install]
+Also=cups.service avahi-daemon.service
+WantedBy=printer.target
More information about the arch-commits
mailing list