summaryrefslogtreecommitdiff
path: root/extra/cups
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-15 00:01:47 +0000
committerroot <root@rshg054.dnsready.net>2012-06-15 00:01:47 +0000
commit63a600a5f9102d817332db9fb746a4153ed62b51 (patch)
treed4219aa8c6331cc37c98b943b1f9db68306bd81d /extra/cups
parent35c30674b2b901077a809a6f1d8e5a0115098c8b (diff)
Fri Jun 15 00:01:47 UTC 2012
Diffstat (limited to 'extra/cups')
-rw-r--r--extra/cups/PKGBUILD15
-rw-r--r--extra/cups/PKGBUILD.165
2 files changed, 13 insertions, 7 deletions
diff --git a/extra/cups/PKGBUILD b/extra/cups/PKGBUILD
index 7a7ec85d7..498009ac8 100644
--- a/extra/cups/PKGBUILD
+++ b/extra/cups/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 160812 2012-06-06 15:26:42Z andyrtr $
+# $Id: PKGBUILD 161774 2012-06-13 17:38:37Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgbase="cups"
pkgname=('libcups' 'cups')
pkgver=1.5.3
-pkgrel=4
+pkgrel=5
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.cups.org/"
@@ -163,9 +163,12 @@ optdepends=('php: for included phpcups.so module'
# remove client.conf man page
rm -f ${pkgdir}/usr/share/man/man5/client.conf.5
- # remove files now part of cups-filters
+ # remove files now part of cups-filters - check cups-filters INSTALL for packagers instructions
rm -v ${pkgdir}/usr/lib/cups/backend/{parallel,serial}
- rm -v ${pkgdir}/usr/lib/cups/filter/{commandtoescpx,commandtopclx,imagetops,imagetoraster,pdftops,rastertoescpx,rastertopclx,texttops}
- rm -v ${pkgdir}/usr/share/cups/banners/{classified,confidential,secret,standard,topsecret,unclassified}
- rm -v ${pkgdir}/usr/share/cups/data/testprint
+ rm -v ${pkgdir}/usr/lib/cups/filter/{bannertops,commandtoescpx,commandtopclx,imagetops,imagetoraster,pdftops,rastertoescpx,rastertopclx,texttops}
+ rm -v ${pkgdir}/usr/share/cups/banners/*
+ rm -v ${pkgdir}/usr/share/cups/data/{testprint,psglyphs}
+ rm -v ${pkgdir}/usr/share/cups/fonts/*
+ # comment out all conversion rules which use any of the removed filters
+ perl -p -i -e 's:^(.*\s+(pdftops|texttops|imagetops|bannertops|imagetoraster)\s*)$:#\1:' ${pkgdir}/usr/share/cups/mime/mime.convs
}
diff --git a/extra/cups/PKGBUILD.16 b/extra/cups/PKGBUILD.16
index 57db7916a..01faba047 100644
--- a/extra/cups/PKGBUILD.16
+++ b/extra/cups/PKGBUILD.16
@@ -138,6 +138,9 @@ optdepends=('xdg-utils: xdg .desktop file support')
rm -f ${pkgdir}/usr/share/man/man5/client.conf.5
# remove files now part of cups-filters
- rm -v ${pkgdir}/usr/share/cups/banners/{classified,confidential,secret,standard,topsecret,unclassified}
+ rm -v ${pkgdir}/usr/lib/cups/filter/bannertops
+ rm -v ${pkgdir}/usr/share/cups/banners/*
rm -v ${pkgdir}/usr/share/cups/data/testprint
+ # comment out all conversion rules which use any of the removed filters
+ perl -p -i -e 's:^(.*\s+bannertops\s*)$:#\1:' /usr/share/cups/mime/mime.convs
}