summaryrefslogtreecommitdiff
path: root/extra/cups
diff options
context:
space:
mode:
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 e292b2c4a..409767b13 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' 'mips64el')
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
}