diff options
author | root <root@rshg054.dnsready.net> | 2011-10-02 23:14:32 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-02 23:14:32 +0000 |
commit | ad84169d66d20378d28533c216b73c9a6646d6d7 (patch) | |
tree | 2746e102687e113dd81d632b51933b62ff458934 /extra/hplip | |
parent | 0f78806d775c4d46c649425fcb67964d53531db8 (diff) |
Sun Oct 2 23:14:32 UTC 2011
Diffstat (limited to 'extra/hplip')
-rw-r--r-- | extra/hplip/PKGBUILD | 16 | ||||
-rw-r--r-- | extra/hplip/hplip-cups-1.5.0-compatibility.patch | 10 |
2 files changed, 20 insertions, 6 deletions
diff --git a/extra/hplip/PKGBUILD b/extra/hplip/PKGBUILD index 961e43b3f..742d76978 100644 --- a/extra/hplip/PKGBUILD +++ b/extra/hplip/PKGBUILD @@ -1,17 +1,17 @@ -# $Id: PKGBUILD 134122 2011-08-01 22:48:36Z giovanni $ +# $Id: PKGBUILD 139476 2011-10-02 02:49:32Z eric $ # Maintainer : Rémy Oudompheng <remy@archlinux.org> # Contributor: Morgan LEFIEUX <comete@archlinuxfr.org> pkgname=hplip pkgver=3.11.7 -pkgrel=1 +pkgrel=2 pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet" arch=('i686' 'x86_64') url="http://hplipopensource.com" license=('GPL') -makedepends=('python2-qt' 'pygobject' 'pkgconfig' 'sane' 'rpcbind' 'cups') +makedepends=('python2-qt' 'python2-gobject2' 'pkg-config' 'sane' 'rpcbind' 'cups') depends=('python2' 'ghostscript>=8.64-6' 'foomatic-db' 'foomatic-db-engine' - 'libcups>=1.3.10-3' 'net-snmp>=5.6.1' 'libusb-compat') + 'libcups>=1.3.10-3' 'net-snmp>=5.7.1' 'libusb-compat') optdepends=('cups: for printing support' 'dbus-python: for dbus support' 'sane: for scanner support' @@ -24,11 +24,15 @@ optdepends=('cups: for printing support' replaces=('hpijs') options=('!libtool') install=hplip.install -source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz") -md5sums=('5cb89a00b0c680d8bf9bf4b4f1f863b1') +source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz{,.asc} + hplip-cups-1.5.0-compatibility.patch) +md5sums=('5cb89a00b0c680d8bf9bf4b4f1f863b1' + 'f4422ee0dc842e1a53b75c24f468d65c' + 'a767000ce920e9f7f6a5b0a8e4392ef9') build() { cd "$srcdir/$pkgname-$pkgver" + patch -p1 -i "$srcdir/hplip-cups-1.5.0-compatibility.patch" export PYTHON=python2 find . -type f -exec sed -i 's~^#.*env python~#!/usr/bin/env python2~' {} + ./configure --prefix=/usr \ diff --git a/extra/hplip/hplip-cups-1.5.0-compatibility.patch b/extra/hplip/hplip-cups-1.5.0-compatibility.patch new file mode 100644 index 000000000..a4039e6c9 --- /dev/null +++ b/extra/hplip/hplip-cups-1.5.0-compatibility.patch @@ -0,0 +1,10 @@ +--- hplip-3.11.7~/prnt/hpps/hppsfilter.c 2011-07-24 18:58:05.000000000 +0000 ++++ hplip-3.11.7/prnt/hpps/hppsfilter.c 2011-08-09 20:51:54.150214165 +0000 +@@ -38,6 +38,7 @@ + #include <unistd.h> + #include <fcntl.h> + #include <cups/cups.h> ++#include <cups/ppd.h> + #include <sys/types.h> + #include <sys/stat.h> + |