wok rev 24096

Up hplip (3.21.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 13 14:29:11 2021 +0000 (10 days ago)
parents 95f66fb4280e
children ab0d30498b02
files hplip/receipt
line diff
     1.1 --- a/hplip/receipt	Wed Sep 01 14:04:21 2021 +0000
     1.2 +++ b/hplip/receipt	Mon Sep 13 14:29:11 2021 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="hplip"
     1.7 -VERSION="3.12.11" 
     1.8 +VERSION="3.21.8" 
     1.9  CATEGORY="system-tools"
    1.10  TAGS="printer driver printing"
    1.11  SHORT_DESC="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
    1.12 @@ -16,27 +16,20 @@
    1.13  
    1.14  DEPENDS="ghostscript python cups dbus-python libusb jpeg tiff sane-backends \
    1.15  	libgphoto2 libexif gcc-lib-base libltdl libv4l net-snmp PyQt-x11-gpl pygobject"
    1.16 -BUILD_DEPENDS="ghostscript-dev dbus-python-dev sane-backends-dev openssl-dev \
    1.17 +BUILD_DEPENDS="ghostscript-dev dbus-python-dev sane-backends-dev openssl-dev gawk \
    1.18  	sane-backends libexif-dev libgphoto2-dev Qt4-dev libgphoto2 pkg-config libusb-dev \
    1.19  	jpeg-dev cups-dev dbus-dev tiff-dev python python-dev dbus-python net-snmp-dev \
    1.20  	libtool"
    1.21  
    1.22 -# Rules to configure and make the package. --prefix=/usr 
    1.23 +# Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	# fix build with cups 1.6 - FC hplip-ipp-accessors.patch
    1.27 -	patch -Np1 -i $stuff/cups-1.6-buildfix.diff
    1.28 -
    1.29 -	# 3.12.11
    1.30 -	sed -i '46i#include <cups/ppd.h>' \
    1.31 -		prnt/hpijs/hpcupsfax.cpp
    1.32 -	sed -i '40i#include <cups/ppd.h>' \
    1.33 -		prnt/hpcups/HPCupsFilter.h
    1.34 -
    1.35 +	grep -l 'uname -m' | xargs sed -i 's|uname -m|echo i686|'
    1.36  	./configure			\
    1.37  		--prefix=/usr		\
    1.38  		--sysconfdir=/etc	\
    1.39  		--disable-doc-build	\
    1.40 +		--disable-network-build \
    1.41  		--enable-qt4		\
    1.42  		$CONFIGURE_ARGS &&
    1.43  	make &&
    1.44 @@ -51,14 +44,17 @@
    1.45  	mkdir -p $fs/usr/share
    1.46  	
    1.47  	cp -a $install/etc		$fs
    1.48 +	cp -a $install/var		$fs
    1.49  	cp -a $install/usr/bin		$fs/usr
    1.50  	cp -a $install/usr/lib/cups	$fs/usr/lib
    1.51  	cp -a $install/usr/lib/python*	$fs/usr/lib
    1.52  	cp -a $install/usr/lib/sane	$fs/usr/lib
    1.53 +	cp -a $install/usr/lib/hal	$fs/usr/lib
    1.54  	cp -a $install/usr/lib/*so*	$fs/usr/lib
    1.55  	cp -a $install/usr/share/cups	$fs/usr/share
    1.56  	cp -a $install/usr/share/hplip	$fs/usr/share
    1.57  	cp -a $install/usr/share/ppd	$fs/usr/share
    1.58 +	cp -a $install/usr/share/app*	$fs/usr/share
    1.59  
    1.60  	# compress non-zipped ppd files
    1.61  	find $fs/usr/share/ppd/HP -name "*.ppd" -exec gzip -n9 {} \;