[arch-commits] Commit in hplip/trunk (PKGBUILD)
andyrtr at archlinux.org
andyrtr at archlinux.org
Thu May 31 19:55:14 UTC 2012
Date: Thursday, May 31, 2012 @ 15:55:14
Author: andyrtr
Revision: 160264
upgpkg: hplip 3.12.4-3
call foomatic-rip no more foomatic-rip-hplip in driver ppds; FS#30085
Modified:
hplip/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-05-31 17:40:20 UTC (rev 160263)
+++ PKGBUILD 2012-05-31 19:55:14 UTC (rev 160264)
@@ -5,7 +5,7 @@
pkgname=hplip
pkgver=3.12.4
-pkgrel=2
+pkgrel=3
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
arch=('i686' 'x86_64')
url="http://hplipopensource.com"
@@ -39,6 +39,17 @@
sed -i 's|python %HOME%|python2 %HOME%|' base/utils.py
sed -i 's|python ./plugin.py|python2 ./plugin.py|' base/pkit.py
+ # https://bugs.archlinux.org/task/30085 - hack found in Gentoo
+ # Use system foomatic-rip for hpijs driver instead of foomatic-rip-hplip
+ # The hpcups driver does not use foomatic-rip
+ local i
+ for i in ppd/hpijs/*.ppd.gz ; do
+ rm -f ${i}.temp
+ gunzip -c ${i} | sed 's/foomatic-rip-hplip/foomatic-rip/g' | \
+ gzip > ${i}.temp || return 1
+ mv ${i}.temp ${i}
+ done
+
export AUTOMAKE='automake --foreign'
autoreconf --force --install
More information about the arch-commits
mailing list