2 # spec file for package hplip
4 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
6 # All modifications and additions to the file contributed by third parties
7 # remain the property of their copyright owners, unless otherwise agreed
8 # upon. The license for this file, and modifications and additions to the
9 # file, is the same license as for the pristine package itself (unless the
10 # license for the pristine package is not an Open Source License, in which
11 # case the license is the MIT License). An "Open Source License" is a
12 # license that conforms to the Open Source Definition (Version 1.9)
13 # published by the Open Source Initiative.
15 # Please submit bugfixes or comments via http://bugs.opensuse.org/
18 %define _unpackaged_files_terminate_build 0
21 Summary: HP's Printing, Scanning, and Faxing Software
22 License: BSD-3-Clause ; GPL-2.0+ ; MIT
23 Group: Hardware/Printing
24 # HPLIP has reached 1.0 status. With this release a date encoded revision number is used:
25 # x.y.m : x = major release number, y = year (eg: 6 = 2006), m = month (eg: 6a = second release in June)
26 # Official releases have a 3 digit number and release candidates have a 4 digit number: x.y.m.rc
29 Url: http://hplipopensource.com
30 # Source0...Source9 is for sources from HP:
31 # URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.12.4.tar.gz
32 # URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.12.4.tar.gz.asc
33 # How to verify Source0 see: http://hplipopensource.com/node/327
34 # For example: /usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9
35 # /usr/bin/gpg --verify hplip-3.12.4.tar.gz.asc hplip-3.12.4.tar.gz
36 # must result: Good signature from "HPLIP (HP Linux Imaging and Printing) <hplip@hp.com>"
37 Source0: hplip-%{version}.tar.gz
38 BuildRoot: %{_tmppath}/%{name}-%{version}-build
40 # BuildRequires foomatic-filters to avoid /usr/lib/rpm/brp-symlink ERROR:
41 # link target doesn't exist (neither in build root nor in installed system):
42 # /usr/lib/cups/filter/foomatic-rip-hplip -> /usr/bin/foomatic-rip
44 BuildRequires: cups-devel
45 #BuildRequires: dbus-1-devel
46 #BuildRequires: fdupes
47 #BuildRequires: foomatic-filters
48 #BuildRequires: hicolor-icon-theme
49 #BuildRequires: libdrm-devel
50 #BuildRequires: libgphoto2-devel
51 BuildRequires: pkgconfig(turbojpeg)
52 #BuildRequires: libqt4-devel
53 BuildRequires: libtool
54 BuildRequires: pkgconfig(libusb)
55 #BuildRequires: net-snmp-devel
56 BuildRequires: pkgconfig
57 # All printer driver packages should have "BuildRequires: python-cups"
58 # because python-cups installs special rpm macros that adds Provides tags
59 # for the printer drivers supported by the package,
60 # see https://bugzilla.novell.com/show_bug.cgi?id=735865
61 #BuildRequires: python-cups
62 BuildRequires: python-devel
63 #BuildRequires: python-openssl
64 #BuildRequires: python-qt4
65 #BuildRequires: python-xml
66 #BuildRequires: readline-devel
67 #%if 0%{?suse_version} > 1130
68 #BuildRequires: sane-backends-devel
70 #BuildRequires: sane-backends
72 #BuildRequires: update-desktop-files
73 # Patch0...Patch9 is for patches from HP:
74 # Patch10...Patch99 is for Suse patches for the sources from HP:
75 # Patch10 fixes "... is used uninitialized ..." warnings:
76 Patch10: fix-uninitialized-variables.diff
77 # Patch11 fix_gcc44_glib.diff is obsolete since version 3.9.6b because it is fixed in the source.
78 # Patch12 hplip-3.9.8-CVE-2010-4267.patch fixes a remote buffer overflow in hpmud/pml.c:
79 Patch12: hplip-3.9.8-CVE-2010-4267.patch
80 # Source100... is for special Suse sources:
81 # Source100 is the primary source for the suse_update_desktop_file stuff.
82 # It is found automatically in $RPM_SOURCE_DIR by 'suse_update_desktop_file -i hplip':
83 Source100: hplip.desktop
84 # Source101 hp-toolbox.wrapper was a wrapper for hp-toolbox which is no longer needed
85 # see https://bugzilla.novell.com/show_bug.cgi?id=755820
86 # Source102 is a small man page for /usr/bin/hpijs:
88 # Source103 was the init script for hpssd which is obsolete since version 2.8.4.
89 # Source104 was a script which outputs a global HAL fdi file which is obsolete
90 # since openSUSE 11.2 where HAL is no longer used to manage ACLs,
91 # see https://bugzilla.novell.com/show_bug.cgi?id=542473#c13
92 # Source105 hplip.SuSEfirewall2 provides support
93 # to open UDP ports 5353(mdns) and 427(svrloc) for mDNS support
94 # according to the init-suse-firewall in the tar ball
95 # (compare also Novell/Suse Bugzilla bnc#498429)
96 # hplip.SuSEfirewall2 is no longer provided
97 # see https://bugzilla.novell.com/show_bug.cgi?id=757354#c10
98 # Source106 is a wrapper for hp-systray which tests via "lpstat"
99 # whether or not a 'hp:/...' print queue exists and exits otherwise,
100 # see https://bugzilla.novell.com/show_bug.cgi?id=649280
101 # hp-systray.wrapper is called via /etc/xdg/autostart/hplip-systray.desktop
102 # which is changed accordingly in the install section.
103 Source106: hp-systray.wrapper
104 # Patch100... is for special Suse patches:
105 # Patch101 changes the udev rules files 55-hpmud.rules and 56-hpmud_support.rules:
106 Patch101: change-udev-rules.diff
107 # Patch102 deactivates the "chgrp lp -R /var/log/hp" in Makefile.am
108 # because during install this results "Operation not permitted"
109 # this is done in the files section via attr(0774,root,lp)
110 # where mode 0774 matches to what is set in Makefile.am:
111 Patch102: no-chgrp_lp_hplip_Logdir.diff
114 # Tizen do not use dbus communication in hpcups filter
115 Patch103: tizen_disable_dbus_hpcups.patch
116 # Added SIGPIPE, IGN to avoide hpcups crash
117 Patch104: tizen_add_sigpipe_ign.patch
118 Patch105: tizen_fix_image_align.patch
119 Patch106: tizen_fix_debug_log.patch
124 #PreReq: /usr/bin/find
125 # Require the exact matching version-release of the hpijs sub-package to make sure
126 # to have the exact matching version of libhpip and libhpmud installed.
127 # The exact matching version-release of the sub-package is available on the same
128 # repository where the main-package is (compare the "Recommends: hplip" entry below).
129 #Requires: %{name}-hpijs = %{version}-%{release}
130 # Same rationale for the sane subpackage.
131 #Requires: %{name}-sane = %{version}-%{release}
132 # Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451)
133 # plus a leftover in CVE-2004-0801 (bnc#59233)
134 # foomatic-rip-hplip is no longer installed and foomatic-rip
135 # from the foomatic-filters RPM is used instead.
136 # The RPM requirement for foomatic-filters should actually be
137 # in the hplip-hpijs sub-package but this would bloat a minimalist system
138 # (see the comment for the hplip-hpijs sub-package below).
139 # Therefore the hplip main package which is intended
140 # to get "all the HPLIP stuff" installed has the RPM requirement:
141 #Requires: foomatic-filters
142 # foomatic-filters does not require Ghostscript because depending on the PPD
143 # (e.g. some PPDs for PostScript printers in OpenPrintingPPDs-postscript)
144 # foomatic-rip can also be used without Ghostscript but for the drivers
145 # HPIJS and HPCUPS Ghostscript is needed.
146 # The RPM requirement for ghostscript should actually be in the
147 # hplip-hpijs sub-package but this would bloat a minimalist system
148 # (see the comment for the hplip-hpijs sub-package below).
149 # Therefore the hplip main package which is intended
150 # to get "all the HPLIP stuff" installed has the RPM requirement:
151 #Requires: ghostscript
152 # Require special Python stuff (which pulls in Python base stuff).
153 # At least since openSUSE 11.1 and SLE11 pyxml is no longer required
154 # (pyxml was required in particular for openSUSE 10.3 and SLE10,
155 # see https://answers.launchpad.net/hplip/+question/25696)
156 # but meanwhile python-xml alone is sufficient for "import xml.parsers.expat"
157 # see https://bugzilla.novell.com/show_bug.cgi?id=656779#c3
158 #Requires: python-xml
159 # Since version 3.9.2 by default only Qt4 is used:
160 #Requires: python-qt4
161 # Since version 2.8.4 all interprocess communication uses dbus.
162 # Therefore python-dbus version 0.80 or greater is required (which pulls in dbus base stuff).
163 # The dbus stuff in HPLIP requires the Python module gobject
164 # but there is no automated RPM requirement for python-gobject2,
165 # see https://answers.launchpad.net/hplip/+question/30741
166 #Requires: dbus-1-python >= 0.80
167 #Requires: python-gobject2
168 # Either the hplip17 packages or the hplip packages can be installed,
169 # see https://bugzilla.novell.com/show_bug.cgi?id=251830#c20
170 # for the full story why there is this unversioned Obsoletes:
172 # Obsolete the hplip3 copy that was introduced for older SLED11-GA HP preloads:
173 Provides: hplip3 = 3.9.5
174 Obsoletes: hplip3 < 3.9.5
175 # Skip testing devel dependencies required by libtool .la files by the following comment:
176 # skip-check-libtool-deps
179 The Hewlett-Packard Linux Imaging and Printing project (HPLIP) provides
180 a unified single and multifunction connectivity solution for HP
181 printers and scanners (in particular, HP all-in-one devices).
183 HPLIP provides unified connectivity for printing, scanning, sending
184 faxes, photo card access, and device management and is designed to work
187 It includes the Ghostscript printer driver HPIJS for HP printers and a
188 special "hp" CUPS back-end that provides bidirectional communication
189 with the device (required for HP printer device management).
191 It also includes the SANE scanner driver "hpaio" for HP all-in-one
192 devices. Basic PC send fax functionality is supported on a number of
195 The special "hpfax" CUPS back-end is required to send faxes. Direct
196 uploading (i.e. without print and scan) of received faxes from the
197 device to the PC is not supported.
199 The "hp-toolbox" program is provided for device management.
201 The "hp-sendfax" program must be used to send faxes.
203 The "hp-setup" program can be used to set up HP all-in-one devices.
205 The HPLIP project is open source software and uses GPL-compatible
206 licenses. For more information, see:
208 http://hplipopensource.com
210 /usr/share/doc/packages/hplip/index.html
214 #Summary: Only plain printing with HPLIP printer drivers
215 #Group: Hardware/Printing
216 # Since Nov 14 2007 ghostscript-library does no longer require /usr/bin/hpijs
217 # but only "Suggests hplip-hpijs" (see Novell/Suse Bugzilla bnc#341564).
218 # Have the matching "reverse suggests" = "Enhances" here
219 # to document the ghostscript <-> hplip-hpijs relationship:
220 #Enhances: ghostscript
221 # On a minimalist system only hplip-hpijs may be installed
222 # or on a minimalist package repository (e.g. on the openSUSE CDs)
223 # only hplip-hpijs may be available (even when a usual system is installed).
224 # When only hplip-hpijs is there, it should tell the dependency resolver
225 # that for usual functionality, hplip should be installed too (if possible).
226 # Unfortunately the installer ignores suggested packages silently
227 # but on the other hand I cannot use "Recommends hplip" here
228 # because the installer installs recommended packages silently
229 # which would bloat a minimal selection (when hplip is available to be installed)
230 # because the minimal selection contains hplip-hpijs which recommends hplip
231 # so that the installer installs hplip and all what this requires silently
232 # see https://bugzilla.novell.com/show_bug.cgi?id=546893
233 # Require only the matching version of the hplip main-package
234 # (compare the "Requires: hplip-hpijs" entry above) but do not depend
235 # on the exact matching release because the exact matching release
236 # may be not available to be installed (e.g. when hplip-hpijs-1.2.3-4.5 is
237 # installed from the openSUSE CDs but on our official online repository
238 # only hplip-1.2.3-6.7 is available which should usually also work):
239 #Suggests: %{name} = %{version}
240 # hpijs-standalone was a stand-alone minimalist package
241 # which is no longer provided since a long time.
242 # hplip-hpijs and hpijs-standalone both contain /usr/bin/hpijs
243 # so that both packages have a RPM conflict which should
244 # be solved by a silent replacement of the old hpijs-standalone.
245 # This Obsoletes is intentionally unversioned because
246 # hplip-hpijs should replace any version of hpijs-standalone.
247 #Obsoletes: hpijs-standalone
248 # Either the hplip17 packages or the hplip packages can be installed,
249 # see https://bugzilla.novell.com/show_bug.cgi?id=251830#c20
250 # for the full story why there is this unversioned Obsoletes:
251 #Obsoletes: hplip17-hpijs
252 # Obsolete the hplip3 copy that was introduced for older SLED11-GA HP preloads:
253 #Provides: hplip3-hpijs = 3.9.5
254 #Obsoletes: hplip3-hpijs < 3.9.5
255 # PackMan provides HPLIP in the packages hplip and hplip-hpcups.
256 # HPLIP does not work if the openSUSE packages hplip and hplip-hpijs
257 # are installed together with a leftover PackMan package hplip-hpcups
258 # see https://bugzilla.novell.com/show_bug.cgi?id=515005#c17
259 # This Obsoletes is intentionally unversioned because
260 # the openSUSE package hplip-hpijs must replace
261 # any version of PackMan's hplip-hpcups package.
262 #Obsoletes: hplip-hpcups
265 #HPIJS is HPLIP's Ghostscript printer driver for HP printers.
266 #HPCUPS is HPLIP's native CUPS printer driver for HP printers.
268 #This sub-package includes only what is needed for plain printing
269 #with the printer drivers in HPLIP for standard HP printers.
271 #It does neither provide device status information,
272 #nor support for scanning, nor support for faxing,
273 #nor support for memory card (mass storage) access,
274 #nor support for non-standard devices e.g. no support
275 #for devices which require an additional plugin from HP.
277 #This sub-package includes in particular:
279 #The hpijs binary and the libraries libhpip and libhpmud
280 #which are needed to run it.
282 #The HPCUPS driver (/usr/lib[64]/cups/filter/hpcups).
284 #The CUPS backend "hp".
286 #All HPLIP PPD files (also for HP PostScript printers).
288 #For the full-featured HPLIP printing and scanning solution,
289 #the main-package package hplip must be installed.
291 #For full documentation and license see the main-package hplip.
295 #Summary: Only plain scanning with HPLIP scan drivers
296 #Group: Hardware/Scanner
297 # Require the exact matching version-release of the hpijs sub-package to make sure
298 # to have the exact matching version of libhpip and libhpmud installed.
299 # A wrong library version may let libsane-hpaio crash (e.g. segfault)
300 # which lets the whole scanning stack frontend<->libsane-dll<->libsane-backend crash
301 # also for any other backend when the hpaio backend is enabled (e.g. "scanimage -L"):
302 #Requires: %{name}-hpijs = %{version}-%{release}
303 # See comment in hpijs sub-package for same Suggests:
304 #Suggests: %{name} = %{version}
305 # Automatically install this package if hpijs sub-package and sane-backends are
307 #Supplements: packageand(%{name}-hpijs:sane-backends)
308 #Enhances: sane-backends
311 #This sub-package includes only what is needed for plain scanning
312 #with the scan drivers in HPLIP for standard HP all-in-one printers.
315 # Be quiet when unpacking:
317 # Patch10 fix-uninitialized-variables.diff
318 # fixes "... is used uninitialized ..." warnings:
320 # Patch12 hplip-3.9.8-CVE-2010-4267.patch
321 # fixes a remote buffer overflow in hpmud/pml.c:
323 # Patch101 change-udev-rules.diff
324 # changes the udev rules files 55-hpmud.rules and 56-hpmud_support.rules:
326 # Patch102 deactivates the "chgrp lp -R /var/log/hp" in Makefile.am
327 # because during install this results "Operation not permitted"
328 # this is done in the files section via attr(0774,root,lp)
329 # where mode 0774 matches to what is set in Makefile.am:
337 # If AUTOMAKE='automake --foreign' is not set, autoreconf (in fact automake)
338 # complains about missing files like NEWS, README, AUTHORS, ChangeLog
339 # in each directory where a Makefile.am exists:
340 AUTOMAKE='automake --foreign' autoreconf --force --install
341 # Set our preferred architecture-specific flags for the compiler and linker:
342 export CFLAGS="$RPM_OPT_FLAGS"
343 export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
344 # Static "hpijs" PPD files via enable-foomatic-ppd-install
345 # require foomatic-rip-hplip via their cupsFilter entries
346 # so that enable-foomatic-rip-hplip-install is also needed.
347 # Since version 3.9.6 the default printer driver install changed from hpijs to hpcups.
348 # According to http://hplipopensource.com/hplip-web/release_notes.html
349 # all drv installs require CUPSDDK 1.2.3 or higher.
350 # Otherwise a static PPD install must be performed.
351 # Furthermore dynamic PPDs will be deprecated in the future in CUPS,
352 # see http://www.cups.org/str.php?L3772
353 # For hpcups static PPD install one needs:
354 # --enable-hpcups-install enable hpcups install (default=yes)
355 # --disable-cups-drv-install enable cups dynamic ppd install (default=yes)
356 # --enable-cups-ppd-install enable cups static ppd install (default=no)
357 # For both hpcups and hpijs install with static PPDs one needs additionally:
358 # --enable-hpijs-install enable hpijs install (default=no)
359 # --disable-foomatic-drv-install enable foomatic dynamic ppd install (default=no), uses drvdir and hpppddir
360 # --enable-foomatic-ppd-install enable foomatic static ppd install (default=no), uses hpppddir
361 # --enable-foomatic-rip-hplip-install enable foomatic-rip-hplip install (default=no), uses cupsfilterdir
362 # Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451) plus a leftover in CVE-2004-0801 (bnc#59233)
363 # which are fixed up to openSUSE 11.4 with patches, after openSUSE 11.4 (i.e. since openSUSE 12.1)
364 # foomatic-rip-hplip is no longer installed and foomatic-rip from foomatic-filters is used instead so that
365 # --disable-foomatic-rip-hplip-install is explicitly set and as a consequence the "cupsFilter" entries
366 # in the static PPDs are changed in the install section to use foomatic-rip.
367 ./configure --prefix=/usr \
368 --libdir=%{_libdir} \
370 --localstatedir=/var \
371 --sysconfdir=/opt/etc \
372 --mandir=\$${prefix}/share/man \
373 --infodir=\$${prefix}/share/info \
374 --docdir=\$${prefix}/share/doc/hplip \
375 --with-docdir=\$${prefix}/share/doc/hplip \
378 --disable-policykit \
379 --disable-doc-build \
380 --disable-network-build \
382 --disable-scan-build \
383 --disable-gui-build \
384 --disable-fax-build \
385 --disable-dbus-build \
386 --enable-hpcups-install \
387 --disable-cups-drv-install \
388 --disable-cups-ppd-install \
389 --disable-hpijs-install \
390 --disable-foomatic-drv-install \
391 --disable-foomatic-ppd-install \
392 --disable-foomatic-rip-hplip-install \
393 --with-hpppddir=%{_datadir}/cups/model/manufacturer-PPDs/%{name} \
394 --with-cupsbackenddir=/usr/lib/cups/backend \
395 --with-cupsfilterdir=/usr/lib/cups/filter
396 # --with-drvdir=/usr/lib/cups/driver \
397 # --with-mimedir=%{_sysconfdir}/cups \
398 # --with-docdir=%{_defaultdocdir}/%{name}
402 make install DESTDIR=%{buildroot}
404 mkdir -p %{buildroot}/usr/share/license
405 cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}
407 # Remove the installed /etc/sane.d/dll.conf
408 # because this is provided by the sane-backends package:
409 #rm %{buildroot}%{_sysconfdir}/sane.d/dll.conf
410 # Remove the installed HAL fdi file because HAL is no longer used (HAL is deprecated):
411 #rm %{buildroot}%{_datadir}/hal/fdi/preprobe/10osvendor/20-hplip-devices.fdi
412 # Remove the outdated "Check and add printer for Suse 10.3 distro" udev rule
413 # and let the build fail if it does no longer match to notify about the change:
414 #grep 'for Suse 10.3 distro' %{buildroot}%{_sysconfdir}/udev/rules.d/56-hpmud_add_printer.rules || exit 1
415 #sed -i -e '/for Suse 10.3 distro/,+1 d' %{buildroot}%{_sysconfdir}/udev/rules.d/56-hpmud_add_printer.rules
416 # Begin "General tests and adjustments for all PPDs" (see manufacturer-PPDs.spec):
417 #pushd %{buildroot}%{_datadir}/cups/model/manufacturer-PPDs/%{name}
418 # Do not pollute the build log file with zillions of meaningless messages:
421 # Make some general tests and adjustments for all PPDs:
422 #echo "Making some general tests and adjustments for all PPDs:"
423 # Add a line-feed to the end of all PPDs to fix those PPDs where it is missing.
424 # See Novell/Suse Bugzilla bug #309832: Unix/Linux text files must end with a line-feed.
425 # Otherwise reading the last line results EOF and then some programs may ignore the last line.
426 #echo "Adding a line-feed to the end of all PPDs to fix those PPDs where it is missing..."
428 #do echo -en '\n' >>$p
430 # Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451) plus a leftover in CVE-2004-0801 (bnc#59233)
431 # foomatic-rip-hplip is no longer installed and foomatic-rip from foomatic-filters is used instead so that
432 # the "cupsFilter" entries in the static PPDs must be changed accordingly:
433 #echo "Replacing insecure foomatic-rip-hplip with foomatic-rip everywhere in in the PPDs..."
435 #do sed -i -e 's/foomatic-rip-hplip/foomatic-rip/' $p
437 # Final test by cupstestppd:
438 # To save disk space gzip the files (gzipped PPDs can also be used by CUPS).
439 # Future goal: Only have files which don't FAIL for cupstestppd.
440 # Ignore FAILs because of errors in UIConstraints and/or NonUIConstraints
441 # which are detected since cupstestppd in CUPS > 1.2.7 (i.e. in openSUSE 10.3).
442 # See Novell/Suse Bugzilla bug #309822: When this bug is fixed, cupstestppd would
443 # no longer result zero exit code.
444 # In the long run the PPDs should be fixed but as far as we know there have been
445 # no problems because of such UIConstraints errors so that it should be o.k.
446 # let those PPDs pass even if they are not strictly compliant.
447 # Ignore FAILs because of missing cupsFilter programs because
448 # in the package build environment the usual HPLIP filters
449 # like "hpcups" and "hpcupsfax" are
450 # installed at an unusual place (in the BuildRoot directory).
451 # For now keep all PPDs even if cupstestppd FAILs.
453 # With each CUPS version upgrade cupstestppd finds more and more errors
454 # so that more and more PPDs would be no longer included in the RPM
455 # which have been included before which results a regression.
456 # As far as we know there have been no problems at all because of
457 # not strictly compliant PPDs in HPLIP so that it is much better
458 # to provide all HPLIP PPDs so that the matching printers can be used
459 # than to be rigorous regarding enforcing compliance to the PPD specification:
460 #echo "Final testing by cupstestppd..."
462 #do grep -E -v '^\*UIConstraints:|^\*NonUIConstraints:|^\*cupsFilter:' $p | cupstestppd - || true
465 #echo "End of general tests and adjustments for all PPDs."
466 # Switch back to the usual build log messages:
468 # End of "General tests and adjustments for all PPDs":
470 # Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451)
471 # plus a leftover in CVE-2004-0801 (bnc#59233)
472 # foomatic-rip-hplip is no longer installed and foomatic-rip
473 # from the foomatic-filters RPM must be used instead.
474 # To be backward compatible with PPDs in /etc/cups/ppd/
475 # for existing print queues a compatibility link
476 # /usr/lib/cups/filter/foomatic-rip-hplip
477 # which points to foomatic-rip is installed:
478 #ln -s ../../../bin/foomatic-rip %{buildroot}/usr/lib/cups/filter/foomatic-rip-hplip
479 # Begin "Desktop menue entry stuff":
480 # Install /usr/share/hplip/data/images/64x64/hp_logo.png as desktop icon file
481 # because it is used in the hplip.desktop.in and hplip-systray.desktop.in sources:
482 #install -D -m 644 %{buildroot}%{_datadir}/hplip/data/images/32x32/hp_logo.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/HPmenu.png
483 #install -D -m 644 %{buildroot}%{_datadir}/hplip/data/images/64x64/hp_logo.png %%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/HPmenu.png
484 #install -D -m 644 %{buildroot}%{_datadir}/hplip/data/images/128x128/hp_logo.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/HPmenu.png
485 #install -D -m 644 %{buildroot}%{_datadir}/hplip/data/images/256x256/hp_logo.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/HPmenu.png
486 # Set up and install the desktop menue entry stuff using "Categories=System;Monitor;"
487 # and remove HP's hplip.desktop and hplip-systray.desktop files before because we use Source100:
488 # (additionally there is/was a typo in HP's install because of the trailing blank at 'applications ')
489 #rm %{buildroot}%{_datadir}/applications/hplip*.desktop
490 #%suse_update_desktop_file -i %{name} System HardwareSettings Printing
491 # Let suse_update_desktop_file add X-SuSE-translate key to /etc/xdg/autostart/hplip-systray.desktop
492 # so that we can update its translations with translation-only packages.
493 #%suse_update_desktop_file %{buildroot}/etc/xdg/autostart/hplip-systray.desktop
494 # End of "Desktop menue entry stuff".
495 # Install the man page for /usr/bin/hpijs:
496 #install -d %{buildroot}%{_mandir}/man1
497 #install -m 644 %{SOURCE102} %{buildroot}%{_mandir}/man1/
498 # Begin "Desktop autostart notification tray stuff":
499 # Install the wrapper for hp-systray:
500 #install -m 755 %{SOURCE106} %{buildroot}%{_bindir}/hp-systray.wrapper
501 # Change /etc/xdg/autostart/hplip-systray.desktop to call hp-systray.wrapper:
502 #sed -i -e '/^Exec=hp-systray$/s/hp-systray/hp-systray.wrapper/;' %{buildroot}/etc/xdg/autostart/hplip-systray.desktop
503 # End of "Desktop autostart notification tray stuff".
504 # Find duplicate files:
505 #%fdupes -s %{buildroot}
508 #%if 0%{?suse_version} > 1130
509 #%icon_theme_cache_post
511 #gtk-update-icon-cache %{_datadir}/icons/hicolor || true
516 #%triggerin -- sane-backends
517 # As hplip can be used for plain printers it cannot "PreReq sane-backends".
518 # Therefore if sane-backends is installed it may be installed or updated after hplip.
519 # In this case trigger to add the SANE backend "hpaio" to /etc/sane.d/dll.conf if it is not there.
520 # To be safe there is a test that /etc/sane.d/dll.conf is writable.
521 #if [ -w /etc/sane.d/dll.conf ]
522 #then if ! grep -q 'hpaio' /etc/sane.d/dll.conf
523 # then echo -e '# The hpaio backend is provided by the hplip package:\n#hpaio' >>/etc/sane.d/dll.conf
529 # If the package was removed and if it was updated
530 # remove all byte-compiled Python .pyc (and perhaps .pyo) files
531 # which are created at run-time by Python in /usr/share/hplip/.
532 # Use a generic method via "find" so that it works in any case
533 # without the need to maintain a long list of individual files.
534 # Even if this may accidentally remove "foreign" .pyc/.pyo files
535 # which do not originate from matching .py files from this package
536 # (e.g. third-party stuff in /usr/share/hplip/), there is no damage
537 # because Python could re-create them or work only with .py files.
538 #find /usr/share/hplip/ -name '*.py[co]' -delete
542 #%if 0%{?suse_version} > 1130
543 #%icon_theme_cache_postun
545 #gtk-update-icon-cache %{_datadir}/icons/hicolor || true
548 # If the package was removed (but not if it was updated)
549 # then remove the hpaio lines in /etc/sane.d/dll.conf.
550 # Don't remove them when the hplip package was automatically
551 # replaced by the hplip17 package (via RPM obsoletes) or vice versa.
552 # Because postun of the old package runs last (after triggerin -- sane-backends)
553 # it is done via a special "ls" test if any libsane-hpaio.so exists
554 # (e.g. there could be only 32-bit installed on 64-bit hardware).
555 # If the "ls" test does not fail, some kind of HPLIP is installed.
556 # The package sane-backends may not be installed (see triggerin)
557 # and therefore the test that /etc/sane.d/dll.conf is writable.
558 # The "exit 0" is necessary, otherwise the postun script
559 # would exit with non-zero exit-code if the package was not removed.
561 #then if ! ls /usr/lib*/sane/libsane-hpaio.so* &>/dev/null
562 # then [ -w /etc/sane.d/dll.conf ] && sed -i -e '/hpaio/d' /etc/sane.d/dll.conf
576 %manifest hplip.manifest
577 %defattr(-, root, root)
578 /usr/share/license/%{name}
579 #%config %{_sysconfdir}/xdg/autostart/hplip-systray.desktop
580 #%dir %{_sysconfdir}/udev
581 #%dir %{_sysconfdir}/udev/rules.d
582 #%config %{_sysconfdir}/udev/rules.d/55-hpmud.rules
583 #%config %{_sysconfdir}/udev/rules.d/56-hpmud_add_printer.rules
584 #%config %{_sysconfdir}/udev/rules.d/56-hpmud_support.rules
585 #%config %{_sysconfdir}/udev/rules.d/86-hpmud_plugin.rules
588 #%{_bindir}/hp-check-plugin
590 #%{_bindir}/hp-colorcal
591 #%{_bindir}/hp-config_usb_printer
592 #%{_bindir}/hp-devicesettings
593 #%{_bindir}/hp-diagnose_plugin
594 #%{_bindir}/hp-diagnose_queues
596 #%{_bindir}/hp-faxsetup
597 #%{_bindir}/hp-firmware
599 #%{_bindir}/hp-levels
600 #%{_bindir}/hp-linefeedcal
601 #%{_bindir}/hp-makecopies
602 #%{_bindir}/hp-makeuri
604 #%{_bindir}/hp-pkservice
605 #%{_bindir}/hp-plugin
606 #%{_bindir}/hp-pqdiag
608 #%{_bindir}/hp-printsettings
612 #%{_bindir}/hp-sendfax
614 #%{_bindir}/hp-systray
615 #%{_bindir}/hp-testpage
616 #%{_bindir}/hp-timedate
617 #%{_bindir}/hp-toolbox
618 #%{_bindir}/hp-uninstall
619 #%{_bindir}/hp-unload
620 #%{_bindir}/hp-upgrade
621 #%{_bindir}/hp-wificonfig
622 #%{_libdir}/python%{py_ver}/site-packages/cupsext.*
623 #%{_libdir}/python%{py_ver}/site-packages/hpmudext.*
624 #%{_libdir}/python%{py_ver}/site-packages/pcardext.*
625 #%{_libdir}/python%{py_ver}/site-packages/scanext.*
627 #%dir /usr/lib/cups/backend
628 #/usr/lib/cups/backend/hpfax
629 %dir /usr/lib/cups/filter
630 /usr/lib/cups/filter/hpcups
631 #/usr/lib/cups/filter/hpcupsfax
632 #%doc %{_defaultdocdir}/%{name}/
633 #%{_datadir}/icons/hicolor/*/apps/HPmenu.png
634 #%{_datadir}/applications/%{name}.desktop
635 #%{_bindir}/hp-systray.wrapper
637 #%exclude %{_datadir}/hplip/data/models/models.dat
640 #%defattr(-, root, root)
641 #%config %{_sysconfdir}/hp/
642 #%config %{_sysconfdir}/cups/pstotiff.convs
643 #%config %{_sysconfdir}/cups/pstotiff.types
645 #%doc %{_mandir}/man1/hpijs.1.gz
646 #%{_libdir}/libhpip.*
647 #%{_libdir}/libhpmud.*
649 #%dir /usr/lib/cups/backend
650 #/usr/lib/cups/backend/hp
651 #%dir /usr/lib/cups/filter
652 #/usr/lib/cups/filter/foomatic-rip-hplip
653 #/usr/lib/cups/filter/hpcac
654 #/usr/lib/cups/filter/hplipjs
655 #/usr/lib/cups/filter/hpps
656 #/usr/lib/cups/filter/pstotiff
657 #%dir %{_datadir}/cups
658 #%dir %{_datadir}/cups/model
659 #%dir %{_datadir}/cups/model/manufacturer-PPDs
660 #%{_datadir}/cups/model/manufacturer-PPDs/%{name}/
661 #%{_datadir}/%{name}/data/models/models.dat
662 #%dir %attr(0774,root,lp) %{_var}/log/hp
665 #%defattr(-, root, root)
666 #%dir %{_libdir}/sane
667 #%{_libdir}/sane/libsane-hpaio.*
670 * Tue Apr 24 2012 jsmeix@suse.de
671 - hplip.SuSEfirewall2 is no longer provided
672 (see SUSE Bugzilla bnc#757354 comment #10).
673 * Thu Apr 12 2012 jsmeix@suse.de
674 - Upgraded to version 3.12.4:
675 Uninstall Support: User can uninstall complete HPLIP package
676 by running "hp-uninstall" command.
677 Upgrade Support: Settings can be configured using
678 "hp-systray -> settings -> Update settings" for notification
679 of newer version of HPLIP release. User can also upgrade to
680 latest version by running "hp-upgrade" command.
681 Queue Analyzer: Print/Fax queues can be analyzed by
682 running "hp-diagnose-queues" command or by clicking
683 on "Diagnose Queues" from toolbox.
684 Several more supported printers and all-in-one devices.
687 http://hplipopensource.com/hplip-web/release_notes.html
688 - Removed hp-toolbox.wrapper because the reason for it
689 is no longer valid (see SUSE Bugzilla bnc#755820).
690 - Added "BuildRequires: python-cups" to get special
691 RPM Provides tags for the printers supported by
692 this package (see SUSE Bugzilla bnc#735865).
693 * Wed Feb 8 2012 jsmeix@suse.de
694 - Upgraded to version 3.12.2:
695 Fixed digital signature mismatch issue for plugin download.
696 Removed unsupported features (Water Mark overlay, Job Storage,
697 PIN 2 Print) from the PS PPDs.
698 Several more supported printers and all-in-one devices.
701 http://hplipopensource.com/hplip-web/release_notes.html
702 * Thu Jan 12 2012 jsmeix@suse.de
703 - Upgraded to version 3.11.12:
704 Auto-detection and installation of missing plug-ins.
705 Designed tool to detect the missing plugin files and intimate
706 user about it and giving the path forward to install it.
707 SYSFS is replaced by ATTRS in udev rules.
708 Uses D-Bus from separate threads without locking.
709 Several more supported printers and all-in-one devices.
712 http://hplipopensource.com/hplip-web/release_notes.html
713 - change-udev-rules.diff changes ATTRS to ATTR (bnc#436085).
714 - no-chgrp_lp_hplip_Logdir.diff deactivates
715 the "chgrp lp -R /var/log/hp" in Makefile.am because
716 during install this results "Operation not permitted".
717 This is done in the files section via attr(0774,root,lp)
718 where mode 0774 matches to what is set in Makefile.am.
719 * Fri Oct 28 2011 badshah400@gmail.com
720 - Install icons of various sizes in hicolor icon directory for
721 better appearance in gnome-shell (bnc#713902).
722 - Add hicolor-icon-theme BuildRequires to own the hicolor icon
723 directory correctly and install icons in there
724 - Use appropriate icon theme macros in post scripts
725 - Modified hplip.desktop to use these hicolor icons
726 - In hplip.desktop replace the category "Settings" by "System" to
727 make it appear under the correct group "System Tools" rather
728 than "Others" in desktop menus.
729 * Sat Oct 15 2011 coolo@suse.com
730 - add libtool as buildrequire to make the spec file more reliable
731 * Thu Oct 13 2011 vuntz@opensuse.org
732 - Split the sane driver in a hplip-sane subpackage, so that it's
733 not necessary to install the full hplip tools to use an
734 all-in-one HP printer. See bnc#723870.
735 * Tue Oct 4 2011 jsmeix@suse.de
736 - Upgraded to version 3.11.10:
737 Fixed insecure tmp file handling in hpcupsfax.cpp CVE-2011-2722
738 see https://bugs.launchpad.net/hplip/+bug/809904 (bnc#704608).
739 New tech classes for HP OfficeJet Pro 8100,
740 HP Deskjet 3070 B611 series and HP Photosmart 7510 e-All-in-One.
741 Added new subtech class for HP Photosmart 6510 e-All-in-one.
742 Modified the error message which was displayed in case
743 of missing .asc file for manual plug-in install.
744 Several more supported printers and all-in-one devices.
747 http://hplipopensource.com/hplip-web/release_notes.html
748 * Fri Aug 12 2011 jsmeix@suse.de
749 - Upgraded to version 3.11.7:
750 A few more supported printers and all-in-one devices.
753 http://hplipopensource.com/hplip-web/release_notes.html
754 - Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451)
755 plus a leftover in CVE-2004-0801 (bnc#59233)
756 foomatic-rip-hplip is no longer installed and foomatic-rip
757 from the foomatic-filters RPM is used instead and the
758 "cupsFilter" entries in the PPDs are changed accordingly.
759 To be backward compatible with PPDs in /etc/cups/ppd/
760 for existing print queues a compatibility link
761 /usr/lib/cups/filter/foomatic-rip-hplip
762 which points to foomatic-rip is installed.
763 - The DefaultPageSize in the PPDs is no longer set to A4
764 if A4 is an available PageSize choice but left "as is"
765 because the DefaultPageSize in the PPD templates in
766 /usr/share/cups/model/ does not matter because the cupsd
767 sets the DefaultPageSize for PPDs in /etc/cups/ppd/
768 by default according to the locale that the cupsd runs in or
769 according to a DefaultPaperSize entry in /etc/cups/cupsd.conf.
770 - No longer "Correcting or removing non-working PPDs..."
771 because none of those cases which were fixed still exist
772 (i.e. all those cases are meanwhile fixed upstream).
773 * Fri May 13 2011 jsmeix@suse.de
774 - Upgraded to version 3.11.5:
775 Added LEDM ADF Scan support.
776 Added LEDM Wireless support.
777 Some more supported printers and all-in-one devices.
778 It may fix the inverted/wrong color problem in HPCUPS
779 (see Novell/openSUSE Bugzilla bnc #692905).
781 http://hplipopensource.com/hplip-web/release_notes.html
782 * Tue Mar 29 2011 jsmeix@suse.de
783 - Upgraded to version 3.11.3a:
784 Fixed hp-plugin plugin download error (no Suse bug), see
785 http://hplipopensource.com/hplip-web/release_notes.html
786 * Fri Mar 18 2011 jsmeix@suse.de
787 - Upgraded to version 3.11.3:
788 New device class StingrayOJ for HP OfficeJet 100 Mobile L411.
789 New filter hpps (HP PS filter for PostScript printers) currently
790 only used via hp-officejet_pro_8000_enterprise_a811a-ps.ppd.gz
791 Some more supported printers and all-in-one devices.
793 http://hplipopensource.com/hplip-web/release_notes.html
794 * Tue Feb 1 2011 jsmeix@suse.de
795 - Updated to version 3.11.1:
796 New encapsulation format for LJZJStream class.
797 Alignment of cartridges over LEDM (Low End Data Model).
798 LEDM dynamic scan resolution.
799 New fax protocol (Low End Data Model) support.
800 ADF and color scan for some HP LaserJet Pro and MFP devices.
801 Some more supported all-in-one devices.
802 Many bug fixes (no Suse bugs).
804 http://hplipopensource.com/hplip-web/release_notes.html
805 - Adapted change-udev-rules.diff for version 3.11.1
806 because the "DesignJet product (0x03f0xx14)" was added.
807 * Thu Jan 13 2011 jsmeix@suse.de
808 - hplip-3.9.8-CVE-2010-4267.patch fixes a remote buffer overflow
809 (CVE-2010-4267 and Novell/Suse Bugzilla bnc#336658).
810 * Wed Dec 29 2010 gber@opensuse.org
811 - Use more appropriate categories for hplip.desktop
812 'Settings HardwareSettings Printing' instead of 'System Monitor'
813 * Fri Dec 3 2010 jsmeix@suse.de
814 - Removed explicite RPM requirement for pyxml. At least since
815 openSUSE 11.1 and SLE11 pyxml is no longer required (pyxml was
816 required e.g. for openSUSE 10.3 and SLE10, see the entry below
817 dated "Wed Apr 2 14:40:57 CEST 2008") but meanwhile python-xml
818 alone is sufficient for "import xml.parsers.expat"
819 (see Novell/openSUSE Bugzilla bnc#656779 comment #3).
820 - Added "Obsoletes: hplip-hpcups" because HPLIP does not work
821 if the openSUSE packages hplip and hplip-hpijs are installed
822 together with a leftover PackMan package hplip-hpcups
823 (see Novell/openSUSE Bugzilla bnc#515005 comment #17).
824 - Do not pollute the build log file with zillions of meaningless
825 messages while "General tests and adjustments for all PPDs"
826 (compare the OpenPrintingPPDs.spec file).
827 * Wed Oct 27 2010 jsmeix@suse.de
828 - Added hp-systray.wrapper which is called
829 via /etc/xdg/autostart/hplip-systray.desktop
830 to increase desktop startup speed so that the purpose
831 of this hp-systray.wrapper is different to the
832 entry below dated "Tue Apr 8 14:56:53 CEST 2008".
833 hp-systray.wrapper tests via "lpstat" if a 'hp:/...'
834 print queue exists and exits otherwise.
835 This avoids that hp-systray with all its Python stuff must be
836 loaded when the desktop starts up only to let hp-systray do
837 its built-in test and exit if there is no HPLIP print queue
838 (see Novell/openSUSE Bugzilla bnc#649280).
839 - Updated to version 3.10.9:
840 New Scan protocol (Low End Data Model) support.
841 Many more supported all-in-one devices.
844 http://hplipopensource.com/hplip-web/release_notes.html
845 - Updated to version 3.10.6:
846 New protocol support (LEDM) for device status over Network
848 Some more supported all-in-one devices.
851 http://hplipopensource.com/hplip-web/release_notes.html
852 - Updated to version 3.10.5:
853 Fixed "libusb couldn't open USB device, Permission denied"
854 error message in openSUSE.
855 Several more supported all-in-one devices.
858 http://hplipopensource.com/hplip-web/release_notes.html
859 * Wed Sep 15 2010 aj@suse.de
860 - Change BuildRequires for sane-backends devel split.
861 * Thu Apr 1 2010 jsmeix@suse.de
862 - Updated to version 3.10.2:
863 The hpcups driver is again updated to better align with
864 the product specifications for various printer models.
865 Several more supported all-in-one devices.
866 Several bug fixes (no Suse bugs).
868 http://hplipopensource.com/hplip-web/release_notes.html
869 - Updated to version 3.9.12:
870 The hpcups driver is updated to better align with the
871 product specifications for various printer models.
872 Several more supported printers.
873 Several bug fixes (no Suse bugs).
875 http://hplipopensource.com/hplip-web/release_notes.html
876 - Updated to version 3.9.10:
877 The hpcups driver has been re-written. It does no longer do
878 bi-directional IO. Printer specific settings are no longer
879 hard coded, but are controlled by the PPD file.
880 Many more supported printers and all-in-one devices.
881 Several bug fixes (no Suse bugs).
883 http://hplipopensource.com/hplip-web/release_notes.html
884 - hpcups.drv.in-3.9.8-reorder.patch and
885 hpcups-ppds-3.9.8-reorder.tar.bz2 are obsolete
886 because it is fixed in the source.
887 - create_hal_global_fdi_from_hpmud_rules is obsolete
888 because HAL is no longer used to manage ACLs
889 (see Novell/Suse Bugzilla bnc#542473 comment#13).
890 - change-udev-rules.diff fixes now also 56-hpmud_support.rules
891 (see for example Novell/Suse Bugzilla bnc#577035) and
892 it should trigger udev's generic ACL support for SANE
893 via 'ENV{libsane_matched}="yes"' in 55-hpmud.rules
894 (see Novell/Suse Bugzilla bnc#542473 comment#14).
895 Perhaps the latter could be better achieved with the
896 configure option --enable-udev-acl-rules (default=no)
897 which installs 40-hplip.rules instead of 55-hpmud.rules
898 but this was not at all tested up to now and it is
899 likely not backward compatible (e.g. for openSUSE 11.2).
900 * Thu Oct 15 2009 jsmeix@suse.de
901 - Also moved /usr/share/hplip/data/models/models.dat
902 and /etc/hp/hplip.conf to the hplip-hpijs sub-package
903 so that the "hp" backend can autodetect printers
904 (see Novell/Suse Bugzilla bnc#546856 comment#10).
905 * Thu Oct 15 2009 jsmeix@suse.de
906 - In the hplip-hpijs sub-package made weak package dependencies
907 even weaker to avoid bloating of minimal installations. Now
908 the hplip-hpijs sub-package only "Enhances: ghostscript_any"
909 and "Suggests: hplip" (see Novell/Suse Bugzilla bnc#546893).
910 - Enlarged hplip-hpijs to be useful for a CUPS print queue.
911 Moved the following files from the hplip main package
912 to the hplip-hpijs sub-package: cups/backend/hp,
913 cups/filter/foomatic-rip-hplip, cups/filter/hpcac,
914 cups/filter/hpcups, cups/filter/hplipjs,
915 and all PPD files (see Novell/Suse Bugzilla bnc#546856).
916 * Wed Sep 16 2009 jsmeix@suse.de
917 - hpcups.drv.in-3.9.8-reorder.patch addresses two issues
918 in the 3.9.8 hpcups.drv.in file from which dynamic PPDs
920 It re-orders common paper sizes so that normal, fullbleed
921 and duplex papers sizes are grouped together in the PPD.
922 It changes the LJColor device class from RGBW to RGB
923 color space. The K band was not being printed by hpcups.
924 - The hpcups-ppds-3.9.8-reorder.tar.bz2 source file contains
925 the matching static PPDs which are fixed according to what
926 hpcups.drv.in-3.9.8-reorder.patch fixes for dynamic PPDs.
927 * Thu Aug 6 2009 jsmeix@suse.de
928 - The hplip.SuSEfirewall2 source file provides support
929 to open UDP ports 5353(mdns) and 427(svrloc) for mDNS support
930 according to the init-suse-firewall in the tar ball
931 (see Novell/Suse Bugzilla bnc#528819).
932 - Updated to version 3.9.8:
933 Added mDNS/Bonjour support.
934 Enabled mDNS as the default network search mechanism.
935 Added front-end support for mDNS/Bonjour in setup.
936 Added hpmud support for mDNS.
937 The tar ball provides a init-suse-firewall init script
938 for mDNS support which is not included in the RPM.
939 Fixed wificonfig associate issue when called from hp-setup.
940 Added 40-hplip.rules to the tar ball for distros with
941 udev ACL support. Use configure option --enable-udev-acl-rules
942 to install 40-hplip.rules instead of 55-hpmud.rules.
943 Fixed Normal Grayscale on DJ8xx and DJ8x5 for HPCUPS.
944 Added -lsane link option for libsane-hpaio in Makefile.
945 Many more supported printers and all-in-one devices.
946 Many bug fixes (no Suse bugs).
948 http://hplipopensource.com/hplip-web/release_notes.html
949 * Wed Jul 1 2009 jsmeix@suse.de
950 - Fixed hp-toolbox.wrapper by adding "..." quotation when
951 calling 'test -x "$( type -p whatever )"' because
952 when 'type -p whatever' fails calling 'test -x' without
953 an explicite empty argument would result true
954 (see Novell/Suse Bugzilla bnc#503322 comment#6).
955 - fix_gcc44_glib.diff is obsolete since version 3.9.6b
956 because it is fixed in the source.
957 - Updated to version 3.9.6b:
958 The new native CUPS driver (HPCUPS) is now the default
959 printer driver. HPCUPS provides new paper sizes for borderless
960 and duplex so that there are now HPCUPS PPDs with exact
961 printable regions for normal, borderless and duplex paper sizes
962 which should fix https://bugs.launchpad.net/hplip/+bug/173857
963 For now HPIJS (and its matching foomatic-rip-hplip PPDs)
964 are still included (HPIJS can co-exist with HPCUPS).
965 A new utility 'hp-wificonfig' can pre-configure wifi-capable
966 printers on a wireless network. Once pre-configured, a queue
967 for the printer can be set up as usual using hp-setup.
968 Renamed hp-devicesetup to hp-devicesettings.
969 Added CUPS filter hpcupsfax and new hpcups fax PPDs.
970 Bumped libhpmud.so.0.0.4 to libhpmud.so.0.0.5.
971 Integrated --enable-lite-build (default=no) into configure.in
972 which can be used to get a minimal print/scan only build with
973 limited Plugin support (Novell/Suse provides the "full" build).
974 Many more supported printers and all-in-one devices.
975 Many bug fixes (no Suse bugs).
977 http://hplipopensource.com/hplip-web/release_notes.html
978 * Tue Jun 2 2009 jsmeix@suse.de
979 - fix_gcc44_glib.diff fixes GCC/glibc issues, here in particular
980 "invalid conversion from 'const char*' to 'char*'" errors.
981 The upstream bug report is
982 https://bugs.launchpad.net/hplip/+bug/382720
983 * Tue May 5 2009 jsmeix@suse.de
984 - force-qt4-for-hp-systray-desktop.diff is obsolete because
985 configure uses --enable-qt4 by default now which obsoletes
986 also "Recommends: python-qt" (only python-qt4 is required).
987 - Updated to version 3.9.4b:
988 A few bug fixes (no Suse bugs).
990 http://hplipopensource.com/hplip-web/release_notes.html
991 - Updated to version 3.9.4:
992 Added PolicyKit support. Command line tools like hp-setup,
993 hp-plugin, etc. are now run as regular user.
994 Added GPG digital signature support to the HPLIP plug-in
995 to validate that the plug-in is not corrupted and authentic.
996 Added native CUPS driver support (hpcups) currently for
997 testing only and added static PPDs for hpcups.
998 Some more supported printers and all-in-one devices
999 (in particular a few Designjet PostScript printers).
1000 Many bug fixes (no Suse bugs).
1002 http://hplipopensource.com/hplip-web/release_notes.html
1003 - Updated to version 3.9.2:
1005 Support policy change. End of support date is added to
1006 all HPLIP supported devices, for details see
1007 http://hplipopensource.com/node/314
1008 New file /var/lib/hp/hplip.state for runtime variable data.
1009 Removed any variable data from /etc/hp/hplip.conf.
1010 Some more supported printers and all-in-one devices.
1011 Major bug fixing on Qt4 solution (no Suse bugs).
1013 http://hplipopensource.com/hplip-web/release_notes.html
1014 - Updated to version 2.8.12:
1015 From this release forward, all PPD files - even for devices
1016 that require a binary plug-in - will reside in the tarball
1017 (the "plugin PPDs" are moved into hpijs.drv).
1018 Preview (alpha) release of the Qt4 version of HPLIP.
1019 Replaced "MODE 0666" udev device permissions with
1020 "console permissions via HAL".
1021 No new supported devices.
1022 Several bug fixes (no Suse bugs).
1024 http://hplipopensource.com/hplip-web/release_notes.html
1025 - Updated to version 2.8.10:
1026 Bumped libhpmud version for new plugin attribute.
1027 Many more supported printers and all-in-one devices.
1028 Several bug fixes (no Suse bugs).
1030 http://hplipopensource.com/hplip-web/release_notes.html
1031 - Updated to version 2.8.9:
1032 Added Qt4 configure option but Qt3 is the default.
1033 Many bug fixes (no Suse bugs).
1034 Several more supported printers, in particular
1035 some Compact Photo (QuickConnect) printers.
1037 http://hplipopensource.com/hplip-web/release_notes.html
1038 * Wed Dec 3 2008 lnussel@suse.de
1039 - use "usb" instead of "usb_device" (bnc#438867)
1040 * Wed Dec 3 2008 jsmeix@suse.de
1041 - Moved /etc/hal/fdi/policy/10osvendor/70-hpmud.fdi
1042 to /usr/share/hal/fdi/information/20thirdparty/70-hpmud.fdi
1043 (see Novell/Suse Bugzilla bnc#438867).
1044 * Tue Nov 18 2008 jsmeix@suse.de
1045 - Let suse_update_desktop_file add X-SuSE-translate key
1046 to /etc/xdg/autostart/hplip-systray.desktop so that we can
1047 update its translations with translation-only packages
1048 (see Novell/Suse Bugzilla bnc#445738).
1049 * Tue Oct 21 2008 jsmeix@suse.de
1050 - Changed change-udev-rules.diff to jump to the end
1051 if SUBSYSTEM!="usb" and replaced SYSFS by ATTR
1052 (see Novell/Suse Bugzilla bnc#436085).
1053 * Tue Sep 16 2008 jsmeix@suse.de
1054 - Added "Recommends: hplip" to hplip-hpijs because when only
1055 hplip-hpijs is there, it should tell the dependency resolver
1056 that for usual functionality, hplip should be installed
1058 * Thu Sep 11 2008 jsmeix@suse.de
1059 - force-qt4-for-hp-systray-desktop.diff forces Gnome and KDE
1060 to execute hp-systray as "hp-systray --qt4" via
1061 /etc/xdg/autostart/hplip-systray.desktop so that
1062 hp-systray docks to the notification tray of the desktops.
1063 Because of this the python-qt4 RPM is now required
1064 (see Novell/Suse Bugzilla bnc#377575).
1065 This additional requirement should be no problem because
1066 in an upcoming release HPLIP is converted over to Qt4, see
1067 https://bugs.launchpad.net/hplip/+bug/231978/comments/7
1068 and then the "Recommends: python-qt" can be dropped
1069 (see the entry below) but currently only hp-systray
1070 can be used with Qt4.
1071 * Wed Sep 10 2008 jsmeix@suse.de
1072 - Do no longer have a hard RPM requirement for python-qt
1073 (now there is only "Recommends: python-qt") to be able
1074 to provide hplip even on a distribution without python-qt.
1075 Without python-qt all GUI stuff would fail but
1076 several /usr/bin/hp-* tools have a command line
1077 option to run in non-graphical mode so that the basic driver
1078 functionality still works even without python-qt.
1079 - Have versioned "Obsoletes" for hpijs-standalone to meet our
1080 policies even if the real intention is that any installed
1081 version of hpijs-standalone is replaced and explain the
1082 unversioned "Obsoletes" for hplip17 and hplip17-hpijs
1083 (see Novell/Suse Bugzilla bnc#251830).
1084 * Tue Sep 9 2008 jsmeix@suse.de
1085 - The configure option disable-foomatic-xml-install
1086 does no longer exist.
1087 - Updated to version 2.8.7:
1088 Some bug fixes (no Suse bugs).
1089 Some more supported printers.
1090 For details see release_notes.html
1091 - Updated to version 2.8.6b:
1092 Replaced the doc directory with an abbreviated web document
1093 (there is no longer hpijs.html and device_classes.html).
1094 Redesigned the proprietary plugin support. There is now only
1095 one plugin that is valid for each HPLIP release, see
1096 https://answers.launchpad.net/hplip/+question/30595
1097 Changed the hpijs.drv to support multiple products via
1098 multiple "Product" entries in the PPD but see
1099 https://bugs.launchpad.net/hplip/+bug/235148
1100 Several bug fixes (no Suse bugs).
1101 Many more supported printers.
1102 For details see release_notes.html
1103 - Updated to version 2.8.5:
1104 Major toolbox (HP Device Manager) revamp/refresh.
1105 More dbus support (live status updating).
1106 hp-systray will exit if no HPLIP installed queues found which
1107 obsoletes HPLIP-2.8.4-systray_exit_if_no_device_2.patch
1108 Many bug fixes (no Suse bugs).
1109 Several more supported printers.
1110 For details see release_notes.html
1111 * Fri Sep 5 2008 jsmeix@suse.de
1112 - Keep all PPDs even if cupstestppd FAILs.
1113 With each CUPS version upgrade cupstestppd finds more
1114 and more errors so that more and more PPDs would be
1115 no longer included in the RPM which have been included
1116 before which results a regression.
1117 As far as we know there have been no problems at all because of
1118 not strictly compliant PPDs in HPLIP so that it is much better
1119 to provide all PPDs so that the matching printers can be used
1120 than to be rigorous regarding compliance to the PPD spec.
1121 * Thu Sep 4 2008 jsmeix@suse.de
1122 - Changed the "Conflicts: hpijs-standalone" in hplip-hpijs
1123 to "Obsoletes: hpijs-standalone" regardless of any version.
1124 hplip-hpijs and hpijs-standalone both contain /usr/bin/hpijs
1125 so that both packages have a RPM conflict.
1126 But when the minimalist hpijs-standalone is to be replaced
1127 by the full-featured hplip, hplip requires hplip-hpijs
1128 and this should silently supersede hpijs-standalone
1129 regardless of any version (see Novell/Suse Bugzilla bnc#388149).
1130 * Thu Aug 14 2008 jsmeix@suse.de
1131 - Removed the hplip init script which is obsolete since
1132 version 2.8.4 where hpssd is gone and replaced by
1133 hp-systray, see Novell/Suse Bugzilla bnc#390663.
1134 * Tue Apr 29 2008 jsmeix@suse.de
1135 - Added RPM requirement for python-gobject2 because the dbus stuff
1136 in HPLIP requires the Python module gobject but there is no
1137 automated RPM requirement for python-gobject2, see
1138 https://answers.launchpad.net/hplip/+question/30741
1139 * Thu Apr 10 2008 jsmeix@suse.de
1140 - HPLIP-2.8.4-systray_exit_if_no_device_2.patch lets hp-systray
1141 exit if the HPLIP driver seems to be not in use (i.e. if there
1142 is neither a 'hp:/...' nor a 'hpfax:/...' print queue), see
1143 https://bugs.launchpad.net/hplip/+bug/213938
1144 This patch obsoletes the whole hp-systray.wrapper stuff,
1145 see the entry below and Novell/Suse Bugzilla bnc#377885.
1146 * Tue Apr 8 2008 jsmeix@suse.de
1147 - Added hp-systray.wrapper which is a wrapper for hp-systray
1148 which runs it only if there is a 'hp:/...' print queue
1149 and changed /etc/xdg/autostart/hplip-systray.desktop
1150 to run the wrapper, see Novell/Suse Bugzilla bnc#377885.
1151 * Thu Apr 3 2008 jsmeix@suse.de
1152 - Updated to version 2.8.4:
1153 Elimination of all persistent startup daemons.
1154 The last daemon hpssd has been replaced with hp-systray.
1155 All interprocess communication uses now dbus.
1156 Therefore dbus-1-python version 0.80 or greater is required.
1157 PC send fax requires dbus and a running hp-systray to operate
1158 but hp-toolbox and hp-sendfax launch hp-systray automatically
1159 and there is also /etc/xdg/autostart/hplip-systray.desktop.
1160 When no HPLIP tools are running (e.g. hp-toolbox),
1161 and the user closes or disables hp-systray,
1162 there will be no HPLIP processes running whatsoever.
1163 Many bug fixes (no Suse bugs).
1164 One more supported LaserJet ZJStream printers (M1120),
1165 one OfficeJet (J6400), and two Photosmart (C4340, B8800)
1166 where the latter has a new printer device class (PSB9100).
1167 For details see release_notes.html
1168 - Adapted the hplip init script to provide backward compatibility:
1169 It still exists to avoid that printer/scanner setup tools fail
1170 when they try to enable the "hplip" service but all it does
1171 is to stop a possibly running hpssd.
1172 * Wed Apr 2 2008 jsmeix@suse.de
1173 - Exchanged create_hal_global_fdi_from_models.dat with
1174 create_hal_global_fdi_from_hpmud_rules which creates the
1175 global HAL 70-hpmud.fdi file during build-time from the
1176 55-hpmud.rules file to be in sync with the udev rules file
1177 and to make sure to have all possible HPLIP device IDs, see
1178 https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/195782
1179 - Require the exact matching version of the hpijs sub-package
1180 to have the correct libhpip and libhpmud installed.
1181 - Require pyxml to have the xml.parsers.expat Python module,
1182 see https://answers.launchpad.net/hplip/+question/25696
1183 * Tue Feb 26 2008 jsmeix@suse.de
1184 - Static "hpijs" PPD files via enable-foomatic-ppd-install
1185 require foomatic-rip-hplip via their cupsFilter entries
1186 so that enable-foomatic-rip-hplip-install is also needed.
1187 See https://answers.launchpad.net/hplip/+question/25654
1188 and see Novell/Suse Bugzilla bnc#364419.
1189 * Thu Feb 21 2008 jsmeix@suse.de
1190 - create_hal_global_fdi_from_models.dat creates the
1191 global HAL 70-hpmud.fdi file during build-time from the
1192 models.dat file (see Novell/Suse Bugzilla bnc#336658).
1193 - Built version 2.8.2 in the traditional way with readymade
1194 PPD files in /usr/share/cups/model/manufacturer-PPDs/hplip/
1195 (i.e. without hpijs.drv and foomatic-rip-hplip)
1196 - Updated to version 2.8.2:
1197 HPIJS PPD files are now created with the CUPS DDK instead of
1198 the foomatic database. Dynamic PPD files are now supported
1199 via the hpijs.drv file.
1200 Added foomatic-rip-hplip support. Foomatic-rip-hplip is for
1201 distros that do not have the latest foomatic-rip which is
1202 required for drv support.
1203 Updated the krgb patch for gpl ghostscript 8.61.
1204 Updated the "hp" backend to return only hplip supported devices
1205 during device discovery. If the device is not in models.dat
1206 the "hp" backend will exclude it.
1207 Changed margins to 0.125 inch from 0.
1208 Bumped libhpmud from 0.0.1 to 0.0.2 for support_type
1209 in hpmud_query_model().
1210 Several bug fixes (no Suse bugs).
1211 Several more supported printers (some more ZJStream printers).
1212 - Updated to version 2.7.12:
1213 Added PJL support to "hp" backend which provides in-band
1215 Bumped libhpmud from 0.0.0 to 0.0.1 for statustype support
1216 in hpmud_query_model().
1217 Several bug fixes (no Suse bugs).
1218 Several more supported LaserJet printers, one ZJStream printer,
1219 one LJm1005 printer with binary-only plugin (LaserJet M1005 MFP).
1220 * Fri Nov 9 2007 jsmeix@suse.de
1221 - Changed rchplip (i.e. /etc/init.d/hplip):
1222 Added "$local_fs $remote_fs $syslog" to Required-Start
1223 to be on the safe side and added a line "export HOME=/tmp"
1224 to mitigate Novell/Suse Bugzilla bnc#339443.
1225 * Tue Oct 23 2007 jsmeix@suse.de
1226 - Updated to version 2.7.10:
1227 New LJZjsMono printer device class for ZJStream printers.
1228 ZJStream printers require JBIG which has issues
1229 (see Novell/Suse Bugzilla bnc#263181). Therefore the support
1230 for ZJStream printers is provided only via a binary-only plugin
1231 which is downloaded by "hp-setup" from the HP web-site only after
1232 the user has accepted the license terms.
1233 Applied patch for issue CVE-2007-5208 (hpssd command injection)
1234 Several bug fixes (no Suse bugs).
1235 Two more supported Photosmart and Officejet printers.
1236 For details see release_notes.html
1237 - Updated to version 2.7.9:
1238 Made the default udev 55-hpmud.rules file more permissive
1239 (ie: MODE=0666) so that also device status works for any user.
1240 This looks sufficiently secure by default because the
1241 55-hpmud.rules matches now only for those USB product IDs
1242 which belong to HP printers and all-in-one devices so that
1243 other HP USB devices like keyboard, mouse, and mass storage
1244 devices won't get MODE=0666 by accident.
1245 All known product-ids that HPLIP/HPIJS supports have been
1246 added to the model.dat file.
1247 Many bug fixes (no Suse bugs).
1248 Some more supported Photosmart and Officejet printers.
1249 For details see release_notes.html
1250 * Tue Sep 18 2007 jsmeix@suse.de
1251 - Add a line-feed to the end of all PPDs to fix those PPDs where
1252 it is missing. See Novell/Suse Bugzilla bnc#309832:
1253 Unix/Linux text files must end with a line-feed.
1254 Otherwise reading the last line results EOF and then some
1255 programs may ignore the last line.
1256 * Wed Sep 12 2007 jsmeix@suse.de
1257 - Ignore cupstestppd FAILs because of errors in UIConstraints
1258 and/or NonUIConstraints which are detected since cupstestppd
1259 in CUPS > 1.2.7 (i.e. since openSUSE 10.3).
1260 See Novell/Suse Bugzilla bnc#309822: When this bug is fixed,
1261 cupstestppd would no longer result zero exit code.
1262 In the long run the PPDs should be fixed but as far as we know
1263 there have been no problems because of such UIConstraints errors
1264 so that it should be o.k. let those PPDs pass even if they are
1265 not strictly compliant.
1266 * Tue Aug 7 2007 jsmeix@suse.de
1267 - Changed /etc/udev/rules.d/55-hpmud.rules (via a change in
1268 change-udev-rules.diff) from OWNER="root" GROUP="lp" MODE="0660"
1269 to OWNER="root" GROUP="lp" MODE="0664" (i.e. allow read
1270 permissions for HP USB device files for normal users).
1271 Reason: Without read permissions even a simple command
1272 like "lsusb" cannot list HP USB devices to normal users
1273 which could cause unnecessary confusion.
1274 Furthermore have only read permissions for HP USB device files
1275 for normal users is in compliance to the default assumptions
1276 in upstream HPLIP and it should be sufficiently secure because
1277 for retrieving data from the device a matching request must be
1278 sent to the device which requires write permissions.
1279 * Thu Aug 2 2007 jsmeix@suse.de
1280 - Updated to version 2.7.7:
1281 Many bug fixes (no Suse bugs).
1282 Some more supported Photosmart printers.
1283 For details see release_notes.html
1284 - fix-printing-white-spaces-and-empty-lines.diff is no longer
1285 needed because the bug is now fixed in the source.
1286 * Thu Jul 26 2007 jsmeix@suse.de
1287 - Changed change-udev-rules.diff so that 55-hpmud.rules matches
1288 also against the new SUBSYSTEM=="usb" but keep "usb_device"
1289 for backward compatibility (Novell/Suse Bugzilla bnc#294161).
1290 * Fri Jul 6 2007 jsmeix@suse.de
1291 - fix-printing-white-spaces-and-empty-lines.diff fixes printing
1292 white spaces and empty lines according to a mail from HP
1293 on the hplip-help@lists.sourceforge.net list.
1294 * Tue Jul 3 2007 jsmeix@suse.de
1295 - Updated to version 2.7.6:
1296 No more start-up daemons:
1297 hpiod is replaced by new direct device I/O (via hpmud library),
1298 hpssd (for device status) still exists but is started by default
1299 as a daemon by the first user who needs it which is not nice
1300 because this results a random user which runs hpssd therefore
1301 we (i.e. Novell/Suse) still provide /etc/init.d/hplip which
1302 is used to start hpssd as before during system boot.
1303 Many bug fixes (no Suse bugs) and some enhancements.
1304 Some more supported Photosmart, Color LaserJet, and DeskJet
1306 For details see release_notes.html
1307 * Thu Jun 21 2007 jsmeix@suse.de
1308 - Added stop_on_removal to preun, insserv_cleanup to postun,
1309 and ldconfig to post and postun for the hpijs sub-package.
1310 * Thu May 24 2007 ro@suse.de
1311 - Added libusb-devel to BuildRequires.
1312 * Fri Apr 27 2007 jsmeix@suse.de
1313 - Updated to version 1.7.4a:
1314 Resolved a build issue that caused a couple missing files
1315 in the 1.7.4 release and a fix for hp-check (no Suse bugs).
1316 * Mon Apr 23 2007 jsmeix@suse.de
1317 - Updated to version 1.7.4:
1318 Many bug fixes (no Suse bugs).
1319 Some more supported DeskJet printers.
1320 For details see release_notes.html
1321 * Mon Mar 26 2007 jsmeix@suse.de
1322 - Updated to version 1.7.3:
1323 Many bug fixes (no Suse bugs).
1324 No new supported models but enhancements for some models.
1325 For details see release_notes.html
1326 * Thu Mar 1 2007 jsmeix@suse.de
1327 - Updated to version 1.7.2:
1328 Several more supported Officejet Pro devices.
1329 New OJProKx50 device class (derived from DJGenericVIP).
1330 Major hp-toolbox upgrade/redesign.
1331 Many bug fixes (no Suse bugs).
1332 fix-buffer-overflow.patch and hplip-1.7.1-1.patch are no longer
1333 needed because the bugs are now fixed in the sources.
1334 * Fri Feb 16 2007 jsmeix@suse.de
1335 - Added a fix for fat.c to fix-buffer-overflow.patch
1336 to aviod access when array subscript is above array bounds
1337 (Suse Bugzilla bnc#243047).
1338 - Remove all byte-compiled Python .pyc (and perhaps .pyo)
1339 files which are created at run-time in /usr/share/hplip/
1340 via preun script (Suse Bugzilla bnc#244451).
1341 * Mon Feb 5 2007 jsmeix@suse.de
1342 - fix-buffer-overflow.patch fixes a too small string buffer
1343 which overflows in line 310 in ljcolor.cpp.
1344 - Moved the hpijs man page to the hplip-hpijs sub-package
1345 so that there is no same file in hplip and hpijs-standalone
1346 (hplip-hpijs and hpijs-standalone conflict with each other).
1347 * Thu Feb 1 2007 jsmeix@suse.de
1348 - hplip-1.7.1-1.patch from HP fixes Deskjet D4100/D4160
1349 christmas-tree (firmware hangs up with flashing LEDs)
1350 on second print job.
1351 - Removed /usr/bin/hpijs.without-libcups from hplip-hpijs
1352 to get rid of confusing RPM package requirements (hplip-hpijs
1353 requires cups-libs because of /usr/bin/hpijs).
1354 - Created new package hpijs-standalone and hpijs-standalone.spec
1355 for a special version of /usr/bin/hpijs which neither needs
1356 a HPLIP library nor a CUPS library to run it.
1357 * Wed Jan 31 2007 jsmeix@suse.de
1358 - Removed explicite fstack-protector-all from CFLAGS and CXXFLAGS
1359 because fstack-protector will be enabled by default.
1360 * Mon Jan 29 2007 jsmeix@suse.de
1361 - Package 'sane' was renamed to 'sane-backends'.
1362 Adapted it so that it works with 'sane-backends'.
1363 * Thu Jan 25 2007 jsmeix@suse.de
1364 - Updated to version 1.7.1:
1365 Many bug fixes (no Suse bugs).
1366 No new supported models but enhancements for several models.
1367 For details see release_notes.html
1368 - Removed the fix for uninitialized file pointer in api/model.c
1369 from fix-uninitialized-variables.diff because it is now
1370 fixed in the sources.
1371 * Fri Jan 19 2007 jsmeix@suse.de
1372 - Added fix for uninitialized file pointer in api/model.c to
1373 fix-uninitialized-variables.diff (Suse Bugzilla bnc#236709).
1374 * Fri Jan 12 2007 jsmeix@suse.de
1375 - Since version 1.6.12 /usr/bin/hpijs is linked with libcups
1376 so that the package hplip-hpijs could be no longer installed
1377 without at least the package cups-libs. Therefore an additional
1378 special /usr/bin/hpijs.without-libcups is built which does not
1379 require the CUPS library.
1380 * Wed Dec 20 2006 jsmeix@suse.de
1381 - Updated to version 1.6.12:
1382 Three more supported LaserJet printers.
1383 Many bug fixes (no Suse bugs).
1384 For details see release_notes.html
1385 Added SANE_DEBUG_HPAIO support for the hpaio SANE backend.
1386 The new models.dat file replaces the .xml files. The hplip_api
1387 can be used to get model attributes without running the HPLIP
1388 daemons. See hplip_api.h for reference (this affects the Suse
1389 Bugzilla bugs bnc#184798 and bnc#184824).
1390 - Fixed hp-toolbox.wrapper to catch 'error' regardless of the case
1391 (see Suse Bugzilla bnc#229620).
1392 * Tue Oct 17 2006 jsmeix@suse.de
1393 - Updated to version 1.6.10:
1394 Several more supported LaserJet printers.
1395 Many bug fixes (no Suse bugs).
1396 - Fixed typo in keyword in some LaserJet PPDs
1397 ("* PageRegion" -> "*PageRegion").
1398 * Mon Sep 18 2006 jsmeix@suse.de
1399 - Updated to version 1.6.9:
1400 Added support CD/DVD label printing (ie: PS D5100).
1401 Several more supported Photosmart printers.
1402 Many bug fixes (no Suse bugs).
1403 * Mon Sep 11 2006 jsmeix@suse.de
1404 - Using generalised cupsext* and pcardext* in the files section
1405 (instead of explicit only cupsext.so and pcardext.so)
1406 so that it works now both for Python 2.4 and 2.5
1407 (the latter installs additional *.egg-info files).
1408 * Mon Sep 4 2006 jsmeix@suse.de
1409 - Exchanged the hard RPM requirement for ghostscript_any by a
1410 supplements entry for hplip-hpijs so that there is no longer
1411 a mutual (cyclic) hard RPM dependency between hplip-hpijs
1412 and ghostscript-library.
1413 * Thu Aug 3 2006 jsmeix@suse.de
1414 - Updated to version 1.6.7:
1415 Changed from dynamic IP ports to static IANA IP ports
1416 for hpiod (2208) and hpssd (2207).
1417 Two more supported Photosmart printers.
1418 Several bug fixes (no Suse bugs).
1419 * Mon Jul 17 2006 jsmeix@suse.de
1420 - Fixed PPDs which contain "1284DeviceId" which must be
1421 "1284DeviceID" (detected by new CUPS 1.2 cupstestppd).
1422 * Wed Jun 28 2006 jsmeix@suse.de
1423 - Updated to maintenance release 1.6.6a:
1424 This provides various minor fixes and enhancements.
1425 For details see doc/release_notes.html in the source
1426 or /usr/share/doc/packages/hplip/release_notes.html
1427 * Mon Jun 19 2006 jsmeix@suse.de
1428 - Updated to version 1.6.6:
1429 HPLIP has reached 1.0 status.
1430 With this release a date encoded revision number x.y.m is used:
1431 x = major release number, y = year (6=2006), m = month (6=June)
1432 Correct URLs in HTML docs (obsoletes fix-doc-hrefs.diff).
1433 Removed DeviceOpen from hp backend. This fixes two problems:
1434 1) usblp will no longer be removed for device discovery
1435 2) device discovery will no longer cause Inkjets to power-up.
1436 Added hpaio.desc file for SANE.
1437 Several more supported printers.
1438 - Cleaned up build (simplified spec file):
1439 Changed install dir for PPDs and doc in Makefile.am.
1440 Using configure without rpm-install.
1441 Using configure with --disable-cups-install.
1442 Links to work around inconsistent naming of python scripts
1443 and links to hpfax backend and its associated PPD file
1444 are no longer needed.
1445 * Fri Jun 9 2006 jsmeix@suse.de
1446 - Added man page for /usr/bin/hpijs (hpijs.1.gz).
1447 - Fixed wrong URLs in HTML documentation (fix-doc-hrefs.diff).
1448 - Added links to work around inconsistent naming of python scripts.
1449 - Added links to hpfax backend and its associated PPD file
1450 to make them available as usual for CUPS setup tools.
1451 * Mon May 22 2006 jsmeix@suse.de
1452 - Fixed typo (missing '"') in hplip-init-script.diff
1453 * Fri May 19 2006 jsmeix@suse.de
1454 - Updated to version 0.9.11:
1455 Revised and updated documentation.
1456 Some more supported all-in-one devices and printers.
1457 Several bug fixes (no Suse bugs).
1458 - Updated to version 0.9.10:
1459 Several bug fixes (no Suse bugs).
1460 - Updated to version 0.9.9:
1461 Uses libusb for all USB I/O.
1462 CUPS USB DeviceURIs must be changed from
1463 "hp:/hp_model?device=/dev/usb/lpX" (no longer supported)
1464 to "hp:/hp_model?serial=xxxxxxxx".
1465 One more supported all-in-one device.
1466 Several bug fixes (no Suse bugs).
1467 - Updated to version 0.9.8:
1468 New PC send fax support via special CUPS backend (hpfax)
1469 and special HP-Fax-hplip.ppd PPD file
1470 and a new send fax UI (hp-sendfax).
1471 Some more supported printers.
1472 Several bug fixes (no Suse bugs).
1473 * Wed Apr 26 2006 jsmeix@suse.de
1474 - Fixed PPDs for "LaserJet 5Si" and "LaserJet 5MP"
1475 (see Suse Bugzilla bnc#164991).
1476 * Fri Feb 24 2006 jsmeix@suse.de
1477 - Fixed an array index underflow (for LJ1010, LJ1012)
1478 in ljfastraster.cpp (Suse Bugzilla bnc#152720).
1479 * Wed Jan 25 2006 mls@suse.de
1480 - converted neededforbuild to BuildRequires
1481 * Thu Jan 12 2006 jsmeix@suse.de
1482 - Set compiler flag "-fstack-protector-all" to build it with
1483 "Stack Protector" via a so called "canary" (requires gcc >= 4.1)
1484 * Wed Jan 4 2006 jsmeix@suse.de
1485 - Moved /usr/lib[64]/libhpip.* library files to the hplip-hpijs
1486 sub-package because /usr/bin/hpijs requires libhpip but for
1487 special cases (e.g. for a minimal printing system) it should
1488 be possible to use only HPIJS without the rest of HPLIP.
1489 * Tue Jan 3 2006 jsmeix@suse.de
1490 - Updated to version 0.9.7
1491 including the additional hplip-0.9.7-2.patch from HP.
1492 * Thu Dec 22 2005 ro@suse.de
1493 - requires: PyQt -> python-qt
1494 * Thu Dec 1 2005 jsmeix@suse.de
1495 - Removed unneeded KDE packages from "neededforbuild" since
1496 the new package python-qt was split from kdebindings3-python
1497 (see Suse Bugzilla bnc#135250).
1498 * Mon Nov 28 2005 jsmeix@suse.de
1499 - Replaced requirement for the package kdebindings3-python
1500 by a generic requirement for the RPM capability PyQt
1501 to avoid needless dependencies to KDE libraries
1502 (see Suse Bugzilla bnc#135250).
1503 * Tue Nov 22 2005 jsmeix@suse.de
1504 - Added -fno-strict-aliasing to the CXXFLAGS to avoid problems
1505 in ljfastraster.cpp (line 1213) and hpijs.cpp (lines 86, 223).
1506 * Fri Nov 18 2005 jsmeix@suse.de
1507 - Updated to version 0.9.6
1508 * Wed Sep 21 2005 jsmeix@suse.de
1509 - Updated to version 0.9.5
1510 including the additional hplip-0.9.5-3.patch from HP.
1511 * Mon Sep 12 2005 jsmeix@suse.de
1512 - Several PPDs contain "600x600x2dpi" which is not allowed
1513 according to the Adobe PPD specification section 5.9
1514 and which is therefore simply replaced by "600x1200dpi"
1515 (see Suse Bugzilla bnc#116393).
1516 * Mon Aug 29 2005 jsmeix@suse.de
1517 - Removed a non-working PPD.
1518 - Fix "... is used uninitialized ..." warning.
1519 * Tue Jul 26 2005 jsmeix@suse.de
1520 - Updated to version 0.9.4
1521 - Removed obsolete fixes for missing class prototypes.
1522 - Removed obsolete fixes for HP_Business_Inkjet_3000.ppd
1523 - Added a fix for condrestart in /etc/init.d/hplip
1524 * Tue May 31 2005 jsmeix@suse.de
1525 - Updated to version 0.9.3
1526 * Tue May 24 2005 jsmeix@suse.de
1527 - Fixed missing class prototypes, otherwise it fails with
1528 "error: ISO C++ forbids declaration of 'xxx' with no type".
1529 * Tue May 17 2005 jsmeix@suse.de
1530 - Fix "... is used uninitialized ..." warnings.
1531 * Wed May 4 2005 jsmeix@suse.de
1532 - Updated to version 0.9.2 which does no longer need
1533 the "fix C" (i.e. hplip-0.8.8.diff) from below.
1534 * Sun Apr 10 2005 coolo@suse.de
1536 * Tue Mar 22 2005 jsmeix@suse.de
1538 * Thu Mar 17 2005 jsmeix@suse.de
1539 - Fixed a bug in HP-DeskJet_3740-hpijs.ppd.gz:
1540 According to hpijs_readme.html the DeskJet 3740 belongs to the
1541 DJ3320 device class.
1542 * Tue Mar 8 2005 jsmeix@suse.de
1543 - Added %%suse_update_desktop_file stuff for hp-toolbox.
1544 - Moved %%{_libdir}/libsane-hpaio.* to %%{_libdir}/sane/
1545 instead of creating symlinks (see Tue Mar 1 11:15:33).
1546 * Tue Mar 1 2005 jsmeix@suse.de
1547 - Added python-xml to RPM requirements because otherwise
1548 hpssd (i.e. /usr/share/hplip/hpssd.py) doesn't work.
1549 - Create symlinks (via '%%triggerin -- sane') to all
1550 %%{_libdir}/libsane-hpaio.* so that SANE will find them.
1551 - Added kdebindings3-python to RPM requirements because otherwise
1552 hp-toolbox (i.e. /usr/share/hplip/toolbox) doesn't work.
1553 * Tue Feb 22 2005 jsmeix@suse.de
1554 - Changed default media size from Letter to A4
1555 if this is an available choice in the PPD.
1556 * Tue Feb 15 2005 jsmeix@suse.de
1557 - Updated to version 0.8.8, for details see ChangeLog and
1558 http://hpinkjet.sourceforge.net/updates.php
1559 - Removed the "compatibility"-links because they are not needed.
1560 - Fixed basic stuff in the init script (needs further improvement).
1561 - Source should be x86_64 clean (SUSE patch no longer needed).
1562 * Tue Feb 1 2005 jsmeix@suse.de
1563 - Updated to version 0.8.7, for details see ChangeLog and
1564 http://hpinkjet.sourceforge.net/updates.php
1565 - Added triggerin and postun scripts to add and remove
1566 the SANE backend "hpaio" in /etc/sane.d/dll.conf
1567 - Replaced hplip-0.8.4-models.xml.diff by
1568 hplip-0.8.7-models.xml.diff because the "HP LaserJet 1220"
1569 is now in the models.xml file but the entry is buggy.
1570 * Tue Jan 25 2005 jsmeix@suse.de
1571 - Branched the sub-package hplip-hpijs which contains only
1572 the plain HPIJS binary so that Ghostscript can require
1573 only this sub-package (without all the other stuff).
1574 - Added a link to the toolbox program to have it accessible
1575 via the user's PATH.
1576 - Added the usual 'rc'-link to the runlevel script.
1577 - Added the following RPM requirements regarding printing:
1578 hplip requires hplip-hpijs and foomatic-filters
1579 hplip-hpijs requires ghostscript_any
1580 (There are no RPM requirements regarding scanning because
1581 HPLIP will be also used for plain printers.)
1582 - Exchanged the destructive line for the cupsd in the runlevel script
1583 because cupsd runs as user lp and dies in case of a SIGHUP.
1584 * Tue Jan 18 2005 jsmeix@suse.de
1585 - patch hplip-0.8.4-models.xml.diff adds the "HP LaserJet 1220"
1586 to the list of known models of the SANE backend "hpaio"
1587 * Wed Jan 12 2005 sf@suse.de
1588 - add --libdir=%%_libdir to build on multilib archs
1589 - add patch for cups search path for backends
1590 * Thu Dec 2 2004 jsmeix@suse.de