[arch-commits] Commit in hplip/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Mon Dec 4 20:50:09 UTC 2017


    Date: Monday, December 4, 2017 @ 20:50:02
  Author: andyrtr
Revision: 311614

upgpkg: hplip 3.17.11-1

upstream update 3.17.11 - stop shipping deprecated hpijs drivers, disable experimental new-hpcups option

Modified:
  hplip/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++--------------------
 1 file changed, 3 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-04 19:44:22 UTC (rev 311613)
+++ PKGBUILD	2017-12-04 20:50:02 UTC (rev 311614)
@@ -5,8 +5,8 @@
 # Contributor: Morgan LEFIEUX <comete at archlinuxfr.org>
 
 pkgname=hplip
-pkgver=3.17.10
-pkgrel=2
+pkgver=3.17.11
+pkgrel=1
 pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
 arch=('x86_64')
 url="http://hplipopensource.com"
@@ -28,7 +28,7 @@
 source=(https://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz{,.asc}
         disable_upgrade.patch
         0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch)
-sha1sums=('6d75e754a518f2377d8582aaea0504e61ed15aff'
+sha1sums=('72705f45157227907a79e326da6524317c1aaff6'
           'SKIP'
           '2348bcbca0c52dc09cceb47ed13281a4ccb9d83e'
           '2ef86972ab51c0fdcb8bfc653b9f6f69459449a5')
@@ -43,17 +43,6 @@
  # add missing 'include <cups/ppd.h>' at various places
  patch -Np1 -i ${srcdir}/0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch
 
- # 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
 }
@@ -63,14 +52,8 @@
  ./configure --prefix=/usr \
              --enable-qt5 \
              --disable-qt4 \
-             --disable-foomatic-rip-hplip-install \
-             --enable-foomatic-ppd-install \
              --enable-hpcups-install \
-             --enable-new-hpcups \
-             --enable-cups-ppd-install \
              --enable-cups-drv-install \
-             --enable-hpijs-install \
-             --enable-foomatic-drv-install \
              --enable-pp-build #--help
  make
 }



More information about the arch-commits mailing list