summaryrefslogtreecommitdiff
path: root/libre/cups-filters-libre
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-01-01 15:38:30 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-01-01 15:38:30 +0100
commitb63a03da360e5a18e9044e7058ae69898db5ffb0 (patch)
tree2901728a2c53e2eb590d577db1531ee2976a2cbf /libre/cups-filters-libre
parent73346505421c2d923e13e2020dd31ddd764b8fe4 (diff)
parent26ac5932cb02318206fa6a528ed4bd82ad6af87c (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/blender/PKGBUILD community/cdfs/PKGBUILD community/cdfs/cdfs.install community/mc/PKGBUILD community/open-vm-tools-modules/PKGBUILD community/open-vm-tools-modules/modprobe.conf community/open-vm-tools-modules/open-vm-tools-modules.install community/open-vm-tools/PKGBUILD community/open-vm-tools/open-vm-tools.conf.d community/open-vm-tools/open-vm-tools.rc.d community/open-vm-tools/scripts-network-FS19541.patch community/pekwm/PKGBUILD community/r8168-lts/PKGBUILD community/simutrans/PKGBUILD community/spectrwm/PKGBUILD community/supertuxkart/PKGBUILD community/tp_smapi/PKGBUILD community/tp_smapi/tp_smapi.install community/vhba-module/PKGBUILD community/vhba-module/vhba-module.install core/gcc/PKGBUILD core/glibc/PKGBUILD extra/fcgi/PKGBUILD extra/gst-plugins-bad/PKGBUILD extra/imap/PKGBUILD extra/kdebase-runtime/PKGBUILD extra/lirc/PKGBUILD extra/lirc/lirc.install extra/llvm/PKGBUILD extra/nvidia-304xx-utils/PKGBUILD extra/ruby/PKGBUILD extra/xscreensaver/PKGBUILD
Diffstat (limited to 'libre/cups-filters-libre')
-rw-r--r--libre/cups-filters-libre/PKGBUILD14
-rw-r--r--libre/cups-filters-libre/cups-browsed.service10
2 files changed, 20 insertions, 4 deletions
diff --git a/libre/cups-filters-libre/PKGBUILD b/libre/cups-filters-libre/PKGBUILD
index ec302f134..c3c095e50 100644
--- a/libre/cups-filters-libre/PKGBUILD
+++ b/libre/cups-filters-libre/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 172123 2012-11-29 18:28:53Z andyrtr $
+# $Id: PKGBUILD 173950 2012-12-29 15:58:32Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=cups-filters-libre
_pkgname=cups-filters
-pkgver=1.0.25
+pkgver=1.0.28
pkgrel=1
pkgdesc="OpenPrinting CUPS Filters"
arch=('i686' 'x86_64' 'mips64el')
@@ -16,8 +16,9 @@ optdepends=('ghostscript: for non-PostScript printers to print with CUPS to conv
'foomatic-db-engine: 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=('20e9aeb5080ef4c997edc5e5106184b8'
+ '2beb8d9cebf20ddcc6c7598aab4812a6')
replaces=("${_pkgname}")
conflicts=("${_pkgname}")
provides=("${_pkgname}=${pkgver}")
@@ -26,6 +27,7 @@ build() {
cd "$srcdir/$_pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
+ --enable-avahi \
--with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf
make
}
@@ -40,4 +42,8 @@ package() {
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
}
diff --git a/libre/cups-filters-libre/cups-browsed.service b/libre/cups-filters-libre/cups-browsed.service
new file mode 100644
index 000000000..d434d82f0
--- /dev/null
+++ b/libre/cups-filters-libre/cups-browsed.service
@@ -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