commit hplip for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package hplip for openSUSE:Factory checked in at Sat Jul 4 10:53:06 CEST 2009. -------- --- hplip/hplip.changes 2009-06-02 14:47:48.000000000 +0200 +++ hplip/hplip.changes 2009-07-01 11:06:26.000000000 +0200 @@ -1,0 +2,32 @@ +Wed Jul 1 10:28:04 CEST 2009 - jsmeix@suse.de + +- Fixed hp-toolbox.wrapper by adding "..." quotation when + calling 'test -x "$( type -p whatever )"' because + when 'type -p whatever' fails calling 'test -x' without + an explicite empty argument would result true + (see Novell/Suse Bugzilla bnc#503322 comment#6). +- fix_gcc44_glib.diff is obsolete since version 3.9.6b + because it is fixed in the source. +- Updated to version 3.9.6b: + The new native CUPS driver (HPCUPS) is now the default + printer driver. HPCUPS provides new paper sizes for borderless + and duplex so that there are now HPCUPS PPDs with exact + printable regions for normal, borderless and duplex paper sizes + which should fix https://bugs.launchpad.net/hplip/+bug/173857 + For now HPIJS (and its matching foomatic-rip-hplip PPDs) + are still included (HPIJS can co-exist with HPCUPS). + A new utility 'hp-wificonfig' can pre-configure wifi-capable + printers on a wireless network. Once pre-configured, a queue + for the printer can be set up as usual using hp-setup. + Renamed hp-devicesetup to hp-devicesettings. + Added CUPS filter hpcupsfax and new hpcups fax PPDs. + Bumped libhpmud.so.0.0.4 to libhpmud.so.0.0.5. + Integrated --enable-lite-build (default=no) into configure.in + which can be used to get a minimal print/scan only build with + limited Plugin support (Novell/Suse provides the "full" build). + Many more supported printers and all-in-one devices. + Many bug fixies (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- fix_gcc44_glib.diff hplip-3.9.4b.tar.bz2 New: ---- hplip-3.9.6b.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hplip.spec ++++++ --- /var/tmp/diff_new_pack.A22352/_old 2009-07-04 10:52:19.000000000 +0200 +++ /var/tmp/diff_new_pack.A22352/_new 2009-07-04 10:52:19.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package hplip (Version 3.9.4b) +# spec file for package hplip (Version 3.9.6b) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -24,22 +24,19 @@ # HPLIP has reached 1.0 status. With this release a date encoded revision number is used: # x.y.m : x = major release number, y = year (eg: 6 = 2006), m = month (eg: 6a = second release in June) # Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc -Version: 3.9.4b +Version: 3.9.6b Release: 1 Group: Hardware/Printing -License: BSD 3-Clause; GPL v2 or later; X11/MIT +License: BSD 3-clause (or similar) ; GPL v2 or later ; MIT License (or similar) Url: http://hplipopensource.com # Source0...Source9 is for sources from HP: -# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.9.4b.tar.gz +# URL for Source0: http://surfnet.dl.sourceforge.net/sourceforge/hplip/hplip-3.9.6b.tar.gz Source0: %{name}-%{version}.tar.bz2 # Patch0...Patch9 is for patches from HP: # Patch10...Patch99 is for Suse patches for the sources from HP: # Patch10 fixes "... is used uninitialized ..." warnings: Patch10: fix-uninitialized-variables.diff -# Patch11 fixes GCC/glibc issues, see http://udrepper.livejournal.com/20948.html -# here in particular "invalid conversion from 'const char*' to 'char*'" errors. -# The upstream bug report is https://bugs.launchpad.net/hplip/+bug/382720 -Patch11: fix_gcc44_glib.diff +# Patch11 fix_gcc44_glib.diff is obsolete since version 3.9.6b because it is fixed in the source. # Source100... is for special Suse sources: # Source100 is the primary source for the suse_update_desktop_file stuff. # It is found automatically in $RPM_SOURCE_DIR by 'suse_update_desktop_file -i hplip': @@ -159,7 +156,7 @@ Till Kamppeter %package hpijs -License: BSD 3-Clause; GPL v2 or later; X11/MIT +License: BSD 3-clause (or similar) ; GPL v2 or later ; MIT License (or similar) Summary: HPIJS for HP's printing and scanning software HPLIP Group: Hardware/Printing # Since Nov 14 2007 ghostscript-library does no longer require /usr/bin/hpijs @@ -220,8 +217,6 @@ %setup -q # Patch10 fixes "... is used uninitialized ..." warnings: %patch10 -# Patch11 fixes GCC/glibc issues: -%patch11 # Patch101 changes in the udev rules file the mode from "0666" to "0664": %patch101 @@ -235,9 +230,23 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" # Static "hpijs" PPD files via enable-foomatic-ppd-install # require foomatic-rip-hplip via their cupsFilter entries -# so that enable-foomatic-rip-hplip-install is also needed: +# so that enable-foomatic-rip-hplip-install is also needed. +# Since version 3.9.6 the default printer driver install changed from hpijs to hpcups. +# According to http://hplipopensource.com/hplip-web/release_notes.html +# all drv installs require CUPSDDK 1.2.3 or higher. +# Otherwise a static PPD install must be performed. +# For hpcups static PPD install one needs: +# --enable-hpcups-install enable hpcups install (default=yes) +# --disable-cups-drv-install enable cups dynamic ppd install (default=yes) +# --enable-cups-ppd-install enable cups static ppd install (default=no) +# For both hpcups and hpijs install with static PPDs one needs additionally: +# --enable-hpijs-install enable hpijs install (default=no) +# --disable-foomatic-drv-install enable foomatic dynamic ppd install (default=no), uses drvdir and hpppddir +# --enable-foomatic-ppd-install enable foomatic static ppd install (default=no), uses hpppddir +# --enable-foomatic-rip-hplip-install enable foomatic-rip-hplip install (default=no), uses cupsfilterdir ./configure --prefix=/usr \ --libdir=%_libdir \ + --disable-qt3 \ --enable-qt4 \ --disable-policykit \ --enable-doc-build \ @@ -247,9 +256,13 @@ --enable-gui-build \ --enable-fax-build \ --enable-dbus-build \ - --enable-foomatic-rip-hplip-install \ + --enable-hpcups-install \ + --disable-cups-drv-install \ + --enable-cups-ppd-install \ + --enable-hpijs-install \ --disable-foomatic-drv-install \ --enable-foomatic-ppd-install \ + --enable-foomatic-rip-hplip-install \ --with-hpppddir=%{_datadir}/cups/model/manufacturer-PPDs/%{name} \ --with-cupsbackenddir=%{_libdir}/cups/backend \ --with-cupsfilterdir=%{_libdir}/cups/filter \ @@ -301,8 +314,8 @@ done done # Final test by cupstestppd: -# Only keep files which don't FAIL for cupstestppd. # To save disk space gzip the files (gzipped PPDs can also be used by CUPS). +# Future goal: Only have files which don't FAIL for cupstestppd. # Ignore FAILs because of errors in UIConstraints and/or NonUIConstraints # which are detected since cupstestppd in CUPS > 1.2.7 (i.e. in openSUSE 10.3). # See Novell/Suse Bugzilla bug #309822: When this bug is fixed, cupstestppd would @@ -310,7 +323,7 @@ # In the long run the PPDs should be fixed but as far as we know there have been # no problems because of such UIConstraints errors so that it should be o.k. # let those PPDs pass even if they are not strictly compliant. -# Keep all PPDs even if cupstestppd FAILs. +# For now keep all PPDs even if cupstestppd FAILs. # Reason: # With each CUPS version upgrade cupstestppd finds more and more errors # so that more and more PPDs would be no longer included in the RPM @@ -430,7 +443,7 @@ %{_bindir}/hp-check %{_bindir}/hp-clean %{_bindir}/hp-colorcal -%{_bindir}/hp-devicesetup +%{_bindir}/hp-devicesettings %{_bindir}/hp-fab %{_bindir}/hp-faxsetup %{_bindir}/hp-firmware @@ -455,6 +468,7 @@ %{_bindir}/hp-timedate %{_bindir}/hp-toolbox %{_bindir}/hp-unload +%{_bindir}/hp-wificonfig %{_libdir}/python%{py_ver}/site-packages/cupsext.* %{_libdir}/python%{py_ver}/site-packages/hpmudext.* %{_libdir}/python%{py_ver}/site-packages/pcardext.* @@ -467,8 +481,10 @@ %{_libdir}/cups/backend/hpfax %dir %{_libdir}/cups/filter %{_libdir}/cups/filter/foomatic-rip-hplip -%{_libdir}/cups/filter/hplipjs +%{_libdir}/cups/filter/hpcac %{_libdir}/cups/filter/hpcups +%{_libdir}/cups/filter/hpcupsfax +%{_libdir}/cups/filter/hplipjs %dir %{_datadir}/cups %dir %{_datadir}/cups/model %dir %{_datadir}/cups/model/manufacturer-PPDs ++++++ hplip-3.9.4b.tar.bz2 -> hplip-3.9.6b.tar.bz2 ++++++ hplip/hplip-3.9.4b.tar.bz2 hplip/hplip-3.9.6b.tar.bz2 differ: byte 11, line 1 ++++++ hp-toolbox.wrapper ++++++ --- /var/tmp/diff_new_pack.A22352/_old 2009-07-04 10:52:20.000000000 +0200 +++ /var/tmp/diff_new_pack.A22352/_new 2009-07-04 10:52:20.000000000 +0200 @@ -2,7 +2,10 @@ # If possible use the KDE program kdialog # otherwise fall back to the generic X program xmessage. -if test -x $( type -p kdialog ) +# The "..." quotation when calling 'test -x' is crucial +# because calling 'test -x' without explicite empty argument +# (when 'type -p kdialog' fails) would result true. +if test -x "$( type -p kdialog )" then PopupProgram='kdialog --error' else PopupProgram='xmessage' fi @@ -13,7 +16,10 @@ # but exits nevertheless with zero exit code. # Note that one cannot grep for '^error' because there are leading # escape codes (e.g. "esc [ 3 1 ; 0 1 m") in the output lines. -if test -x $( type -p hp-toolbox ) +# The "..." quotation when calling 'test -x' is crucial +# because calling 'test -x' without explicite empty argument +# (when 'type -p hp-toolbox' fails) would result true. +if test -x "$( type -p hp-toolbox )" then hp-toolbox 2>&1 1>/dev/null | grep -q -i 'error' && $PopupProgram 'No HP all-in-one device found (those devices require a special setup).' else $PopupProgram 'Cannot execute hp-toolbox.' fi ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de