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