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