[arch-commits] Commit in hplip/trunk (PKGBUILD hplip_typo.patch)
Andreas Radke
andyrtr at nymeria.archlinux.org
Sun May 19 10:16:29 UTC 2013
Date: Sunday, May 19, 2013 @ 12:16:28
Author: andyrtr
Revision: 185808
upgpkg: hplip 3.13.5-2
fix script typo; FS#35356
Added:
hplip/trunk/hplip_typo.patch
Modified:
hplip/trunk/PKGBUILD
------------------+
PKGBUILD | 11 ++++++++---
hplip_typo.patch | 11 +++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-19 09:46:06 UTC (rev 185807)
+++ PKGBUILD 2013-05-19 10:16:28 UTC (rev 185808)
@@ -5,7 +5,7 @@
pkgname=hplip
pkgver=3.13.5
-pkgrel=1
+pkgrel=2
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
arch=('i686' 'x86_64')
url="http://hplipopensource.com"
@@ -27,11 +27,13 @@
install=hplip.install
source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz{,.asc}
cups-1.6-buildfix.diff
- hp-mkuri.patch)
+ hp-mkuri.patch
+ hplip_typo.patch)
md5sums=('f0c406f06f191a120f7d283b69ff10e8'
'SKIP'
'ef64578c6cb3ce252dbdcb0f1c2f4a47'
- '0bd7779fdbc4d7a9386df04dce2cb8d4')
+ '0bd7779fdbc4d7a9386df04dce2cb8d4'
+ 'b3dd33a538ed8a3774f3c22f13e0a549')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -41,6 +43,9 @@
# fix linking libnotify, FS#34283
patch -Np0 -i ${srcdir}/hp-mkuri.patch
+
+ # fix typo preventing FW to load
+ patch -Np0 -i ${srcdir}/hplip_typo.patch
export PYTHON=python2
Added: hplip_typo.patch
===================================================================
--- hplip_typo.patch (rev 0)
+++ hplip_typo.patch 2013-05-19 10:16:28 UTC (rev 185808)
@@ -0,0 +1,11 @@
+--- config_usb_printer.py 2013-05-19 02:23:17.506716304 +0300
++++ config_usb_printer.py.new 2013-05-19 02:23:30.140049848 +0300
+@@ -257,7 +257,7 @@
+ # ******************************* RUNNING FIRMWARE DOWNLOAD TO DEVICE FOR SUPPORTED PRINTER'S
+ fw_download_req = mq.get('fw-download', False)
+ if fw_download_req:
+- fw_cmd = utlis.which('hp-firmware', True)
++ fw_cmd = utils.which('hp-firmware', True)
+ if fw_cmd:
+ fw_cmd += " -y3 -s %s"%param
+ log.debug(fw_cmd)
More information about the arch-commits
mailing list