# HG changeset patch # User Samuel Trassare # Date 1329950197 28800 # Node ID cc786b36751d6239c02a7c4cd20c92af76bac998 # Parent 8e758a7a90c9bd9150e9242fae62bfc869150323 up hplip (3.12.2) and removed desktop file diff -r 8e758a7a90c9 -r cc786b36751d hplip/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hplip/description.txt Wed Feb 22 14:36:37 2012 -0800 @@ -0,0 +1,5 @@ +HPLIP (Hewlett-Packard Linux Imaging & Printing) is an HP-developed solution for +printing, scanning, and faxing with HP inkjet and laser based printers in Linux. +The HPLIP project provides printing support for 2,080 printer models, including +Deskjet, Officejet, Photosmart, PSC (Print Scan Copy), Business Inkjet, +LaserJet, Edgeline MFP, and LaserJet MFP. diff -r 8e758a7a90c9 -r cc786b36751d hplip/receipt --- a/hplip/receipt Wed Feb 22 13:34:36 2012 -0800 +++ b/hplip/receipt Wed Feb 22 14:36:37 2012 -0800 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="hplip" -VERSION="3.11.3" +VERSION="3.12.2" CATEGORY="system-tools" SHORT_DESC="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet" MAINTAINER="jozee@slitaz.org" @@ -12,6 +12,7 @@ WEB_SITE="http://hplipopensource.com" WGET_URL="http://downloads.sourceforge.net/sourceforge/hplip/$TARBALL" TAGS="printer driver printing" +BUGS="Unable to delete hplip.desktop from $fs. Using hack in post_install." # Rules to configure and make the package. --prefix=/usr compile_rules() @@ -28,7 +29,6 @@ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install - } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -48,22 +48,20 @@ $_pkg/usr/share/ppd \ $fs/usr/share - # compress snon zipped ppd files - find $fs/usr/share/ppd/HP -name "*.ppd" -exec gzip -n9 {} \; + # compress non-zipped ppd files + find $fs/usr/share/ppd/HP -name "*.ppd" -exec gzip -n9 {} \; - # remove autostart of hp-daemon - rm -rf $fs/etc/sane.d - # remove xdg - rm -rf $fs/etc/xdg + # remove autostart of hp-daemon + rm -rf $fs/etc/sane.d - -# remove .desktop file as we compiled without pyqt3 support -rm -rf $fs/usr/share/applications/* - - + # remove xdg + rm -rf $fs/etc/xdg } post_install() { + # remove the desktop file + rm $fs/usr/share/applications/hplip.desktop + tazpkg reconfigure udev --root=$1 }