[arch-commits] Commit in hplip/trunk (PKGBUILD hplip-cups-1.5.0-compatibility.patch)
Eric Bélanger
eric at archlinux.org
Thu Sep 29 07:20:46 UTC 2011
Date: Thursday, September 29, 2011 @ 03:20:46
Author: eric
Revision: 139099
upgpkg: hplip 3.11.7-2
Rebuild against net-snmp 5.7.1, Add build patch
Added:
hplip/trunk/hplip-cups-1.5.0-compatibility.patch
Modified:
hplip/trunk/PKGBUILD
--------------------------------------+
PKGBUILD | 14 +++++++++-----
hplip-cups-1.5.0-compatibility.patch | 10 ++++++++++
2 files changed, 19 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-09-29 06:09:12 UTC (rev 139098)
+++ PKGBUILD 2011-09-29 07:20:46 UTC (rev 139099)
@@ -4,14 +4,14 @@
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 @@
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 \
Added: hplip-cups-1.5.0-compatibility.patch
===================================================================
--- hplip-cups-1.5.0-compatibility.patch (rev 0)
+++ hplip-cups-1.5.0-compatibility.patch 2011-09-29 07:20:46 UTC (rev 139099)
@@ -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>
+
More information about the arch-commits
mailing list