From 1f5e2304f2095962c5ab1d990e45996c302d71d7a46046507673082aeb0f1fe5 Mon Sep 17 00:00:00 2001 From: Martin Wilck Date: Tue, 14 Jan 2025 15:39:17 +0000 Subject: [PATCH 1/2] - hplip.spec: re-introduce macros for SLE12 compatibility, so that we can backport security fixes to older releases (bsc#1234745) OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=256 --- .gitattributes | 23 + .gitignore | 1 + ...rom-3.18.5-that-break-hp-setup-for-f.patch | 60 + ...fallback-code-if-import-distro-fails.patch | 41 + _service | 4 + ...ssing_includes_and_define_GNU_SOURCE.patch | 95 + change-udev-rules.diff | 53 + ...ck.py-fix-crash-in-Qt4-version-check.patch | 64 + disable_hp-upgrade.patch | 16 + hp-laserjet_cp_1025nw.ppd.gz | 3 + hp-laserjet_professional_p_1102w.ppd.gz | 3 + ...-crash-if-python-reportlab-is-missin.patch | 39 + hp_ipp.h-add-missing-prototypes.patch | 36 + ...egfault-in-DJGenericVIP-DJGenericVIP.patch | 73 + hpijs.1.gz | 3 + hplip-3.20.6-python-includes.patch | 56 + hplip-3.24.4.tar.gz | 3 + hplip-3.24.4.tar.gz.asc | 6 + hplip-change-pgp-server.patch | 13 + hplip-hpaio-gcc14.patch | 114 + ...isc-missing-includes-and-definitions.patch | 12 + hplip-missing-drivers.patch | 584 +++ hplip-orblite-return-null.diff | 11 + hplip-pserror-c99.patch | 17 + hplip-remove-imageprocessor.diff | 38 + hplip-rpmlintrc | 9 + hplip-scan-hpaio-include.patch | 19 + hplip-scan-orblite-c99.patch | 48 + hplip-sclpml-strcasestr.patch | 20 + hplip-udev-rules-in-usr.patch | 13 + hplip.changes | 3734 +++++++++++++++++ hplip.keyring | 39 + hplip.spec | 787 ++++ pcardext-python3-fixes.patch | 81 + ...emtray-wait-only-10s-for-system-tray.patch | 27 + 35 files changed, 6145 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Revert-changes-from-3.18.5-that-break-hp-setup-for-f.patch create mode 100644 Use-lsb_release-fallback-code-if-import-distro-fails.patch create mode 100644 _service create mode 100644 add_missing_includes_and_define_GNU_SOURCE.patch create mode 100644 change-udev-rules.diff create mode 100644 dcheck.py-fix-crash-in-Qt4-version-check.patch create mode 100644 disable_hp-upgrade.patch create mode 100644 hp-laserjet_cp_1025nw.ppd.gz create mode 100644 hp-laserjet_professional_p_1102w.ppd.gz create mode 100644 hp-sendfax-avoid-crash-if-python-reportlab-is-missin.patch create mode 100644 hp_ipp.h-add-missing-prototypes.patch create mode 100644 hpijs-avoid-segfault-in-DJGenericVIP-DJGenericVIP.patch create mode 100644 hpijs.1.gz create mode 100644 hplip-3.20.6-python-includes.patch create mode 100644 hplip-3.24.4.tar.gz create mode 100644 hplip-3.24.4.tar.gz.asc create mode 100644 hplip-change-pgp-server.patch create mode 100644 hplip-hpaio-gcc14.patch create mode 100644 hplip-misc-missing-includes-and-definitions.patch create mode 100644 hplip-missing-drivers.patch create mode 100644 hplip-orblite-return-null.diff create mode 100644 hplip-pserror-c99.patch create mode 100644 hplip-remove-imageprocessor.diff create mode 100644 hplip-rpmlintrc create mode 100644 hplip-scan-hpaio-include.patch create mode 100644 hplip-scan-orblite-c99.patch create mode 100644 hplip-sclpml-strcasestr.patch create mode 100644 hplip-udev-rules-in-usr.patch create mode 100644 hplip.changes create mode 100644 hplip.keyring create mode 100644 hplip.spec create mode 100644 pcardext-python3-fixes.patch create mode 100644 ui5-systemtray-wait-only-10s-for-system-tray.patch diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Revert-changes-from-3.18.5-that-break-hp-setup-for-f.patch b/Revert-changes-from-3.18.5-that-break-hp-setup-for-f.patch new file mode 100644 index 0000000..e9db3a2 --- /dev/null +++ b/Revert-changes-from-3.18.5-that-break-hp-setup-for-f.patch @@ -0,0 +1,60 @@ +From af8ddd502a88f8dc0910c2c9a91471be8434af61 Mon Sep 17 00:00:00 2001 +From: Martin Wilck +Date: Mon, 13 Jan 2020 18:20:22 +0100 +Subject: [PATCH] Revert changes from 3.18.5 that break hp-setup for fax + devices + +See bsc#1107711, lp#1773320 +https://launchpadlibrarian.net/371794274/hplip-use-binary-str.patch + +Credits: Eric Schirra +--- + base/utils.py | 5 +---- + fax/pmlfax.py | 8 ++++---- + 2 files changed, 5 insertions(+), 8 deletions(-) + +diff --git a/base/utils.py b/base/utils.py +index f268cf8..cc77820 100644 +--- a/base/utils.py ++++ b/base/utils.py +@@ -954,10 +954,7 @@ else: + + + def printable(s): +- if s: +- return s.translate(identity, unprintable) +- else: +- return "" ++ return s.translate(identity, unprintable) + + + def any(S,f=lambda x:x): +diff --git a/fax/pmlfax.py b/fax/pmlfax.py +index adcc1cb..b68ff6a 100644 +--- a/fax/pmlfax.py ++++ b/fax/pmlfax.py +@@ -143,8 +143,8 @@ class PMLFaxDevice(FaxDevice): + + def getPhoneNum(self): + if PY3: +- data = utils.printable(self.getPML(pml.OID_FAX_LOCAL_PHONE_NUM)[1]) +- return data ++ data = utils.printable(self.getPML(pml.OID_FAX_LOCAL_PHONE_NUM)[1].encode('utf-8')) ++ return data.decode('utf-8') + else: + return utils.printable(self.getPML(pml.OID_FAX_LOCAL_PHONE_NUM)[1]) + phone_num = property(getPhoneNum, setPhoneNum, doc="OID_FAX_LOCAL_PHONE_NUM") +@@ -155,8 +155,8 @@ class PMLFaxDevice(FaxDevice): + + def getStationName(self): + if PY3: +- data = utils.printable(self.getPML(pml.OID_FAX_STATION_NAME)[1]) +- return data ++ data = utils.printable(self.getPML(pml.OID_FAX_STATION_NAME)[1].encode('utf-8')) ++ return data.decode('utf-8') + else: + return utils.printable(self.getPML(pml.OID_FAX_STATION_NAME)[1]) + +-- +2.24.1 + diff --git a/Use-lsb_release-fallback-code-if-import-distro-fails.patch b/Use-lsb_release-fallback-code-if-import-distro-fails.patch new file mode 100644 index 0000000..545b019 --- /dev/null +++ b/Use-lsb_release-fallback-code-if-import-distro-fails.patch @@ -0,0 +1,41 @@ +From ba542439639453148ea804fc4e396534cd99abb9 Mon Sep 17 00:00:00 2001 +From: Martin Wilck +Date: Mon, 2 Jan 2023 15:33:07 +0100 +Subject: [PATCH] Use lsb_release fallback code if "import distro" fails + +With python 3.8, the standard python "platform" module doesn't +provide the "dist()" function any more. The "distro" module is +used instead. However, not all distributions ship the "distro" +module by default. Catch the resulting exception, and use the +already existing fallback code to determine the distribution +using lsb_release. +--- + base/utils.py | 12 ++++++++---- + 1 file changed, 8 insertions(+), 4 deletions(-) + +diff --git a/base/utils.py b/base/utils.py +index 94d5c8c..458ddd8 100644 +--- a/base/utils.py ++++ b/base/utils.py +@@ -2519,10 +2519,14 @@ def get_distro_name(passwordObj = None): + name = platform.dist()[0].lower() + ver = platform.dist()[1] + except AttributeError: +- import distro +- name = distro.linux_distribution()[0].lower() +- ver = distro.linux_distribution()[1] +- distro_release_name = distro.distro_release_attr('name') ++ try: ++ import distro ++ name = distro.linux_distribution()[0].lower() ++ ver = distro.linux_distribution()[1] ++ distro_release_name = distro.distro_release_attr('name') ++ except (ImportError, AttributeError): ++ # Use fallback code below ++ pass + if not name: + found = False + log.debug("Not able to detect distro") +-- +2.39.0 + diff --git a/_service b/_service new file mode 100644 index 0000000..2801277 --- /dev/null +++ b/_service @@ -0,0 +1,4 @@ + + + + diff --git a/add_missing_includes_and_define_GNU_SOURCE.patch b/add_missing_includes_and_define_GNU_SOURCE.patch new file mode 100644 index 0000000..f226f77 --- /dev/null +++ b/add_missing_includes_and_define_GNU_SOURCE.patch @@ -0,0 +1,95 @@ +From d52301159a5add137b46e7183970ea1f1cbfe8ac Mon Sep 17 00:00:00 2001 +From: Martin Wilck +Date: Fri, 15 Sep 2023 18:27:13 +0200 +Subject: [PATCH 04/19] add missing includes and define GNU_SOURCE + +--- + common/utils.c | 5 +++++ + io/hpmud/jd.c | 1 + + protocol/hp_ipp.c | 4 ++++ + scan/sane/bb_ledm.c | 1 + + scan/sane/sclpml.c | 5 +++++ + 5 files changed, 16 insertions(+) + +diff --git a/common/utils.c b/common/utils.c +index d8ecee9..6f5cef9 100644 +--- a/common/utils.c ++++ b/common/utils.c +@@ -1,9 +1,14 @@ ++#ifndef _GNU_SOURCE ++#define _GNU_SOURCE ++#endif ++ + #include "utils.h" + #include "string.h" + #include + #include + #include + #include ++#include + + extern int errno; + +diff --git a/io/hpmud/jd.c b/io/hpmud/jd.c +index be3c823..c15ed9c 100644 +--- a/io/hpmud/jd.c ++++ b/io/hpmud/jd.c +@@ -31,6 +31,7 @@ + #endif + + #include ++#include + #include "hpmud.h" + #include "hpmudi.h" + +diff --git a/protocol/hp_ipp.c b/protocol/hp_ipp.c +index 8b72c65..9b05f5e 100644 +--- a/protocol/hp_ipp.c ++++ b/protocol/hp_ipp.c +@@ -18,6 +18,10 @@ Boston, MA 02110-1301, USA. + + \******************************************************************************/ + ++#ifndef _GNU_SOURCE ++#define _GNU_SOURCE ++#endif ++ + #include + #include + #include +diff --git a/scan/sane/bb_ledm.c b/scan/sane/bb_ledm.c +index 4b18af8..eaf1299 100644 +--- a/scan/sane/bb_ledm.c ++++ b/scan/sane/bb_ledm.c +@@ -27,6 +27,7 @@ + # include "xml.h" + # include + ++# include + # include + + # define _STRINGIZE(x) #x +diff --git a/scan/sane/sclpml.c b/scan/sane/sclpml.c +index 9a5975f..3250541 100644 +--- a/scan/sane/sclpml.c ++++ b/scan/sane/sclpml.c +@@ -25,11 +25,16 @@ + + \************************************************************************************/ + ++#ifndef _GNU_SOURCE ++#define _GNU_SOURCE ++#endif ++ + #include + #include + #include + #include + #include ++#include + #include "sane.h" + #include "saneopts.h" + #include "common.h" +-- +2.42.0 + diff --git a/change-udev-rules.diff b/change-udev-rules.diff new file mode 100644 index 0000000..84497a6 --- /dev/null +++ b/change-udev-rules.diff @@ -0,0 +1,53 @@ +Index: b/data/rules/56-hpmud.rules +=================================================================== +--- a/data/rules/56-hpmud.rules ++++ b/data/rules/56-hpmud.rules +@@ -1,8 +1,33 @@ + # HPLIP udev rules file. Notify console user if plugin support is required for this device. ++# ++# SUSE changed: ++# ++# Exchanged the rule to GOTO hpmud_usb_rules if SUBSYSTEM is "usb" ++# with the rule if SUBSYSTEM is "ppdev" to avoid that the "ppdev" rule ++# is needlessly processed when SUBSYSTEM is "usb". ++# ++# Added GOTO hpmud_rules_end rule to skip the hpmud_usb_rules ++# if SUBSYSTEM is not "usb" or if ENV{DEVTYPE} is not "usb_device" or if SUBSYSTEM is not "ppdev" ++# to avoid that the hpmud_usb_rules are needlessly processed. ++# ++# The rule to automatically "check ... plugin status" is disabled ++# because automated installation of non-free proprietary third-party software ++# (here the plugin from HP) should not happen and it can cause whatever kind ++# of strange behaviour see for example https://bugs.launchpad.net/bugs/1197416 ++# and https://bugs.launchpad.net/bugs/1221348 ++# while in contrast manual printer setup via hp-setup usually "just works" ++# and it is clear for the user what goes on and in case of failure what went wrong. ++# ++# Because the rule to automatically "check ... plugin status" ++# is also used to upload firmware into printers that need it ++# see https://bugs.launchpad.net/bugs/1220628 ++# a rule that only uploads firmware into printers that need it is added. ++# ++# If possible activate hpaio backend support in /etc/sane.d/dll.conf. + + ACTION!="add", GOTO="hpmud_rules_end" +-SUBSYSTEM=="ppdev", OWNER="root", GROUP="lp", MODE="0664" + SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="hpmud_usb_rules" ++SUBSYSTEM=="ppdev", OWNER="root", GROUP="lp", MODE="0664" + GOTO="hpmud_rules_end" + + LABEL="hpmud_usb_rules" +@@ -13,6 +38,12 @@ ENV{ID_USB_INTERFACES}=="", IMPORT{built + ATTR{idVendor}=="03f0", ENV{ID_USB_INTERFACES}=="*:0701??:*|*:ffcc00:", OWNER="root", GROUP="lp", MODE="0664", ENV{libsane_matched}="yes", ENV{hp_test}="yes", ENV{ID_HPLIP}="1" + + # This rule will check the smart install feature, plugin status and firmware download for the required printers. +-ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/nohup /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM}'" ++#ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/nohup /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM}'" ++# This rule uploads firmware to HP USB printer devices if needed: ++ENV{hp_test}=="yes", PROGRAM="/bin/logger -p user.info udev hpmud.rules runs hp-firmware to test if HP device with USB vendor ID $attr{idVendor} and USB product ID $attr{idProduct} at USB bus ID $env{BUSNUM} and USB device ID $env{DEVNUM} needs firmware and if yes to upload it", RUN+="/usr/bin/hp-firmware -s $env{BUSNUM}:$env{DEVNUM}" ++ ++# If possible activate hpaio backend support in /etc/sane.d/dll.conf: ++ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'if test -w /etc/sane.d/dll.conf ; then sed -i -e /hpaio/d /etc/sane.d/dll.conf ; echo hpaio >>/etc/sane.d/dll.conf ; fi'" + + LABEL="hpmud_rules_end" ++ diff --git a/dcheck.py-fix-crash-in-Qt4-version-check.patch b/dcheck.py-fix-crash-in-Qt4-version-check.patch new file mode 100644 index 0000000..fb5855e --- /dev/null +++ b/dcheck.py-fix-crash-in-Qt4-version-check.patch @@ -0,0 +1,64 @@ +From 9a7ed59efcf645256f8a07f4fb71bf0f838e3838 Mon Sep 17 00:00:00 2001 +From: Martin Wilck +Date: Sat, 9 Jan 2021 01:21:08 +0100 +Subject: [PATCH] dcheck.py: fix crash in Qt4 version check + +On openSUSE, the "PyQt4" module may be available with no submodules. +I.e. "import PyQt4" succeeds, wheras "from PyQt4 import QtCore" fails. +We don't want to make hplip depend on python3-qt4, as all tools use Qt5. + +This leads to the following python backtrace in hp-doctor: + +Traceback (most recent call last): + File "/usr/bin/hp-doctor", line 297, in + num_errors, num_warns = dep.validate(DEPENDENCY_RUN_AND_COMPILE_TIME, False) + File "/usr/share/hplip/check.py", line 368, in validate + self.core.dependencies[dep]) + File "/usr/share/hplip/check.py", line 210, in __update_deps_info + installed_ver = self.core.version_func[deps_info[6]]() + File "/usr/share/hplip/installer/dcheck.py", line 304, in get_pyQt4_version + from PyQt4 import QtCore +ImportError: cannot import name 'QtCore' + +Fix it. +--- + installer/dcheck.py | 16 ++++++++++++---- + 1 file changed, 12 insertions(+), 4 deletions(-) + +diff --git a/installer/dcheck.py b/installer/dcheck.py +index d684c10..6215b4b 100644 +--- a/installer/dcheck.py ++++ b/installer/dcheck.py +@@ -300,8 +300,12 @@ def get_pyQt4_version(): + except ImportError: + ver='-' + else: +- from PyQt4 import QtCore +- ver = QtCore.PYQT_VERSION_STR ++ try: ++ from PyQt4 import QtCore ++ except ImportError: ++ pass ++ else: ++ ver = QtCore.PYQT_VERSION_STR + return ver + + +@@ -314,8 +318,12 @@ def get_pyQt5_version(): + except ImportError: + ver='-' + else: +- from PyQt5 import QtCore +- ver = QtCore.PYQT_VERSION_STR ++ try: ++ from PyQt5 import QtCore ++ except ImportError: ++ pass ++ else: ++ ver = QtCore.PYQT_VERSION_STR + return ver + + def get_reportlab_version(): +-- +2.29.2 + diff --git a/disable_hp-upgrade.patch b/disable_hp-upgrade.patch new file mode 100644 index 0000000..8034ded --- /dev/null +++ b/disable_hp-upgrade.patch @@ -0,0 +1,16 @@ +Index: b/upgrade.py +=================================================================== +--- a/upgrade.py ++++ b/upgrade.py +@@ -207,6 +207,11 @@ if os.geteuid() == 0: + if os.getenv("HPLIP_DEBUG"): + log.set_level('debug') + ++ ++log.info("HPLIP upgrade is disabled by openSUSE for security reasons, see https://bugzilla.suse.com/show_bug.cgi?id=853405 - if you like to upgrade HPLIP, use an openSUSE software package manager like YaST or zypper.") ++clean_exit(1) ++ ++ + for o, a in opts: + if o in ('-h', '--help'): + usage() diff --git a/hp-laserjet_cp_1025nw.ppd.gz b/hp-laserjet_cp_1025nw.ppd.gz new file mode 100644 index 0000000..94c0d6e --- /dev/null +++ b/hp-laserjet_cp_1025nw.ppd.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:95adb9432739ec7bc22f7df991881a74774bbb63abce554fe8737d8e97f9fc95 +size 3147 diff --git a/hp-laserjet_professional_p_1102w.ppd.gz b/hp-laserjet_professional_p_1102w.ppd.gz new file mode 100644 index 0000000..a936c88 --- /dev/null +++ b/hp-laserjet_professional_p_1102w.ppd.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1027ad7fda5a3a488e81aef15cce0763048e619680bbe90c74720ad00f0881a7 +size 2507 diff --git a/hp-sendfax-avoid-crash-if-python-reportlab-is-missin.patch b/hp-sendfax-avoid-crash-if-python-reportlab-is-missin.patch new file mode 100644 index 0000000..475a40a --- /dev/null +++ b/hp-sendfax-avoid-crash-if-python-reportlab-is-missin.patch @@ -0,0 +1,39 @@ +From 8b1bbbb9a3659475367a6f58986ac8248576663b Mon Sep 17 00:00:00 2001 +From: Martin Wilck +Date: Fri, 10 Jan 2020 14:44:51 +0100 +Subject: [PATCH] hp-sendfax: avoid crash if python-reportlab is missing + +Avoids this crash: + +warning: Reportlab not installed. Fax coverpages disabled. +warning: Please install version 2.0+ of Reportlab for coverpage support. +qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 669, resource id: 13465094, major code: 40 (TranslateCoords), minor code: 0 +Traceback (most recent call last): + File "/usr/share/hplip/ui5/sendfaxdialog.py", line 375, in FilesTable_fileListChanged + self.toggleCoverPage(self.FilesTable.isMIMETypeInList(MIME_TYPE_COVERPAGE)) + File "/usr/share/hplip/ui5/sendfaxdialog.py", line 328, in toggleCoverPage +--- + ui5/sendfaxdialog.py | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/ui5/sendfaxdialog.py b/ui5/sendfaxdialog.py +index 4248907..3c3e880 100644 +--- a/ui5/sendfaxdialog.py ++++ b/ui5/sendfaxdialog.py +@@ -325,9 +325,11 @@ class SendFaxDialog(QDialog, Ui_Dialog): + + def toggleCoverPage(self, b): + # XXX: qt5port: disconnect method requires attention +- self.CoverPageGroupBox.toggled[bool].disconnect(self.CoverPageGroupBox_toggled) ++ if coverpages_enabled: ++ self.CoverPageGroupBox.toggled[bool].disconnect(self.CoverPageGroupBox_toggled) + self.CoverPageGroupBox.setChecked(b) +- self.CoverPageGroupBox.toggled[bool].connect(self.CoverPageGroupBox_toggled) ++ if coverpages_enabled: ++ self.CoverPageGroupBox.toggled[bool].connect(self.CoverPageGroupBox_toggled) + + + # +-- +2.24.1 + diff --git a/hp_ipp.h-add-missing-prototypes.patch b/hp_ipp.h-add-missing-prototypes.patch new file mode 100644 index 0000000..1cfcd43 --- /dev/null +++ b/hp_ipp.h-add-missing-prototypes.patch @@ -0,0 +1,36 @@ +From 10fe460cca9536dbb52c30fa8bec5c6a01e94ea0 Mon Sep 17 00:00:00 2001 +From: Martin Wilck +Date: Fri, 15 Sep 2023 18:28:47 +0200 +Subject: [PATCH 09/19] hp_ipp.h: add missing prototypes + +--- + protocol/hp_ipp.h | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/protocol/hp_ipp.h b/protocol/hp_ipp.h +index 032be9a..518d0ae 100644 +--- a/protocol/hp_ipp.h ++++ b/protocol/hp_ipp.h +@@ -149,6 +149,7 @@ int auth_cancel_req = 0; // 0--> authentication cancel is not requested, + + + http_t* acquireCupsInstance(); ++void _releaseCupsInstance(); + const char *getCupsErrorString(int status); + void freePrinterList(printer_t *list); + +@@ -163,6 +164,11 @@ ipp_t *usbDoFileRequest(ipp_t *request, int iFileHandle,char *device_uri, const + ipp_t * networkDoRequest(ipp_t *request, char* device_uri,const char *resource); + ipp_t * getDeviceStatusAttributes(char* device_uri,char* printer_name, int *count); + int getCupsPrinters(printer_t **printer_list); ++int addCupsPrinter(char *name, char *device_uri, char *location, char *ppd_file, ++ char *model, char *info); ++int delCupsPrinter(char *pr_name); ++int setDefaultCupsPrinter(char *pr_name); ++int controlCupsPrinter(char *pr_name, int op); + + HPIPP_RESULT parseResponseHeader(char* header, int *content_length, int *chunked, int* header_size); + HPIPP_RESULT prepend_http_header(raw_ipp *raw_request,const char *resource); +-- +2.42.0 + diff --git a/hpijs-avoid-segfault-in-DJGenericVIP-DJGenericVIP.patch b/hpijs-avoid-segfault-in-DJGenericVIP-DJGenericVIP.patch new file mode 100644 index 0000000..f306cf7 --- /dev/null +++ b/hpijs-avoid-segfault-in-DJGenericVIP-DJGenericVIP.patch @@ -0,0 +1,73 @@ +From ca4af49f2979610ff2c6818ebd0072432417ba95 Mon Sep 17 00:00:00 2001 +From: Martin Wilck +Date: Fri, 1 Jun 2018 17:09:31 +0200 +Subject: [PATCH] hpijs: avoid segfault in DJGenericVIP::DJGenericVIP() + +DJGenericVIP::DJGenericVIP() doesn't treat an error from VerifyPenInfo() as +fatal, but the superclass constructor DJ9xxVIP::DJ9xxVIP() does. This +may lead to a sefgault in DJGenericVIP::DJGenericVIP() because ModeCount and +pMode aren't initialized by the superclass constructor. + +Signed-off-by: Martin Wilck +--- + prnt/hpijs/dj9xxvip.cpp | 8 ++++++-- + prnt/hpijs/dj9xxvip.h | 3 ++- + prnt/hpijs/djgenericvip.cpp | 2 +- + 3 files changed, 9 insertions(+), 4 deletions(-) + +diff --git a/prnt/hpijs/dj9xxvip.cpp b/prnt/hpijs/dj9xxvip.cpp +index 519036c..0a5c959 100644 +--- a/prnt/hpijs/dj9xxvip.cpp ++++ b/prnt/hpijs/dj9xxvip.cpp +@@ -55,7 +55,8 @@ extern MediaType MediaTypeToPcl (MEDIATYPE eMediaType); + DJ9xxVIP::DJ9xxVIP + ( + SystemServices* pSS, +- BOOL proto ++ BOOL proto, ++ BOOL ignore_pen_error + ) : + Printer(pSS, NUM_DJ6XX_FONTS, proto), + PCL3acceptsDriverware(TRUE) +@@ -67,7 +68,10 @@ DJ9xxVIP::DJ9xxVIP + { + bCheckForCancelButton = TRUE; + constructor_error = VerifyPenInfo(); +- CERRCHECK; ++ if (!ignore_pen_error) { ++ CERRCHECK; ++ } else ++ ePen = BOTH_PENS; + } + else ePen = BOTH_PENS; // matches default mode + +diff --git a/prnt/hpijs/dj9xxvip.h b/prnt/hpijs/dj9xxvip.h +index 85eb3ac..af1be8f 100644 +--- a/prnt/hpijs/dj9xxvip.h ++++ b/prnt/hpijs/dj9xxvip.h +@@ -42,7 +42,8 @@ APDK_BEGIN_NAMESPACE + class DJ9xxVIP : public Printer + { + public: +- DJ9xxVIP(SystemServices* pSS, BOOL proto=FALSE); ++ DJ9xxVIP(SystemServices* pSS, BOOL proto=FALSE, ++ BOOL ignore_pen_error=FALSE); + + Header* SelectHeader(PrintContext* pc); + DRIVER_ERROR VerifyPenInfo(); +diff --git a/prnt/hpijs/djgenericvip.cpp b/prnt/hpijs/djgenericvip.cpp +index b7e79dc..7228fcf 100644 +--- a/prnt/hpijs/djgenericvip.cpp ++++ b/prnt/hpijs/djgenericvip.cpp +@@ -47,7 +47,7 @@ extern uint32_t ulMapDJ600_CCM_K[ 9 * 9 * 9 ]; + */ + + DJGenericVIP::DJGenericVIP (SystemServices* pSS, BOOL proto) +- : DJ9xxVIP (pSS, proto) ++ : DJ9xxVIP (pSS, proto, true) + { + + if (!proto && IOMode.bDevID) +-- +2.17.0 + diff --git a/hpijs.1.gz b/hpijs.1.gz new file mode 100644 index 0000000..eee7a71 --- /dev/null +++ b/hpijs.1.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb60642e55839c311ee8037bfc739ffc7c77555c176beef5bdbc4f965e322b61 +size 682 diff --git a/hplip-3.20.6-python-includes.patch b/hplip-3.20.6-python-includes.patch new file mode 100644 index 0000000..81fb6a3 --- /dev/null +++ b/hplip-3.20.6-python-includes.patch @@ -0,0 +1,56 @@ +Index: b/configure.in +=================================================================== +--- a/configure.in ++++ b/configure.in +@@ -628,20 +628,31 @@ if test "$class_driver" = "no" && test " + fi + fi + +-SAVE_CPPFLAGS="$CPPFLAGS" +-CFLAGS=`python-config --includes` +-if [ $? -eq 0 ] +-then +- echo $FLAGS +-else +-CFLAGS=`python3-config --includes` +- if [ $? -eq 0 ] +- then +- echo $FLAGS +- fi ++AC_PATH_PROG(python3_config_path, python3-config, [AC_MSG_ERROR([python3-config not installed], 6)]) ++ ++PYTHON_INCLUDES=`$python3_config_path --includes` ++if test "X$PYTHON_INCLUDES" = "X" ; then ++ AC_MSG_ERROR([Cannot get Python includes via python3-config], 6) ++fi ++ ++PYTHON_LIBS=`$python3_config_path --libs` ++if test "X$PYTHON_LIBS" = "X" ; then ++ AC_MSG_ERROR([Cannot get Python libs via python3-config], 6) ++fi ++ ++SAVE_CFLAGS=$CFLAGS ++SAVE_LIBS=$LIBS ++ ++CFLAGS="$CFLAGS $PYTHON_INCLUDES" ++LIBS="$LIBS $PYTHON_LIBS" ++ ++AC_TRY_LINK(,[ ], AC_MSG_RESULT(yes); python_includes="ok", AC_MSG_ERROR([no: PYTHON DISABLED], 6)) ++ ++if test "X$python_includes" != "Xok" ; then ++ CFLAGS="$SAVE_CFLAGS" ++ LIBS="$SAVE_LIBS" + fi + +-#CFLAGS=`(python-config --includes)` + if test "$class_driver" = "no" && test "$hpijs_only_build" = "no" && test "$lite_build" = "no" && test "$hpcups_only_build" = "no"; then + AC_ARG_VAR([PYTHON], [Python interpreter/compiler command]) + AC_CHECK_PROGS(PYTHON,[python python3 python2]) +@@ -655,7 +666,6 @@ if test "$class_driver" = "no" && test " + AS_IF([test "x$FOUND_HEADER" != "xyes"], + [AC_MSG_ERROR([cannot find python-devel support], 6)]) + fi +-CFLAGS="$save_CFLAGS" + + if test "$hpijs_only_build" = "no" && test "$scan_build" = "yes" && test "$hpcups_only_build" = "no"; then + AC_CHECK_LIB([sane], [sane_open], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find sane-backends-devel support (or --disable-scan-build)], 12)]) diff --git a/hplip-3.24.4.tar.gz b/hplip-3.24.4.tar.gz new file mode 100644 index 0000000..39ed3a7 --- /dev/null +++ b/hplip-3.24.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d7643831893a5e2addf9d42d581a5dbfe5aaf023626886b8762c5645da0f1fb +size 30217933 diff --git a/hplip-3.24.4.tar.gz.asc b/hplip-3.24.4.tar.gz.asc new file mode 100644 index 0000000..1a9ab70 --- /dev/null +++ b/hplip-3.24.4.tar.gz.asc @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQRKui9m29WpWJSRDgZz13DNpZBHuQUCZk13yQAKCRBz13DNpZBH +uc7TAKDAX4308SYP7pgb85UTMbPbhfivmgCghMp2sBrpiCvOZTeozYO4WVzW1mg= +=CKxG +-----END PGP SIGNATURE----- diff --git a/hplip-change-pgp-server.patch b/hplip-change-pgp-server.patch new file mode 100644 index 0000000..e42254f --- /dev/null +++ b/hplip-change-pgp-server.patch @@ -0,0 +1,13 @@ +Index: hplip-3.19.6/base/validation.py +=================================================================== +--- hplip-3.19.6.orig/base/validation.py 2019-06-26 15:07:10.000000000 +0200 ++++ hplip-3.19.6/base/validation.py 2019-10-16 09:53:51.966435988 +0200 +@@ -42,7 +42,7 @@ class DigiSign_Verification(object): + + + class GPG_Verification(DigiSign_Verification): +- def __init__(self, pgp_site = 'pgp.mit.edu', key = 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9): ++ def __init__(self, pgp_site = 'pgp.surf.nl', key = 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9): + self.__pgp_site = pgp_site + self.__key = key + self.__gpg = utils.which('gpg',True) diff --git a/hplip-hpaio-gcc14.patch b/hplip-hpaio-gcc14.patch new file mode 100644 index 0000000..6792a60 --- /dev/null +++ b/hplip-hpaio-gcc14.patch @@ -0,0 +1,114 @@ +diff --git a/scan/sane/hpaio.c b/scan/sane/hpaio.c +index 57d1dde..3475929 100644 +--- a/scan/sane/hpaio.c ++++ b/scan/sane/hpaio.c +@@ -379,7 +379,7 @@ extern SANE_Status sane_hpaio_get_devices(const SANE_Device ***deviceList, SANE_ + ResetDeviceList(&DeviceList); + DevDiscovery(localOnly); + *deviceList = (const SANE_Device **)DeviceList; +- SANE_Device*** devList; ++ const SANE_Device*** devList; + orblite_get_devices(devList, localOnly); + + return SANE_STATUS_GOOD; +diff --git a/scan/sane/orblite.c b/scan/sane/orblite.c +index 2eb7aba..4eaa468 100644 +--- a/scan/sane/orblite.c ++++ b/scan/sane/orblite.c +@@ -64,28 +64,28 @@ SANE_Option_Descriptor DefaultOrbOptions[] = { + SANE_NAME_SCAN_TL_X, SANE_TITLE_SCAN_TL_X, SANE_DESC_SCAN_TL_X, // name, title, desc + SANE_TYPE_FIXED, SANE_UNIT_MM, sizeof(SANE_Fixed),// type, unit, size + SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT, // cap(ability) +- SANE_CONSTRAINT_RANGE, (SANE_Char**)&SANE_rangeLeft // constraint_type, constraint ++ SANE_CONSTRAINT_RANGE, (const SANE_Char**)&SANE_rangeLeft // constraint_type, constraint + }, + + { + SANE_NAME_SCAN_TL_Y, SANE_TITLE_SCAN_TL_Y, SANE_DESC_SCAN_TL_Y, // name, title, desc + SANE_TYPE_FIXED, SANE_UNIT_MM, sizeof(SANE_Fixed),// type, unit, size + SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT, // cap(ability) +- SANE_CONSTRAINT_RANGE, (SANE_Char**)&SANE_rangeTop // constraint_type, constraint ++ SANE_CONSTRAINT_RANGE, (const SANE_Char**)&SANE_rangeTop // constraint_type, constraint + }, + + { + SANE_NAME_SCAN_BR_X, SANE_TITLE_SCAN_BR_X, SANE_DESC_SCAN_BR_X, // name, title, desc + SANE_TYPE_FIXED, SANE_UNIT_MM, sizeof(SANE_Fixed),// type, unit, size + SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT, // cap(ability) +- SANE_CONSTRAINT_RANGE, (SANE_Char**)&SANE_rangeRight // constraint_type, constraint ++ SANE_CONSTRAINT_RANGE, (const SANE_Char**)&SANE_rangeRight // constraint_type, constraint + }, + + { + SANE_NAME_SCAN_BR_Y, SANE_TITLE_SCAN_BR_Y, SANE_DESC_SCAN_BR_Y, // name, title, desc + SANE_TYPE_FIXED, SANE_UNIT_MM, sizeof(SANE_Fixed),// type, unit, size + SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT, // cap(ability) +- SANE_CONSTRAINT_RANGE, (SANE_Char**)&SANE_rangeBottom // constraint_type, constraint ++ SANE_CONSTRAINT_RANGE, (const SANE_Char**)&SANE_rangeBottom // constraint_type, constraint + }, + + // optResolution, // resolution group +@@ -93,7 +93,7 @@ SANE_Option_Descriptor DefaultOrbOptions[] = { + SANE_NAME_SCAN_RESOLUTION, SANE_TITLE_SCAN_RESOLUTION, SANE_DESC_SCAN_RESOLUTION, // name, title, desc + SANE_TYPE_INT, SANE_UNIT_DPI, sizeof(SANE_Word), // type, unit, size, + SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT, // cap(ability) +- SANE_CONSTRAINT_WORD_LIST, (SANE_Char**)SANE_resolutions // constraint type, constraint ++ SANE_CONSTRAINT_WORD_LIST, (const SANE_Char**)SANE_resolutions // constraint type, constraint + }, + + // optMode, // color/depth group +@@ -101,7 +101,7 @@ SANE_Option_Descriptor DefaultOrbOptions[] = { + SANE_NAME_SCAN_MODE, SANE_TITLE_SCAN_MODE, SANE_DESC_SCAN_MODE, // name, title, desc + SANE_TYPE_STRING, SANE_UNIT_NONE, 256, // type, unit, size, + SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT, // cap(ability) +- SANE_CONSTRAINT_STRING_LIST, (SANE_Char**)SANE_modes // constraint type, constraint ++ SANE_CONSTRAINT_STRING_LIST, (const SANE_Char**)SANE_modes // constraint type, constraint + }, + + // optSource, +@@ -109,7 +109,7 @@ SANE_Option_Descriptor DefaultOrbOptions[] = { + SANE_NAME_SCAN_SOURCE, SANE_TITLE_SCAN_SOURCE, SANE_DESC_SCAN_SOURCE, // name, title, desc + SANE_TYPE_STRING, SANE_UNIT_NONE, 256, // type, unit, size, + SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT, // cap(ability) +- SANE_CONSTRAINT_STRING_LIST, (SANE_Char**)SANE_sources // constraint type, constraint ++ SANE_CONSTRAINT_STRING_LIST, (const SANE_Char**)SANE_sources // constraint type, constraint + }, + + // optPaperSize, +@@ -117,7 +117,7 @@ SANE_Option_Descriptor DefaultOrbOptions[] = { + SANE_NAME_PAPER_SIZE, SANE_TITLE_PAPER_SIZE, SANE_DESC_PAPER_SIZE, // name, title, desc + SANE_TYPE_STRING, SANE_UNIT_NONE, 256, // type, unit, size, + SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT, // cap(ability) +- SANE_CONSTRAINT_STRING_LIST, (SANE_Char**)SANE_paper_sizes // constraint type, constraint ++ SANE_CONSTRAINT_STRING_LIST, (const SANE_Char**)SANE_paper_sizes // constraint type, constraint + }, + + // optPaperSize, +@@ -125,7 +125,7 @@ SANE_Option_Descriptor DefaultOrbOptions[] = { + SANE_NAME_PAPER_SIZE, SANE_TITLE_PAPER_SIZE, SANE_DESC_PAPER_SIZE, // name, title, desc + SANE_TYPE_INT, SANE_UNIT_DPI, sizeof(SANE_Word), // type, unit, size, + SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT, // cap(ability) +- SANE_CONSTRAINT_WORD_LIST, (SANE_Char**)SANE_resolutions // constraint type, constraint ++ SANE_CONSTRAINT_WORD_LIST, (const SANE_Char**)SANE_resolutions // constraint type, constraint + }, + #ifdef NOTDEF + // default template +@@ -274,6 +274,7 @@ orblite_open (SANE_String_Const devicename, SANE_Handle * handle) + SANE_Auth_Callback authorize; + const SANE_Device *** device_list; + SANE_Bool local_only; ++ void * temp_handle; + + + // Allocate handle, set all handle values to zero +@@ -305,7 +306,9 @@ orblite_open (SANE_String_Const devicename, SANE_Handle * handle) + if (stat != SANE_STATUS_GOOD) + return stat; + +- stat = g_handle->bb_orblite_open(devicename, &g_handle); ++ temp_handle = g_handle; ++ stat = g_handle->bb_orblite_open(devicename, &temp_handle); ++ g_handle = temp_handle; + if (stat == SANE_STATUS_GOOD) + *handle = g_handle; + diff --git a/hplip-misc-missing-includes-and-definitions.patch b/hplip-misc-missing-includes-and-definitions.patch new file mode 100644 index 0000000..15a53eb --- /dev/null +++ b/hplip-misc-missing-includes-and-definitions.patch @@ -0,0 +1,12 @@ +Index: hplip-3.20.9/scan/sane/http.c +=================================================================== +--- hplip-3.20.9.orig/scan/sane/http.c ++++ hplip-3.20.9/scan/sane/http.c +@@ -33,6 +33,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/hplip-missing-drivers.patch b/hplip-missing-drivers.patch new file mode 100644 index 0000000..1bf9905 --- /dev/null +++ b/hplip-missing-drivers.patch @@ -0,0 +1,584 @@ +From eab655e0f8ab7c7520e0c60970d74e51b25c2061 Mon Sep 17 00:00:00 2001 +From: Martin Wilck +Date: Fri, 15 Sep 2023 18:31:38 +0200 +Subject: [PATCH 18/18] hplip: missing drivers + +--- + cups_drv.inc | 2 + + data/models/models.dat | 477 ++++++++++++++++++++++++++++++++++++++++- + prnt/drv/hpcups.drv.in | 16 ++ + 3 files changed, 486 insertions(+), 9 deletions(-) + +diff --git a/cups_drv.inc b/cups_drv.inc +index 8a33bfe..dc38978 100644 +--- a/cups_drv.inc ++++ b/cups_drv.inc +@@ -414,6 +414,7 @@ cups_ppd_printers = \ + ppd/hpcups/hp-laserjet_cm1418fnw-pcl3.ppd.gz \ + ppd/hpcups/hp-laserjet_cp1025.ppd.gz \ + ppd/hpcups/hp-laserjet_cp1025nw.ppd.gz \ ++ ppd/hpcups/hp-laserjet_cp_1025nw.ppd.gz \ + ppd/hpcups/hp-laserjet_m1005.ppd.gz \ + ppd/hpcups/hp-laserjet_m101-m106.ppd.gz \ + ppd/hpcups/hp-laserjet_m109-m112.ppd.gz \ +@@ -531,6 +532,7 @@ cups_ppd_printers = \ + ppd/hpcups/hp-laserjet_professional_p1607dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1608dn.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p1609dn.ppd.gz \ ++ ppd/hpcups/hp-laserjet_professional_p1102w.ppd.gz \ + ppd/hpcups/hp-laserjet_professional_p_1102w.ppd.gz \ + ppd/hpcups/hp-laserjet_tank_1020.ppd.gz \ + ppd/hpcups/hp-laserjet_tank_150x.ppd.gz \ +diff --git a/data/models/models.dat b/data/models/models.dat +index a567fdd..ed89569 100644 +--- a/data/models/models.dat ++++ b/data/models/models.dat +@@ -2104,7 +2104,7 @@ usb-pid=411 + usb-vid=3f0 + wifi-config=0 + +-[hp_laserjet_100_colormfp_m175] ++[hp_laserjet_100_colormfp_m175nw] + align-type=0 + clean-type=0 + color-cal-type=0 +@@ -2119,14 +2119,6 @@ io-support=14 + job-storage=0 + linefeed-cal-type=0 + model1=HP LaserJet 100 Color MFP M175 +-model2=HP LaserJet 100 Color MFP M175a +-model3=HP LaserJet 100 Color MFP M175b +-model4=HP LaserJet 100 Color MFP M175c +-model5=HP LaserJet 100 Color MFP M175e +-model6=HP LaserJet 100 Color MFP M175nw +-model7=HP LaserJet 100 Color MFP M175p +-model8=HP LaserJet 100 Color MFP M175q +-model9=HP LaserJet 100 Color MFP M175r + ppd-name=hp-laserjet_100_color_mfp_m175-ps.ppd + monitor-type=0 + panel-check-type=0 +@@ -2218,6 +2210,378 @@ usb-pid=62a + usb-vid=3f0 + wifi-config=3 + ++[hp_laserjet_100_colormfp_m175r] ++align-type=0 ++clean-type=0 ++color-cal-type=0 ++copy-type=0 ++embedded-server-type=1 ++fax-type=0 ++fw-download=False ++icon=hp_color_laserjet_cm1312_mfp.png ++io-mfp-mode=3 ++io-mode=1 ++io-support=14 ++job-storage=0 ++linefeed-cal-type=0 ++model1=HP LaserJet 100 Color MFP M175 ++ppd-name=hp-laserjet_100_color_mfp_m175-ps.ppd ++monitor-type=0 ++panel-check-type=0 ++pcard-type=0 ++plugin=1 ++plugin-reason=64 ++power-settings=0 ++pq-diag-type=0 ++r-type=0 ++r0-agent1-kind=4 ++r0-agent1-sku=CE310A ++r0-agent1-type=1 ++r0-agent2-kind=4 ++r0-agent2-sku=CE311A ++r0-agent2-type=4 ++r0-agent3-kind=4 ++r0-agent3-sku=CE313A ++r0-agent3-type=5 ++r0-agent4-kind=4 ++r0-agent4-sku=CE312A ++r0-agent4-type=6 ++scan-src=3 ++scan-type=5 ++status-battery-check=0 ++status-dynamic-counters=0 ++status-type=10 ++support-released=True ++support-subtype=219b2b ++support-type=2 ++support-ver=3.11.7 ++tech-class=Postscript ++family-class=Undefined ++tech-subclass=Normal ++tech-type=4 ++usb-pid=62a ++usb-vid=3f0 ++wifi-config=3 ++ ++[hp_laserjet_100_colormfp_m175q] ++align-type=0 ++clean-type=0 ++color-cal-type=0 ++copy-type=0 ++embedded-server-type=1 ++fax-type=0 ++fw-download=False ++icon=hp_color_laserjet_cm1312_mfp.png ++io-mfp-mode=3 ++io-mode=1 ++io-support=14 ++job-storage=0 ++linefeed-cal-type=0 ++model1=HP LaserJet 100 Color MFP M175 ++ppd-name=hp-laserjet_100_color_mfp_m175-ps.ppd ++monitor-type=0 ++panel-check-type=0 ++pcard-type=0 ++plugin=1 ++plugin-reason=64 ++power-settings=0 ++pq-diag-type=0 ++r-type=0 ++r0-agent1-kind=4 ++r0-agent1-sku=CE310A ++r0-agent1-type=1 ++r0-agent2-kind=4 ++r0-agent2-sku=CE311A ++r0-agent2-type=4 ++r0-agent3-kind=4 ++r0-agent3-sku=CE313A ++r0-agent3-type=5 ++r0-agent4-kind=4 ++r0-agent4-sku=CE312A ++r0-agent4-type=6 ++scan-src=3 ++scan-type=5 ++status-battery-check=0 ++status-dynamic-counters=0 ++status-type=10 ++support-released=True ++support-subtype=219b2b ++support-type=2 ++support-ver=3.11.7 ++tech-class=Postscript ++family-class=Undefined ++tech-subclass=Normal ++tech-type=4 ++usb-pid=62a ++usb-vid=3f0 ++wifi-config=3 ++ ++[hp_laserjet_100_colormfp_m175p] ++align-type=0 ++clean-type=0 ++color-cal-type=0 ++copy-type=0 ++embedded-server-type=1 ++fax-type=0 ++fw-download=False ++icon=hp_color_laserjet_cm1312_mfp.png ++io-mfp-mode=3 ++io-mode=1 ++io-support=14 ++job-storage=0 ++linefeed-cal-type=0 ++model1=HP LaserJet 100 Color MFP M175 ++ppd-name=hp-laserjet_100_color_mfp_m175-ps.ppd ++monitor-type=0 ++panel-check-type=0 ++pcard-type=0 ++plugin=1 ++plugin-reason=64 ++power-settings=0 ++pq-diag-type=0 ++r-type=0 ++r0-agent1-kind=4 ++r0-agent1-sku=CE310A ++r0-agent1-type=1 ++r0-agent2-kind=4 ++r0-agent2-sku=CE311A ++r0-agent2-type=4 ++r0-agent3-kind=4 ++r0-agent3-sku=CE313A ++r0-agent3-type=5 ++r0-agent4-kind=4 ++r0-agent4-sku=CE312A ++r0-agent4-type=6 ++scan-src=3 ++scan-type=5 ++status-battery-check=0 ++status-dynamic-counters=0 ++status-type=10 ++support-released=True ++support-subtype=219b2b ++support-type=2 ++support-ver=3.11.7 ++tech-class=Postscript ++family-class=Undefined ++tech-subclass=Normal ++tech-type=4 ++usb-pid=62a ++usb-vid=3f0 ++wifi-config=3 ++ ++[hp_laserjet_100_colormfp_m175e] ++align-type=0 ++clean-type=0 ++color-cal-type=0 ++copy-type=0 ++embedded-server-type=1 ++fax-type=0 ++fw-download=False ++icon=hp_color_laserjet_cm1312_mfp.png ++io-mfp-mode=3 ++io-mode=1 ++io-support=2 ++job-storage=0 ++linefeed-cal-type=0 ++model1=HP LaserJet 100 Color MFP M175 ++ppd-name=hp-laserjet_100_color_mfp_m175-ps.ppd ++monitor-type=0 ++panel-check-type=0 ++pcard-type=0 ++plugin=1 ++plugin-reason=64 ++power-settings=0 ++pq-diag-type=0 ++r-type=0 ++r0-agent1-kind=4 ++r0-agent1-sku=CE310A ++r0-agent1-type=1 ++r0-agent2-kind=4 ++r0-agent2-sku=CE311A ++r0-agent2-type=4 ++r0-agent3-kind=4 ++r0-agent3-sku=CE313A ++r0-agent3-type=5 ++r0-agent4-kind=4 ++r0-agent4-sku=CE312A ++r0-agent4-type=6 ++scan-src=3 ++scan-type=5 ++status-battery-check=0 ++status-dynamic-counters=0 ++status-type=10 ++support-released=True ++support-subtype=219b2b ++support-type=2 ++support-ver=3.11.7 ++tech-class=Postscript ++family-class=Undefined ++tech-subclass=Normal ++tech-type=4 ++usb-pid=62a ++usb-vid=3f0 ++wifi-config=-1 ++ ++[hp_laserjet_100_colormfp_m175a] ++align-type=0 ++clean-type=0 ++color-cal-type=0 ++copy-type=0 ++embedded-server-type=1 ++ppd-name=hp-laserjet_100_color_mfp_m175-ps.ppd ++family-ppd=hp-postscript-laserjet-pro.ppd ++fax-type=0 ++fw-download=False ++icon=hp_color_laserjet_cm1312_mfp.png ++io-mfp-mode=3 ++io-mode=1 ++io-support=2 ++job-storage=0 ++linefeed-cal-type=0 ++model1=HP LaserJet 100 Color MFP M175 ++monitor-type=0 ++panel-check-type=0 ++pcard-type=0 ++plugin=1 ++plugin-reason=64 ++power-settings=0 ++pq-diag-type=0 ++r-type=0 ++r0-agent1-kind=4 ++r0-agent1-sku=CE310A ++r0-agent1-type=1 ++r0-agent2-kind=4 ++r0-agent2-sku=CE311A ++r0-agent2-type=4 ++r0-agent3-kind=4 ++r0-agent3-sku=CE313A ++r0-agent3-type=5 ++r0-agent4-kind=4 ++r0-agent4-sku=CE312A ++r0-agent4-type=6 ++scan-src=3 ++scan-type=5 ++status-battery-check=0 ++status-dynamic-counters=0 ++status-type=10 ++support-released=True ++support-subtype=219b2b ++support-type=2 ++support-ver=3.11.7 ++tech-class=Postscript ++family-class=Undefined ++tech-subclass=Normal ++tech-type=4 ++usb-pid=62a ++usb-vid=3f0 ++wifi-config=-1 ++ ++[hp_laserjet_100_colormfp_m175c] ++align-type=0 ++clean-type=0 ++color-cal-type=0 ++copy-type=0 ++embedded-server-type=1 ++fax-type=0 ++fw-download=False ++icon=hp_color_laserjet_cm1312_mfp.png ++io-mfp-mode=3 ++io-mode=1 ++io-support=2 ++job-storage=0 ++linefeed-cal-type=0 ++model1=HP LaserJet 100 Color MFP M175 ++ppd-name=hp-laserjet_100_color_mfp_m175-ps.ppd ++monitor-type=0 ++panel-check-type=0 ++pcard-type=0 ++plugin=1 ++plugin-reason=64 ++power-settings=0 ++pq-diag-type=0 ++r-type=0 ++r0-agent1-kind=4 ++r0-agent1-sku=CE310A ++r0-agent1-type=1 ++r0-agent2-kind=4 ++r0-agent2-sku=CE311A ++r0-agent2-type=4 ++r0-agent3-kind=4 ++r0-agent3-sku=CE313A ++r0-agent3-type=5 ++r0-agent4-kind=4 ++r0-agent4-sku=CE312A ++r0-agent4-type=6 ++scan-src=3 ++scan-type=5 ++status-battery-check=0 ++status-dynamic-counters=0 ++status-type=10 ++support-released=True ++support-subtype=219b2b ++support-type=2 ++support-ver=3.11.7 ++tech-class=Postscript ++family-class=Undefined ++tech-subclass=Normal ++tech-type=4 ++usb-pid=62a ++usb-vid=3f0 ++wifi-config=-1 ++ ++[hp_laserjet_100_colormfp_m175b] ++align-type=0 ++clean-type=0 ++color-cal-type=0 ++copy-type=0 ++embedded-server-type=1 ++fax-type=0 ++fw-download=False ++icon=hp_color_laserjet_cm1312_mfp.png ++io-mfp-mode=3 ++io-mode=1 ++io-support=2 ++job-storage=0 ++linefeed-cal-type=0 ++model1=HP LaserJet 100 Color MFP M175 ++ppd-name=hp-laserjet_100_color_mfp_m175-ps.ppd ++monitor-type=0 ++panel-check-type=0 ++pcard-type=0 ++plugin=1 ++plugin-reason=64 ++power-settings=0 ++pq-diag-type=0 ++r-type=0 ++r0-agent1-kind=4 ++r0-agent1-sku=CE310A ++r0-agent1-type=1 ++r0-agent2-kind=4 ++r0-agent2-sku=CE311A ++r0-agent2-type=4 ++r0-agent3-kind=4 ++r0-agent3-sku=CE313A ++r0-agent3-type=5 ++r0-agent4-kind=4 ++r0-agent4-sku=CE312A ++r0-agent4-type=6 ++scan-src=3 ++scan-type=5 ++status-battery-check=0 ++status-dynamic-counters=0 ++status-type=10 ++support-released=True ++support-subtype=219b2b ++support-type=2 ++support-ver=3.11.7 ++tech-class=Postscript ++family-class=Undefined ++tech-subclass=Normal ++tech-type=4 ++usb-pid=62a ++usb-vid=3f0 ++wifi-config=-1 ++ + [officejet_100_mobile_l411] + align-type=-1 + clean-type=1 +@@ -17920,6 +18284,58 @@ usb-pid=2c17 + usb-vid=3f0 + wifi-config=0 + ++[hp_laserjet_cp_1025nw] ++align-type=0 ++clean-type=0 ++color-cal-type=0 ++copy-type=0 ++embedded-server-type=1 ++fax-type=0 ++fw-download=False ++icon=hp_color_laserjet_cp2025.png ++io-mfp-mode=1 ++io-mode=1 ++io-support=14 ++job-storage=0 ++linefeed-cal-type=0 ++model1=HP LaserJet Pro CP 1025nw Color Printer Series ++monitor-type=0 ++panel-check-type=0 ++pcard-type=0 ++plugin=1 ++plugin-reason=1 ++power-settings=0 ++pq-diag-type=0 ++r-type=0 ++r0-agent1-kind=4 ++r0-agent1-sku=CE310A ++r0-agent1-type=1 ++r0-agent2-kind=4 ++r0-agent2-sku=CE311A ++r0-agent2-type=4 ++r0-agent3-kind=4 ++r0-agent3-sku=CE313A ++r0-agent3-type=5 ++r0-agent4-kind=4 ++r0-agent4-sku=CE312A ++r0-agent4-type=6 ++scan-src=0 ++scan-type=0 ++status-battery-check=0 ++status-dynamic-counters=0 ++status-type=8 ++support-released=True ++support-subtype=219b2b ++support-type=2 ++support-ver=3.12.4 ++tech-class=LJZjsColor ++family-class=LJ-Class4 ++tech-subclass=Advanced ++tech-type=4 ++usb-pid=112a ++usb-vid=3f0 ++wifi-config=3 ++ + [hp_laserjet_cp1025nw] + align-type=0 + clean-type=0 +@@ -18521,6 +18937,49 @@ usb-pid=3011 + usb-vid=3f0 + wifi-config=0 + ++[hp_laserjet_professional_p1102w] ++align-type=0 ++clean-type=0 ++color-cal-type=0 ++copy-type=0 ++embedded-server-type=0 ++fax-type=0 ++fw-download=False ++icon=HP_LaserJet_1012.png ++io-mfp-mode=6 ++io-mode=1 ++io-support=10 ++job-storage=0 ++linefeed-cal-type=0 ++model1=HP LaserJet Professional P1102w Printer ++monitor-type=0 ++panel-check-type=0 ++pcard-type=0 ++plugin=1 ++plugin-reason=1 ++power-settings=0 ++pq-diag-type=0 ++r-type=0 ++r0-agent1-kind=4 ++r0-agent1-sku=85A ++r0-agent1-type=1 ++scan-src=0 ++scan-type=0 ++status-battery-check=0 ++status-dynamic-counters=0 ++status-type=8 ++support-released=True ++support-subtype=219b2b ++support-type=2 ++support-ver=3.10.4 ++tech-class=LJZjsMono ++family-class=LJ-Class4 ++tech-subclass=NoAutoDuplex ++tech-type=3 ++usb-pid=32a ++usb-vid=3f0 ++wifi-config=3 ++ + [hp_laserjet_professional_p1102] + align-type=0 + clean-type=0 +diff --git a/prnt/drv/hpcups.drv.in b/prnt/drv/hpcups.drv.in +index 2829168..3c1377a 100644 +--- a/prnt/drv/hpcups.drv.in ++++ b/prnt/drv/hpcups.drv.in +@@ -23107,6 +23107,14 @@ Group "RLT/HP Real Life Technologies" + Attribute "Product" "" "(HP LaserJet Professional p1102 Printer)" + Attribute "Product" "" "(HP LaserJet Professional p1102s Printer)" + } ++ { ++ ModelName "HP LaserJet Professional p1102w" ++ Attribute "NickName" "" "HP LaserJet Professional p1102w, hpcups $Version, requires proprietary plugin" ++ Attribute "ShortNickName" "" "HP LaserJet Professional p1102w hpijs" ++ Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet professional p1102w;DES:hp laserjet professional p1102w;" ++ PCFileName "hp-laserjet_professional_p1102w.ppd" ++ Attribute "Product" "" "(HP LaserJet Professional p1102w Printer)" ++ } + { + ModelName "HP LaserJet Professional p1106" + Attribute "NickName" "" "HP LaserJet Professional p1106, hpcups $Version" +@@ -23541,6 +23549,14 @@ Group "RLT/HP Real Life Technologies" + PCFileName "hp-laserjet_cp1025nw.ppd" + Attribute "Product" "" "(HP LaserJet Pro cp1025nw Color Printer Series)" + } ++ { ++ ModelName "HP LaserJet Cp 1025nw" ++ Attribute "NickName" "" "HP LaserJet Cp 1025nw, hpcups $Version, requires proprietary plugin" ++ Attribute "ShortNickName" "" "HP LaserJet Cp 1025nw hpijs" ++ Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:hp laserjet cp 1025nw;DES:hp laserjet cp 1025nw;" ++ PCFileName "hp-laserjet_cp_1025nw.ppd" ++ Attribute "Product" "" "(HP LaserJet Pro Cp 1025nw Color Printer Series)" ++ } + } + } // End LJZjsColor (for proprietary plugin) + +-- +2.43.0 + diff --git a/hplip-orblite-return-null.diff b/hplip-orblite-return-null.diff new file mode 100644 index 0000000..8e38ba1 --- /dev/null +++ b/hplip-orblite-return-null.diff @@ -0,0 +1,11 @@ +diff -ur hplip-3.19.3-orig/scan/sane/orblite.c hplip-3.19.3/scan/sane/orblite.c +--- hplip-3.19.3-orig/scan/sane/orblite.c 2019-03-14 10:28:56.000000000 +0100 ++++ hplip-3.19.3/scan/sane/orblite.c 2019-04-12 18:59:07.734202665 +0200 +@@ -331,6 +331,7 @@ + return &g_handle->Options[option]; + } + //return g_handle->bb_orblite_get_option_descriptor(g_handle, option); ++ return NULL; + } + + diff --git a/hplip-pserror-c99.patch b/hplip-pserror-c99.patch new file mode 100644 index 0000000..6b0310c --- /dev/null +++ b/hplip-pserror-c99.patch @@ -0,0 +1,17 @@ +prnt/pserror.c: Replace an implicit int with an explicit int + +Submitted upstream: + +diff --git a/prnt/hpps/pserror.c b/prnt/hpps/pserror.c +index 114d7e1b5fa364fb..493b49c27917a7e6 100644 +--- a/prnt/hpps/pserror.c ++++ b/prnt/hpps/pserror.c +@@ -24,7 +24,7 @@ extern char *program ; /* Defined by main program, giving program name */ + void message(int flags, char *format, ...) + { + va_list args ; +- static column = 0 ; /* current screen column for message wrap */ ++ static int column = 0 ; /* current screen column for message wrap */ + char msgbuf[MAX_MESSAGE] ; /* buffer in which to put the message */ + char *bufptr = msgbuf ; /* message buffer pointer */ + diff --git a/hplip-remove-imageprocessor.diff b/hplip-remove-imageprocessor.diff new file mode 100644 index 0000000..4bdd2af --- /dev/null +++ b/hplip-remove-imageprocessor.diff @@ -0,0 +1,38 @@ +diff -ur hplip-3.21.4.orig/Makefile.am hplip-3.21.4/Makefile.am +--- hplip-3.21.4.orig/Makefile.am 2021-05-06 10:39:14.000000000 +0200 ++++ hplip-3.21.4/Makefile.am 2021-06-16 09:19:42.354489830 +0200 +@@ -167,7 +167,7 @@ + dist_hplip_SCRIPTS = hpssd.py __init__.py hpdio.py + endif #HPLIP_CLASS_DRIVER + +-dist_noinst_DATA += prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template prnt/hpcups/libImageProcessor-x86_64.so prnt/hpcups/libImageProcessor-x86_32.so ++dist_noinst_DATA += prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template + + dist_noinst_DATA += prnt/ipp-usb/HPLIP.conf + dist_noinst_SCRIPTS += dat2drv.py install.py hplip-install init-suse-firewall init-iptables-firewall class_rpm_build.sh hplipclassdriver.spec createPPD.sh Makefile_dat2drv hpijs-drv +@@ -595,7 +595,7 @@ + prnt/hpcups/ImageProcessor.h + + hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS) +-hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lImageProcessor -lcups -lcupsimage -lz $(DBUS_LIBS) ++hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lcups -lcupsimage -lz $(DBUS_LIBS) + #else + #hpcupsdir = $(cupsfilterdir) + #hpcups_PROGRAMS = hpcups +@@ -685,16 +685,6 @@ + + install-data-hook: + if HPLIP_BUILD +- if [ \( "$(UNAME)" = "x86_64" -a -d "$(libdir)/" \) ]; then \ +- cp prnt/hpcups/libImageProcessor-x86_64.so $(libdir)/ ; \ +- chmod 775 $(libdir)/libImageProcessor-x86_64.so ; \ +- ln -sf $(libdir)/libImageProcessor-x86_64.so $(libdir)/libImageProcessor.so ; \ +- fi; \ +- if [ \( \( "$(UNAME)" = "i686" -o "$(UNAME)" = "i386" \) -a -d "$(libdir)/" \) ]; then \ +- cp prnt/hpcups/libImageProcessor-x86_32.so $(libdir)/ ; \ +- chmod 775 $(libdir)/libImageProcessor-x86_32.so ; \ +- ln -sf $(libdir)/libImageProcessor-x86_32.so $(libdir)/libImageProcessor.so ; \ +- fi + if [ -d "/usr/share/ipp-usb/quirks/" ]; then \ + echo "ipp-usb directory exists"; \ + cp prnt/ipp-usb/HPLIP.conf /usr/share/ipp-usb/quirks/ ; \ diff --git a/hplip-rpmlintrc b/hplip-rpmlintrc new file mode 100644 index 0000000..f40cf20 --- /dev/null +++ b/hplip-rpmlintrc @@ -0,0 +1,9 @@ +from Config import * + +addFilter("arch-dependent-file-in-usr-share") +# Ignore any duplicate files +addFilter("files-duplicate .*/hplip/.*/__init__.py") +addFilter("files-duplicate .*/hplip/*/__init__.*pyc") +addFilter("files-duplicate .*/hplip/.*/__pycache__/__init__.*.pyc") +# +addFilter("non-executable-script /usr/share/hplip/.*") diff --git a/hplip-scan-hpaio-include.patch b/hplip-scan-hpaio-include.patch new file mode 100644 index 0000000..40cf38c --- /dev/null +++ b/hplip-scan-hpaio-include.patch @@ -0,0 +1,19 @@ +scam/sane/hpaio.c: Include orblite.h for more function prototypes + +Otherwise the build fails with compilers which do not support +implicit function declarations. + +Submitted upstream: + +diff --git a/scan/sane/hpaio.c b/scan/sane/hpaio.c +index d342626822fc2190..57d1ddea32fb5816 100644 +--- a/scan/sane/hpaio.c ++++ b/scan/sane/hpaio.c +@@ -50,6 +50,7 @@ + #include "sclpml.h" + #include "escl.h" + #include "io.h" ++#include "orblite.h" + #include "orblitei.h" + + diff --git a/hplip-scan-orblite-c99.patch b/hplip-scan-orblite-c99.patch new file mode 100644 index 0000000..9c5e963 --- /dev/null +++ b/hplip-scan-orblite-c99.patch @@ -0,0 +1,48 @@ +scan/sane/orblite: Include for function prototypes + +This is required for C99 compatibility. Also delete the unused +bb_unload function because it calls a call to the undefined +_DBG function/macro. + +Submitted upstream: + +diff --git a/scan/sane/orblite.c b/scan/sane/orblite.c +index ba86640c7528fc9c..ac59dda9c2dba593 100644 +--- a/scan/sane/orblite.c ++++ b/scan/sane/orblite.c +@@ -20,6 +20,7 @@ + #include "orblitei.h" + #include "orblite.h"//Added New + #include ++#include + #include "utils.h" + #include "io.h" + +@@ -193,27 +194,6 @@ bugout: + + } + +-static int bb_unload(SANE_THandle ps) +-{ +- _DBG("Calling orblite bb_unload: \n"); +- if (ps->bb_handle) +- { +- dlclose(ps->bb_handle); +- ps->bb_handle = NULL; +- } +- if (ps->hpmud_handle) +- { +- dlclose(ps->hpmud_handle); +- ps->hpmud_handle = NULL; +- } +-// if (ps->math_handle) +-// { +-// dlclose(ps->math_handle); +-// ps->math_handle = NULL; +-// } +- return 0; +-} +- + SANE_Status + orblite_init (SANE_Int * version_code, SANE_Auth_Callback authorize) + { diff --git a/hplip-sclpml-strcasestr.patch b/hplip-sclpml-strcasestr.patch new file mode 100644 index 0000000..89bb54d --- /dev/null +++ b/hplip-sclpml-strcasestr.patch @@ -0,0 +1,20 @@ +Kludge to support building C99 mode. This should no longer be needed +once glibc declares strcasestr by default, and not just with +-D_GNU_SOURCE. + +Submitted upstream: + +diff --git a/scan/sane/sclpml.c b/scan/sane/sclpml.c +index dc8b32ce02ad1202..f2cacd53e86800ce 100644 +--- a/scan/sane/sclpml.c ++++ b/scan/sane/sclpml.c +@@ -47,6 +47,9 @@ + #define DEBUG_DECLARE_ONLY + #include "sanei_debug.h" + ++/* This file is not built with _GNU_SOURCE. */ ++char *strcasestr(const char *, const char *); ++ + //# define SCLPML_DEBUG + # ifdef SCLPML_DEBUG + # define _DBG(args...) syslog(LOG_INFO, __FILE__ " " STRINGIZE(__LINE__) ": " args) diff --git a/hplip-udev-rules-in-usr.patch b/hplip-udev-rules-in-usr.patch new file mode 100644 index 0000000..ff46864 --- /dev/null +++ b/hplip-udev-rules-in-usr.patch @@ -0,0 +1,13 @@ +Index: hplip-3.20.9/Makefile.am +=================================================================== +--- hplip-3.20.9.orig/Makefile.am ++++ hplip-3.20.9/Makefile.am +@@ -137,7 +137,7 @@ dist_rulessystem_DATA =data/rules/hplip- + + # hpmud.rules + if !HPLIP_CLASS_DRIVER +-rulesdir = /etc/udev/rules.d ++rulesdir = /usr/lib/udev/rules.d + if UDEV_SYSFS_RULES + dist_rules_DATA = data/rules/56-hpmud_sysfs.rules + else diff --git a/hplip.changes b/hplip.changes new file mode 100644 index 0000000..b305c45 --- /dev/null +++ b/hplip.changes @@ -0,0 +1,3734 @@ +------------------------------------------------------------------- +Tue Jan 14 11:34:35 UTC 2025 - Martin Wilck + +- hplip.spec: re-introduce macros for SLE12 compatibility, so that + we can backport security fixes to older releases (bsc#1234745) + +------------------------------------------------------------------- +Mon Jul 15 15:19:58 UTC 2024 - Martin Jambor + +- Add hplip-pserror-c99.patch hplip-scan-hpaio-include.patch + hplip-scan-orblite-c99.patch hplip-sclpml-strcasestr.patch + hplip-hpaio-gcc14.patch to avoid C99 violations which prevent + building with GCC 14. [boo#1225777] + +------------------------------------------------------------------- +Fri Jun 21 21:30:55 UTC 2024 - Martin Wilck + +- Update to hplip 3.24.4 +- Added support for new printers: + * HP OfficeJet 8120 All-in-One series + * HP OfficeJet Pro 8120 All-in-One series + * HP OfficeJet 8130 All-in-One series + * HP OfficeJet Pro 8130 All-in-One series + * HP OfficeJet Pro 9720 Series + * HP OfficeJet Pro 9730 Series +- Bug fixes: + * hpmud: sanitize printer serial number (bsc#1209401, lp#2012262) + +------------------------------------------------------------------- +Thu Feb 22 07:51:33 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + +------------------------------------------------------------------- +Wed Jan 3 16:11:11 UTC 2024 - Martin Wilck + +- Update to hplip 3.23.12 + * del fix-printer-attributes-parsing.patch (merged upstream) + * del hppsfilter-booklet-printing-change-insecure-fixed-tm.patch + (merged upstream) +- Added support for new printers: + * HP OfficeJet Pro 9130b series + * HP OfficeJet Pro 9120b series + * HP OfficeJet Pro 9110b series + * HP Color LaserJet Enterprise Flow MFP X58045z + * HP Color LaserJet Enterprise Flow MFP X58045zs + * HP Color LaserJet Enterprise MFP X58045dn  + * HP Color LaserJet Enterprise MFP X58045 + * HP LaserJet Pro P1106 plus + * HP LaserJet Pro P1108 plus + +------------------------------------------------------------------- +Wed Nov 15 20:21:30 UTC 2023 - Martin Wilck + +- hppsfilter: booklet printing: change insecure fixed /tmp file paths + (bsc#1214399) + * add hppsfilter-booklet-printing-change-insecure-fixed-tm.patch + +------------------------------------------------------------------- +Mon Oct 9 17:56:07 UTC 2023 - Martin Wilck + +- Update to hplip 3.23.8 (jsc#PED-5846) +- Support for new printers: + * HP Color LaserJet Pro MFP 4301fdne + * HP Color LaserJet Pro MFP 4301fdwe + * HP Color LaserJet Pro MFP 4301cdwe + * HP Color LaserJet Pro MFP 4301cfdne + * HP Color LaserJet Pro MFP 4301cfdwe + * HP Color LaserJet Pro MFP 4302dwe + * HP Color LaserJet Pro MFP 4302fdne + * HP Color LaserJet Pro MFP 4302fdwe + * HP Color LaserJet Pro MFP 4302cdwe + * HP Color LaserJet Pro MFP 4302fdn + * HP Color LaserJet Pro MFP 4302fdw + * HP Color LaserJet Pro MFP 4303dw + * HP Color LaserJet Pro MFP 4303fdn + * HP Color LaserJet Pro MFP 4303fdw + * HP Color LaserJet Pro MFP 4303cdw + * HP Color LaserJet Pro MFP 4303cfdn + * HP Color LaserJet Pro MFP 4303cfdw + * HP Color LaserJet Pro 4201dne + * HP Color LaserJet Pro 4201dwe + * HP Color LaserJet Pro 4201cdne + * HP Color LaserJet Pro 4201cdwe + * HP Color LaserJet Pro 4202dne + * HP Color LaserJet Pro 4202dwe + * HP Color LaserJet Pro 4202dn + * HP Color LaserJet Pro 4202dw + * HP Color LaserJet Pro 4203dn + * HP Color LaserJet Pro 4203dw + * HP Color LaserJet Pro 4203cdn + * HP Color LaserJet Pro 4203cdw + * HP DeskJet 2800 All-in-One Printer series + * HP DeskJet 2800e All-in-One Printer series + * HP DeskJet Ink Advantage 2800 All-in-One Printer series + * HP DeskJet 4200 All-in-One Printer series + * HP DeskJet 4200e All-in-One Printer series + * HP DeskJet Ink Advantage 4200 All-in-One Printer series + * HP DeskJet Ink Advantage Ultra 4900 All-in-One Printer series + +------------------------------------------------------------------- +Fri Sep 15 16:09:11 UTC 2023 - Martin Wilck + +- Update to hplip 3.23.5 + * added new CUPS filter hpcdmfax +- Support for new printers: + * HP Smart Tank 520_540 series + * HP Smart Tank 580-590 series + * HP Smart Tank 5100 series + * HP Smart Tank 210-220 series + * HP Color LaserJet Enterprise 6700dn + * HP Color LaserJet Enterprise 6700 + * HP Color LaserJet Enterprise 6701dn + * HP Color LaserJet Enterprise 6701 + * HP Color LaserJet Enterprise X654dn + * HP Color LaserJet Enterprise X65455dn + * HP Color LaserJet Enterprise X654 + * HP Color LaserJet Enterprise X65465dn + * HP Color LaserJet Enterprise X654 65 PPM + * HP Color LaserJet Enterprise X654 55 to 65ppm License + * HP Color LaserJet Enterprise X654 Down License + * HP Color LaserJet Enterprise MFP 6800dn + * HP Color LaserJet Enterprise Flow MFP 6800zf + * HP Color LaserJet Enterprise Flow MFP 6800zfsw + * HP Color LaserJet Enterprise Flow MFP 6800zfw+ + * HP Color LaserJet Enterprise MFP 6800 + * HP Color LaserJet Enterprise MFP 6801 + * HP Color LaserJet Enterprise MFP 6801 zfsw + * HP Color LaserJet Enterprise Flow MFP 6801zfw+ + * HP Color LaserJet Enterprise MFP X677 55 to 65ppm License + * HP Color LaserJet Enterprise MFP X677 65ppm + * HP Color LaserJet Enterprise MFP X677s + * HP Color LaserJet Enterprise Flow MFP X677z + * HP Color LaserJet Enterprise MFP X67765dn + * HP Color LaserJet Enterprise Flow MFP X67765zs + * HP Color LaserJet Enterprise Flow MFP X67765z+ + * HP Color LaserJet Enterprise MFP X677 + * HP Color LaserJet Enterprise MFP X67755dn + * HP Color LaserJet Enterprise Flow MFP X67755zs + * HP Color LaserJet Enterprise Flow MFP X67755z+ + * HP Color LaserJet Enterprise MFP X677dn + * HP Color LaserJet Enterprise Flow MFP X677zs + * HP Color LaserJet Enterprise Flow MFP X677z+ + * HP Color LaserJet Enterprise 5700dn + * HP Color LaserJet Enterprise 5700 + * HP Color LaserJet Enterprise X55745dn + * HP Color LaserJet Enterprise X55745 + * HP Color LaserJet Enterprise MFP 5800dn + * HP Color LaserJet Enterprise MFP 5800f + * HP Color LaserJet Enterprise Flow MFP 5800zf + * HP Color LaserJet Enterprise MFP 5800 + * HP Color LaserJet Enterprise MFP X57945 + * HP Color LaserJet Enterprise Flow MFP X57945zs + * HP Color LaserJet Enterprise MFP X57945dn + * HP Color LaserJet Enterprise Flow MFP X57945z + +------------------------------------------------------------------- +Wed Mar 29 04:59:28 UTC 2023 - Antonio Larrosa + +- Add patch to fix hplip applying printf string format parsing to + printer attributes returned from CUPS (such as + "dnssd://foo%20series._ipp._tcp.local/?uuid=...") which results + in a segfault (boo#1209866, lp#2013185): + * fix-printer-attributes-parsing.patch + +------------------------------------------------------------------- +Mon Jan 2 14:08:12 UTC 2023 - Martin Wilck + +- Update to 3.22.10 + * drop no-systray-failure-message.patch (fixed upstream) + * adapt Use-lsb_release-fallback-code-if-import-distro-fails.patch + (code moved to different source file upstream) + +------------------------------------------------------------------- +Mon Nov 21 16:13:36 UTC 2022 - Dominique Leuenberger + +- Update disable_hp-upgrade.patch: Log the 'openSUSE disabled this + for security message' is 'info', not 'error'. + +------------------------------------------------------------------- +Thu Sep 29 12:58:15 UTC 2022 - Hans-Peter Jansen + +- Move the hplip-udev-rules requirement from hplip to hplip-hpijs. + The main package will get it via indirect dependencies then. + +------------------------------------------------------------------- +Wed Sep 28 17:12:58 UTC 2022 - Hans-Peter Jansen + +- Split off hplip-udev-rules hplip-udev-rules so that you can install + hplip-sane only and scan as a normal user, fixes boo#1203811 + +------------------------------------------------------------------- +Sun Aug 7 13:06:40 UTC 2022 - ecsos + +- Update to 3.22.6 + Added support for following new Distro's: + * Mx Linux 21.1 + * Ubuntu 22.04 + * Fedora 36 + Added support for the following new Printers: + * HP Color LaserJet Managed MFP E785dn + * HP Color LaserJet Managed MFP E78523dn + * HP Color LaserJet Managed MFP E78528dn + * HP Color LaserJet Managed MFP E786dn + * HP Color LaserJet Managed MFP E786 Core Printer + * HP Color LaserJet Managed MFP E78625dn + * HP Color LaserJet Managed FlowMFP E786z + * HP Color LaserJet Managed Flow MFP E78625z + * HP Color LaserJet Managed MFP E78630dn + * HP Color LaserJet Managed Flow MFP E78630z + * HP Color LaserJet Managed MFP E78635dn + * HP Color LaserJet Managed Flow MFP E78635z + * HP LaserJet Managed MFP E731dn + * HP LaserJet Managed MFP E731 Core Printer + * HP LaserJet Managed MFP E73130dn + * HP LaserJet Managed Flow MFP E731z + * HP LaserJet Managed Flow MFP E73130z + * HP LaserJet Managed MFP E73135dn + * HP LaserJet Managed Flow MFP E73135z + * HP LaserJet Managed MFP E73140dn + * HP LaserJet Managed Flow MFP E73140z + * HP Color LaserJet Managed MFP E877dn + * HP Color LaserJet Managed MFP E877 Core Printer + * HP Color LaserJet Managed MFP E87740dn + * HP Color LaserJet Managed Flow MFP E877z + * HP Color LaserJet Managed Flow MFP E87740z + * HP Color LaserJet Managed MFP E87750dn + * HP Color LaserJet Managed Flow MFP E87750z + * HP Color LaserJet Managed MFP E87760dn + * HP Color LaserJet Managed Flow MFP E87760z + * HP Color LaserJet Managed MFP E87770dn + * HP Color LaserJet Managed Flow MFP E87770z + * HP LaserJet Managed MFP E826dn + * HP LaserJet Managed MFP E826 Core Printer + * HP LaserJet Managed MFP E82650dn + * HP LaserJet Managed Flow MFP E826z + * HP LaserJet Managed Flow MFP E82650z + * HP LaserJet Managed MFP E82660dn + * HP LaserJet Managed Flow MFP E82660z + * HP LaserJet Managed MFP E82670dn + * HP LaserJet Managed Flow MFP E82670z + * HP LaserJet Managed MFP E730dn + * HP LaserJet Managed MFP E73025dn + * HP LaserJet Managed MFP E73030dn + * HP LaserJet Pro MFP 3101fdwe + * HP LaserJet Pro MFP 3101fdw + * HP LaserJet Pro MFP 3102fdwe + * HP LaserJet Pro MFP 3102fdw + * HP LaserJet Pro MFP 3103fdw + * HP LaserJet Pro MFP 3104fdw + * HP LaserJet Pro MFP 3101fdne + * HP LaserJet Pro MFP 3101fdn + * HP LaserJet Pro MFP 3102fdne + * HP LaserJet Pro MFP 3102fdn + * HP LaserJet Pro MFP 3103fdn + * HP LaserJet Pro MFP 3104fdn + * HP LaserJet Pro 3001dwe + * HP LaserJet Pro 3001dw + * HP LaserJet Pro 3002dwe + * HP LaserJet Pro 3002dw + * HP LaserJet Pro 3003dw + * HP LaserJet Pro 3004dw + * HP LaserJet Pro 3001dne + * HP LaserJet Pro 3001dn + * HP LaserJet Pro 3002dne + * HP LaserJet Pro 3002dn + * HP LaserJet Pro 3003dn + * HP LaserJet Pro 3004dn + +------------------------------------------------------------------- +Tue May 17 20:47:46 UTC 2022 - Hans-Peter Jansen + +- Add rebased hplip-3.20.6-python-includes.patch to fix the non- + functional scanning: libsane-hpaio.so.1: undefined symbol: _DBG + (fixes boo#1198794) + +------------------------------------------------------------------- +Mon May 9 10:05:36 UTC 2022 - ecsos + +- Update to 3.22.4 + Added support for following new Distro's: + * Manjaro 21.2 + Added support for the following new Printers: + * HP LaserJet Pro 4001ne + * HP LaserJet Pro 4001n + * HP LaserJet Pro 4001dne + * HP LaserJet Pro 4001dn + * HP LaserJet Pro 4001dwe + * HP LaserJet Pro 4001dw + * HP LaserJet Pro 4001d + * HP LaserJet Pro 4001de + * HP LaserJet Pro 4002ne + * HP LaserJet Pro 4002n + * HP LaserJet Pro 4002dne + * HP LaserJet Pro 4002dn + * HP LaserJet Pro 4002dwe + * HP LaserJet Pro 4002dw + * HP LaserJet Pro 4002d + * HP LaserJet Pro 4002de + * HP LaserJet Pro 4003dn + * HP LaserJet Pro 4003dw + * HP LaserJet Pro 4003n + * HP LaserJet Pro 4003d + * HP LaserJet Pro 4004d + * HP LaserJet Pro 4004dn + * HP LaserJet Pro 4004dw + * HP LaserJet Pro MFP 4101dwe + * HP LaserJet Pro MFP 4101dw + * HP LaserJet Pro MFP 4101fdn + * HP LaserJet Pro MFP 4101fdne + * HP LaserJet Pro MFP 4101fdw + * HP LaserJet Pro MFP 4101fdwe + * HP LaserJet Pro MFP 4102dwe + * HP LaserJet Pro MFP 4102dw + * HP LaserJet Pro MFP 4102fdn + * HP LaserJet Pro MFP 4102fdw + * HP LaserJet Pro MFP 4102fdwe + * HP LaserJet Pro MFP 4102fdne + * HP LaserJet Pro MFP 4102fnw + * HP LaserJet Pro MFP 4102fnwe + * HP LaserJet Pro MFP 4103dw + * HP LaserJet Pro MFP 4103dn + * HP LaserJet Pro MFP 4103fdn + * HP LaserJet Pro MFP 4103fdw + * HP LaserJet Pro MFP 4104dw + * HP LaserJet Pro MFP 4104fdw + * HP LaserJet Pro MFP 4104fdn + * HP ScanJet Pro 3600 f1 + * HP ScanJet Pro N4600 fnw1 + * HP ScanJet Pro 2600 f1 + * HP ScanJet Enterprise Flow N6600 fnw1 +- Changes from 3.22.2 + Added support for following new Distro's: + * Elementary OS 6.1 + * RHEL 8.5 + * Linux Mint 20.3 + Added support for the following new Printers: + * HP LaserJet Tank MFP 1602a + * HP LaserJet Tank MFP 1602w + * HP LaserJet Tank MFP 1604w + * HP LaserJet Tank MFP 2602dn + * HP LaserJet Tank MFP 2602sdn + * HP LaserJet Tank MFP 2602sdw + * HP LaserJet Tank MFP 2602dw + * HP LaserJet Tank MFP 2604dw + * HP LaserJet Tank MFP 2604sdw + * HP LaserJet Tank MFP 2603dw + * HP LaserJet Tank MFP 2603sdw + * HP LaserJet Tank MFP 2605sdw + * HP LaserJet Tank MFP 2606dn + * HP LaserJet Tank MFP 2606sdn + * HP LaserJet Tank MFP 2606sdw + * HP LaserJet Tank MFP 2606dw + * HP LaserJet Tank MFP 2606dc + * HP LaserJet Tank MFP 1005 + * HP LaserJet Tank MFP 1005w + * HP LaserJet Tank MFP 1005nw + * HP LaserJet Tank 1502a + * HP LaserJet Tank 1502w + * HP LaserJet Tank 1504w + * HP LaserJet Tank 2502dw + * HP LaserJet Tank 2502dn + * HP LaserJet Tank 2504dw + * HP LaserJet Tank 2503dw + * HP LaserJet Tank 2506dw + * HP LaserJet Tank 2506d + * HP LaserJet Tank 2506dn + * HP LaserJet Tank 1020 + * HP LaserJet Tank 1020w + * HP LaserJet Tank 1020nw +- Changes from 3.21.12 + Added support for following new Distro's: + * MX Linux 21 + * Elementary OS 6 + * Fedora 35 +- Drop photocard-fix-import-error-for-pcardext.patch, + because now in upstream. +- Rebase Use-lsb_release-fallback-code-if-import-distro-fails.patch, + bacause some is in upstream now. +- Reabse hplip-missing-drivers.patch + +------------------------------------------------------------------- +Tue Dec 14 14:43:11 UTC 2021 - Martin Wilck + +- Replace keys.openpgp.org with pgp.surf.nl (bsc#1193656) + * gpg refuses to load the key from keys.openpgp.org. + +------------------------------------------------------------------- +Tue Dec 14 11:17:46 UTC 2021 - Martin Wilck + +- Add build dependency on python-rpm-macros (bsc#1193718) +- Replace pool.sks-keyservers.net by keys.openpgp.org (bsc#1193656) + +------------------------------------------------------------------- +Sun Nov 7 15:43:43 UTC 2021 - Callum Farmer + +- Update to 3.21.10 + Added support for the following new printers: + * HP ENVY Inspire 7200e series + * HP ENVY Inspire 7900e series + * HP LaserJet MFP M140a + * HP LaserJet MFP M139a + * HP LaserJet MFP M141a + * HP LaserJet MFP M142a + * HP LaserJet MFP M140w + * HP LaserJet MFP M140we + * HP LaserJet MFP M139w + * HP LaserJet MFP M139we + * HP LaserJet MFP M141w + * HP LaserJet MFP M141we + * HP LaserJet MFP M142we + * HP LaserJet MFP M142w + * HP LaserJet M109a + * HP LaserJet M110a + * HP LaserJet M111a + * HP LaserJet M112a + * HP LaserJet M109w + * HP LaserJet M109we + * HP LaserJet M110w + * HP LaserJet M110we + * HP LaserJet M111w + * HP LaserJet M111we + * HP LaserJet M112we + * HP LaserJet M112w + * HP DesignJet Z6 Pro 64in + * HP DesignJet Z9 Pro 64in + * HP PageWide XL Pro 5200 PS MFP series + * HP PageWide XL Pro 8200 PS MFP series + * HP PageWide XL 3920 MFP + * HP PageWide XL 4200 Printer + * HP PageWide XL 4200 Multifunction Printer + * HP PageWide XL 4700 Printer + * HP PageWide XL 4700 Multifunction Printer + * HP PageWide XL 5200 Printer + * HP PageWide XL 5200 Multifunction Printer + * HP PageWide XL 8200 Printer + * HP Smart Tank 500 series + * HP Smart Tank 530 series + * HP Smart Tank Plus 570 series + * HP Smart Tank 7600 + * HP Smart Tank 750 + * HP Smart Tank 790 + * HP Smart Tank Plus 710-720 + * HP Smart Tank Plus 7000 + * HP Smart Tank Plus 660-670 + * HP Smart Tank Plus 6000 + * HP DeskJet Ink Advantage Ultra 4800 All-in-One Printer series +- Rebased hplip-missing-drivers.patch & don't edit Makefile.in +- Rebased hplip-remove-imageprocessor.diff +- Remove libtool archives +- Add drivers for hplip-missing-drivers.patch from Fedora + (lp#1843592,rh#1739855,rh#1740132,rh#1742949) + +------------------------------------------------------------------- +Tue Aug 24 07:11:04 UTC 2021 - Martin Wilck + +- Update to 3.21.6 + New upstream release, added support for new distributions + +------------------------------------------------------------------- +Thu Jun 16 11:44:00 UTC 2021 - Thomas Schraitle - 3.21.4 + +- Update to 3.21.4 + Added support for the following new printers: + * HP Envy 6400 series + +- Update to 3.21.2 + Add support for the following printers: + * HP LaserJet Enterprise M406dn + * HP LaserJet Enterprise M407dn + * HP LaserJet Enterprise MFP M430f + * HP LaserJet Enterprise MFP M431f + * HP LaserJet Managed E40040dn + * HP LaserJet Managed MFP E42540f + * HP Color LaserJet Enterprise M455dn + * HP Color LaserJet Managed E45028dn + * HP Color LaserJet Enterprise MFP M480f + * HP Color LaserJet Managed MFP E47528f + * HP PageWide XL 3920 MFP + * HP PageWide XL 4200 Printer + * HP PageWide XL 4200 Multifunction Printer + * HP PageWide XL 4700 Printer + * HP PageWide XL 4700 Multifunction Printer + * HP PageWide XL 5200 Printer + * HP PageWide XL 5200 Multifunction Printer + * HP PageWide XL 8200 Printer + * HP Laserjet M207d + * HP Laserjet M208d + * HP Laserjet M209d + * HP Laserjet M210d + * HP Laserjet M212d + * HP Lasejet M211d + * HP Laserjet M209dw + * HP Laserjet M209dwe + * HP Laserjet M210dw + * HP Laserjet M210dwe + * HP Laserjet M212dw + * HP LaserJet M212dwe + * HP Laserjet M208dw + * HP Laserjet M207dw + * HP Laserjet M211dw + * HP LaserJet MFP M234dw + * HP LaserJet MFP M234dwe + * HP LaserJet MFP M233d + * HP LaserJet MFP M232d + * HP LaserJet MFP M235d + * HP LaserJet MFP M237d + * HP LaserJet MFP M236d + * HP LaserJet MFP M232dw + * HP LaserJet MFP M232dwc + * HP LaserJet MFP M233dw + * HP LaserJet MFP M236dw + * HP LaserJet MFP M235dw + * HP LaserJet MFP M235dwe + * HP LaserJet MFP M237dwe + * HP LaserJet MFP M237dw + * HP LaserJet MFP M232sdn + * HP LaserJet MFP M233sdn + * HP LaserJet MFP M236sdn + * HP LaserJet MFP M234sdn + * HP LaserJet MFP M234sdne + * HP LaserJet MFP M235sdn + * HP LaserJet MFP M235sdne + * HP LaserJet MFP M237sdne + * HP LaserJet MFP M237sdn + * HP LaserJet MFP M232sdw + * HP LaserJet MFP M233sdw + * HP LaserJet MFP M236sdw + * HP LaserJet MFP M234sdw + * HP LaserJet MFP M234sdwe + * HP LaserJet MFP M235sdw + * HP LaserJet MFP M235sdwe + * HP LaserJet MFP M237sdwe + * HP LaserJet MFP M237sdw +- Spec file: + * Adapted patch hplip-remove-imageprocessor.diff + * Disabled image processor build with the configure option + --disable-imageProcessor-build + * Remove executable bit in %{_datadir}/hplip/ + * Ignore duplicate files in hplip-rpmlintrc ("__init__.*.pyc?") + * Fixed some warnings + +------------------------------------------------------------------- +Tue Feb 23 17:23:15 UTC 2021 - Martin Wilck + +- Remove %is_opensuse from spec file (jsc#SLE-11640) + This will build hp-scan-utils package on SLE, too, where it + has unsatisfiable dependencies. + +------------------------------------------------------------------- +Sun Feb 14 22:34:21 UTC 2021 - Stephan Hemeier + + * add hplip-missing-drivers.patch (lp#1843592) + Now working: + HP Laserjet Professional P1102w + HP LaserJet 100 ColorMFP M175nw + HP Laserjet CP 1025nw + +------------------------------------------------------------------- +Fri Jan 8 20:52:43 UTC 2021 - Martin Wilck + +- Update to 3.20.11 + + * Upstream version update and bug fixes (no new printers) + * Fix crash in hp-doctor if python3-qt4 is not installed + (bsc#1180724) + Added patch: dcheck.py-fix-crash-in-Qt4-version-check.patch + +------------------------------------------------------------------- +Mon Nov 23 11:47:45 UTC 2020 - Fridrich Strba + +- Update to 3.20.9 (jsc#SLE-17024) + Add support for the following printers: + * HP Color LaserJet Managed MFP E57540dn + * HP Color LaserJet Managed Flow MFP E57540c + * HP Color LaserJet Enterprise MFP M578dn + * HP Color LaserJet Enterprise MFP M578f + * HP Color LaserJet Enterprise Flow MFP M578c + * HP Color LaserJet Enterprise Flow MFP M578z + * HP Color LaserJet Managed E55040dw + * HP Color LaserJet Managed E55040dn + * HP Color LaserJet Enterprise M554dn + * HP Color LaserJet Enterprise M555dn + * HP Color LaserJet Enterprise M555x +- Modified patches: + * Use-lsb_release-fallback-code-if-import-distro-fails.patch + * hp_ipp.h-add-missing-prototypes.patch + * hplip-remove-imageprocessor.diff + * hplip-udev-rules-in-usr.patch + + refresh using source service + * add_missing_includes_and_define_GNU_SOURCE.patch + + refresh, drop inexisting file and add GNU_SOURCE definition + and missing include in common/utils.c + * hplip-misc-missing-includes-and-definitions.patch + + rediff to changed context +- New build dependency on libavahi-devel + +------------------------------------------------------------------- +Thu Oct 29 13:23:39 UTC 2020 - Michal Svec + +- Fixed bugzilla link (bsc#1177527) + +------------------------------------------------------------------- +Wed Jul 8 10:40:44 UTC 2020 - Callum Farmer + +- Fixes for %_libexecdir changing to /usr/libexec +- Spec file cleanup + +------------------------------------------------------------------- +Thu Jun 25 15:47:36 UTC 2020 - Martin Wilck + +- hplip-3.20.6.tar.gz has been updated on HP download server, + causing the OBS download_files bot to fail. Fix it. +- postscriptdriver provides are now enabled indirectly via cups-devel + (boo#1172407) + +------------------------------------------------------------------- +Thu Jun 18 09:16:25 UTC 2020 - Paolo Stivanin + +- Update to 3.20.6 + Add support for the following printers: + * HP Color LaserJet Managed MFP E78223a + * HP Color LaserJet Managed MFP E78223dv + * HP Color LaserJet Managed MFP E78223dn + * HP Color LaserJet Mngd MFP E78223dn Plus + * HP Color LaserJet Mngd MFP E78223dn CN + * HP Color LaserJet Managed MFP E78228dn + * HP Color LaserJet Managed MFP E78228dn Plus + * HP Color LaserJet Managed MFP E78228dn CN + * HP Color LaserJet Managed Flow MFP E78330z Plus + * HP Color LaserJet Managed Flow MFP E78330z CN + * HP Color LaserJet Managed MFP E78330dn + * HP Color LaserJet Mngd MFP E78330dn Plus + * HP Color LaserJet Mngd MFP E78330dn CN + * HP Color LaserJet Managed MFP E78330z + * HP Color LaserJet Managed Flow MFP E78325z Plus + * HP Color LaserJet Managed Flow MFP E78325dn CN + * HP Color LaserJet Managed Flow MFP E78325z CN + * HP Color LaserJet Managed MFP E78325dn + * HP Color LaserJet Managed MFP E78325z + * HP Color LaserJet Managed Flow MFP E78323z + * HP Color LaserJet Mgd Flw MFPE78323Z Plus + * HP Color LaserJet Mgd Flw MFPE78323z CN + * HP Color LaserJet Managed MFP E78323dn + * HP Color LaserJet Mngd MFP E78323dn Plus + * HP Color LaserJet Mngd MFP E78323dn CN + * HP DeskJet 1200 + * HP DeskJet Ink Advantage 1200 + * HP DeskJet 2300 All-in-One + * HP DeskJet Ink Advantage 2300 All-in-One + * HP ENVY 6000 series + * HP DeskJet Plus 6000 series + * HP ENVY Pro 6400 series + * HP DeskJet Plus 6400 series + * HP DeskJet 2700 All-in-One Printer series + * HP DeskJet Ink Advantage 2700 All-in-One Printer series + * HP DeskJet Plus 4100 All-in-One Printer series + * HP DeskJet Ink Advantage 4100 All-in-One Printer series + * HP LaserJet Enterprise M610dn + * HP LaserJet Enterprise M611dn + * HP LaserJet Enterprise M611x + * HP LaserJet Enterprise M612dn + * HP LaserJet Enterprise M612x + * HP LaserJet Enterprise MFP M634dn + * HP LaserJet Enterprise MFP M634z + * HP LaserJet Enterprise Flow MFP M634h + * HP LaserJet Enterprise MFP M635h + * HP LaserJet Enterprise MFP M635fht + * HP LaserJet Enterprise Flow MFP M635z + * HP LaserJet Enterprise MFP M636fh + * HP LaserJet Enterprise Flow MFP M636z + * HP Neverstop Laser MFP 1200n + * HP Neverstop Laser MFP 1201n + * HP Neverstop Laser MFP 1200nw + * HP Neverstop Laser MFP 1202nw + * HP Laser NS MFP 1005n + * HP Neverstop Laser 1000n + * HP Neverstop Laser 1001nw + * HP Laser NS 1020n + * HP ScanJet Pro 2000 s2 + * HP ScanJet Pro 3000 s4 + * HP ScanJet Pro N4000 snw1 + * HP ScanJet Enterprise Flow 5000 s5 + * HP ScanJet Enterprise Flow N7000 snw1 + +------------------------------------------------------------------- +Mon Mar 16 13:40:14 UTC 2020 - Martin Wilck + +- Use LSB fallback if distro determination fails (bsc#1166623) + * Add patch: Use-lsb_release-fallback-code-if-import-distro-fails.patch +- Removed python3-distro dependency again, not necessary any more. + +------------------------------------------------------------------- +Mon Mar 16 09:15:53 UTC 2020 - Johannes Meixner + +- Recommend python3-distro (boo#1166623) + +------------------------------------------------------------------- +Mon Jan 13 22:01:08 UTC 2020 - Martin Wilck + +- Use /etc/sane.d/dll.d/hpaio to register SANE backend rather + than modifying /etc/sane/dll.conf +- SANE backend must be configured in hplip-sane package (bsc#1160708) + +------------------------------------------------------------------- +Mon Jan 13 17:27:20 UTC 2020 - Martin Wilck + +- Revert changes from 3.18.5 that break hp-setup for fax devices + (bsc#1107711, lp#1773320) + * Added patch: Revert-changes-from-3.18.5-that-break-hp-setup-for-f.patch + +------------------------------------------------------------------- +Fri Jan 10 13:52:53 UTC 2020 - Martin Wilck + +- Fix crash if python3-reportlab is missing (bsc#1159240, lp#1859179) + * Added hp-sendfax-avoid-crash-if-python-reportlab-is-missin.patch + * Added recommends on python3-reportlab + +------------------------------------------------------------------- +Thu Jan 9 11:54:45 UTC 2020 - Johannes Weberhofer + +- updated to 3.19.12 + + Rendering print jobs with cupsfilter command + Added support for the following new Printers: + + * HP Color LaserJet Pro M256dn + * HP Color LaserJet Pro M255dn + * HP Color LaserJet Pro M256nw + * HP Color LaserJet Pro M255nw + * HP Color LaserJet Pro M256dw + * HP Color LaserJet Pro M255dw + * HP Color LaserJet Pro M155a + * HP Color LaserJet Pro M156a + * HP Color LaserJet Pro M155nw + * HP Color LaserJet Pro M156nw + * HP Color LaserJet Pro MFP M282nw + * HP Color LaserJet Pro MFP M284nw + * HP Color LaserJet Pro MFP M283fdn + * HP Color LaserJet Pro MFP M285fdn + * HP Color LaserJet Pro MFP M283fdw + * HP Color LaserJet Pro MFP M285fdw + * HP Color LaserJet Pro MFP M283cdw + * HP Color LaserJet Pro MFP M285cdw + * HP Color LaserJet Pro MFP M182n + * HP Color LaserJet Pro MFP M184n + * HP Color LaserJet Pro MFP M182nw + * HP Color LaserJet Pro MFP M184nw + * HP Color LaserJet Pro MFP M183fw + * HP Color LaserJet Pro MFP M185fw + +- updated to 3.19.11 + + Added Supported for “hp-uiscan” to scan only backside of a page + + Added support for the following new Printers: + * HP Color LaserJet MFP M776dn + * HP Color LaserJet Flow MFP M776z + * HP Color LaserJet Flow MFP M776zs + * HP Color LaserJet M856dn + * HP Color LaserJet M856x + * HP Color LaserJet E85055dn + + Added Job Accounting Support for the following devices: + * HP LaserJet Managed Flow MFP E77822-28-30 Printer + * HP LaserJet Managed MFP E77822-28-30 Printer + * HP LaserJet Managed Flow MFP E87640-50-60 Printer + * HP LaserJet Managed MFP E87640-50-60 Printer + * HP LaserJet Managed Flow MFP E82540-50-60 Printer + * HP LaserJet Managed MFP E82540-50-60 Printer + * HP LaserJet Managed Flow MFP E72525-30-35 Printer + * HP LaserJet Managed MFP E72525-30-35 Printer + +- updated to 3.19.8 + hp-uiscan will fetch the paper sizes from the device dynamically for ScanJet devices. + hp-uiscan will prompt error message when paper jam occurs for ScanJet devices. + + Added support for the following new Printers: + * HP DesignJet T1530 Postscript + * HP DesignJet T1600 Postscript Printer + * HP DesignJet T1600dr Postscript Printer + * HP DesignJet T2530 Postscript + * HP DesignJet T2600 Postscript MFP + * HP DesignJet T930 Postscript + * HP LaserJet Pro M304a + * HP LaserJet Pro M305d + * HP LaserJet Pro M305dn + * HP LaserJet Pro M305dw + * HP LaserJet Pro MFP M329dn + * HP LaserJet Pro MFP M329dw + +------------------------------------------------------------------- +Sun Dec 15 14:46:50 UTC 2019 - Stefan Brüns + +- Pass Python includedir in CFLAGS to fix broken lookup of Python.h + in configure, fails with Python 3.8 (boo#1159242). + +------------------------------------------------------------------- +Wed Oct 16 07:48:29 UTC 2019 - Andreas Schneider + +- Added missing requirement lsb-release (needed for root password + prompt, e.g. hp-plugin). +- Changed the pgp server to pool.sks-keyservers.net to avoid timeouts + from pgp.mit.edu + * New patch: hplip-change-pgp-server.patch + +------------------------------------------------------------------- +Thu Aug 29 20:33:04 UTC 2019 - Martin Wilck + +- Renamed "hplip-scan" to "hplip-scan-utils" to express the + purpose of the package more clearly in the name. + "hplip-scan" has never been in public repos. + +------------------------------------------------------------------- +Thu Aug 29 20:24:48 UTC 2019 - Martin Wilck + +- Added conditional BuildRequires on "cups-rpm-helper". + Recently a bug in python-pycups was fixed that had prevented + autogeneration of Provides: tags in printer drivers by means + of "BuildRequires: python3-cups". See OBS sr#726727. This + dependency must be conditional for now, as cups-rpm-helper + is not available in every project yet. +- Ran spec-cleaner. + +------------------------------------------------------------------- +Wed Aug 28 21:32:04 UTC 2019 - Martin Wilck + +- Removed compatibility code for SLE12/Leap42 and earlier + As we are now using rpm 4.13 (A and B) syntax, we can't support + these any more anyway. + +------------------------------------------------------------------- +Tue Aug 27 10:48:46 UTC 2019 - Martin Wilck + +- Moved hp-scan and hp-uiscan to a separate package "hp-scan". + These tools pull in PIL and python3-scikit-image, which causes + a rather big dependency list, which is only available in openSUSE. + This allows us also to get rid of the non-functional "hp-scan" tool + in SLE. +- Fixed --with-htmldir so that documentation is packaged +- Improved package descriptions and summaries + * Clarified the relationship of hplip-hpijs, hplip-sane, and hplip + * Shortened the descriptions + * Removed reference to HTML documention in package description +- Added -devel dependencies as required by post-build-checks +- Minor spec file cleanup (macro usage) +- Fixed build failures on non-standard architectures by adding BuildIgnore + These failures are actually caused by some ports catching up + slowly with package updates. But our BuildIgnores are helpful + nonetheless, making the build environment leaner. + +------------------------------------------------------------------- +Mon Aug 12 12:53:35 UTC 2019 - Johannes Weberhofer + +- updated to 3.19.6 + Added support for the following new Printers: + * HP Color LaserJet Enterprise M751dn + * HP Color LaserJet Enterprise M751n + * HP Color LaserJet Managed E75245dn + * HP Color LaserJet Pro M453cdn + * HP Color LaserJet Pro M453cdw + * HP Color LaserJet Pro M454cdn + * HP Color LaserJet Pro M454cdw + * HP Color LaserJet Pro M454dn + * HP Color LaserJet Pro M454dw + * HP Color LaserJet Pro M454nw + * HP Color LaserJet Pro MFP M478fcdn + * HP Color LaserJet Pro MFP M478fcdw + * HP Color LaserJet Pro MFP M479dw + * HP Color LaserJet Pro MFP M479fcdn + * HP Color LaserJet Pro MFP M479fcdw + * HP Color LaserJet Pro MFP M479fdn + * HP Color LaserJet Pro MFP M479fdw + * HP Color LaserJet Pro MFP M479fnw + * HP DesignJet T2600dr Postscript MFP + * HP DesignJet XL 3600 PS MFP + * HP Laser NS 1020 + * HP Laser NS 1020w + * HP Laser NS MFP 1005 + * HP Laser NS MFP 1005w + * HP LaserJet Enterprise Flow MFP M528c + * HP LaserJet Enterprise Flow MFP M528z + * HP LaserJet Enterprise M507dn + * HP LaserJet Enterprise M507dng + * HP LaserJet Enterprise M507n + * HP LaserJet Enterprise M507x + * HP LaserJet Enterprise MFP M528dn + * HP LaserJet Enterprise MFP M528f + * HP LaserJet Managed E50145dn + * HP LaserJet Managed E50145x + * HP LaserJet Managed Flow MFP E52645c + * HP LaserJet Managed MFP E52645dn + * HP LaserJet Pro M404c1 + * HP LaserJet Pro M404c2 + * HP LaserJet Pro M404c3 + * HP LaserJet Pro M404c4 + * HP LaserJet Pro M404d + * HP LaserJet Pro M404dn + * HP LaserJet Pro M404dw + * HP LaserJet Pro M404m + * HP LaserJet Pro M404n + * HP LaserJet Pro M405d + * HP LaserJet Pro M405dn + * HP LaserJet Pro M405dw + * HP LaserJet Pro M405n + * HP LaserJet Pro MFP M428c1 + * HP LaserJet Pro MFP M428c2 + * HP LaserJet Pro MFP M428c3 + * HP LaserJet Pro MFP M428c4 + * HP LaserJet Pro MFP M428dw + * HP LaserJet Pro MFP M428fdn + * HP LaserJet Pro MFP M428fdw + * HP LaserJet Pro MFP M428m + * HP LaserJet Pro MFP M429dw + * HP LaserJet Pro MFP M429fdn + * HP LaserJet Pro MFP M429fdw + * HP Neverstop Laser 1000a + * HP Neverstop Laser 1000w + * HP Neverstop Laser MFP 1200a + * HP Neverstop Laser MFP 1200w + * HP OfficeJet 8010 All * in * One Printer series + * HP OfficeJet 8020 All * in * One Printer Series + * HP OfficeJet Pro 8020 All * in * One Printer series + * HP OfficeJet Pro 8030 All * in * One Printer series + * HP PageWide XL 3900PS MFP + * HP Smart Tank 500 series + * HP Smart Tank 510 + * HP Smart Tank 530 series + * HP Smart Tank 610 + * HP Smart Tank Plus 550 + * HP Smart Tank Plus 570 series + * HP Smart Tank Plus 650 + +------------------------------------------------------------------- +Tue Jul 16 07:52:48 UTC 2019 - Martin Liška + +- Disable -Werror=return-type for now. +- Use %make_build for parallel build. + +------------------------------------------------------------------- +Fri Apr 12 16:33:57 UTC 2019 - Johannes Weberhofer + +- Added hp-uiscan application +- Updated URLs and source URLs +- Updated/rebased hplip-misc-missing-includes-and-definitions.patch +- Added hplip-remove-imageprocessor.diff which fully removes references + to the closed source ImageProcessor. Thanks to Didier Raboud from Debian. +- Addded hplip-orblite-return-null.diff to let a function return NULL + insetad of nothing. + +- update to 3.19.3 + Added support for the following new Printers: + * HP Color LaserJet Managed E65150dn + * HP Color LaserJet Managed E65160dn + * HP Color LaserJet Managed Flow MFP E67660z + * HP Color LaserJet Managed MFP E67650dh + * HP Color LaserJet Managed MFP E77422a + * HP Color LaserJet Managed MFP E77422dn + * HP Color LaserJet Managed MFP E77422dv + * HP Color LaserJet Managed MFP E77428dn + * HP Color LaserJet Managed MFP E87640 du + * HP Color LaserJet Managed MFP E87650du + * HP Color LaserJet Managed MFP E87660du + * HP DesignJet T1708 PostScript + * HP DesignJet T1708dr PostScript + * HP DesignJet Z6 24in + * HP DesignJet Z6 44in + * HP DesignJet Z6dr 44in + * HP DesignJet Z9 24in + * HP DesignJet Z9 44in + * HP DesignJet Z9dr 44in + * HP Ink Tank 115 + * HP Ink Tank 310 + * HP Ink Tank Wireless 410 + * HP LaserJet Managed E60155dn + * HP LaserJet Managed E60165dn + * HP LaserJet Managed E60175dn + * HP LaserJet Managed Flow MFP E62665h + * HP LaserJet Managed Flow MFP E62665z + * HP LaserJet Managed Flow MFP E62675z + * HP LaserJet Managed MFP E62655dn + * HP LaserJet Managed MFP E62665hs + * HP LaserJet Managed MFP E82540du + * HP LaserJet Managed MFP E82550du + * HP LaserJet Managed MFP E82560du + * HP LaserJet MFP E72425a + * HP LaserJet MFP E72425dn + * HP LaserJet MFP E72425dv + * HP LaserJet MFP E72430dn + * HP LaserJet Pro M118dw + * HP LaserJet Pro M118dw + * HP LaserJet Pro M119dw + * HP LaserJet Pro M119dw + * HP LaserJet Pro MFP M148dw + * HP LaserJet Pro MFP M148dw + * HP LaserJet Pro MFP M148fdw + * HP LaserJet Pro MFP M148fdw + * HP LaserJet Pro MFP M149dw + * HP LaserJet Pro MFP M149dw + * HP LaserJet Pro MFP M149fdw + * HP LaserJet Pro MFP M149fdw + * HP OfficeJet All-in-One 9010 + * HP OfficeJet Pro All-in-One 9010 + * HP OfficeJet Pro All-in-One 9020 + * HP PageWide 755dn + * HP PageWide 755dn + * HP PageWide MFP 774dn + * HP PageWide MFP 774dn + * HP PageWide MFP 774dns + * HP PageWide MFP 774dns + * HP PageWide MFP 779dn + * HP PageWide MFP 779dn + * HP PageWide MFP 779dns + * HP PageWide MFP 779dns + * HP PageWide XL 4100 MFP + * HP PageWide XL 4100 Printer + * HP PageWide XL 4600 Printer + * HP PageWide XL 4600PS MFP + * HP Scanjet Enterprise 7500 Flatbed Scanner + * HP Scanjet Enterprise 7500 Flatbed Scanner + * HP Smart Tank 350 + * HP Smart Tank Wireless 450 + * HP Tango + * HP Tango X + + Added support for the following new ScanJet Device: + * HP Scanjet Pro 2000 S1 + * HP Scanjet Pro 2500 f1 + + Support for Phase 1 Scan features for + * Digital Sender Flow 8500 fn2 + * ScanJet 5000 + * ScanJet 7500 + * Scanjet Ent flow 7000s3 + * Scanjet Ent. Flow N9120 fn2 + * Scanjet Pro 3000s3 + * Scanjet Pro 3500f1 + * Scanjet Pro 4500fn1 + + User can use ScanJet feature by using hp-uiscan tool. Following + features are introduced for ScanJet: + * Straighten page content + * Auto Orient + * Crop to content on page + * Misfeed(multipick) detection + * Delete blank page + * Separate the document based on blank page or barcode + * Page merge + * Mixed document feed + * Document merge + * Crushed page scan + * Image enhancement + * PunchHole Removal + * ColorDropOut/ColorRemoval + * Background Noise Removal + * Background Color Removal + * BMP File format Support + * Searchable PDF + * Smaller file size for PDF and JPEG + + Basic Booklet Printing Support for the following devices: + * HP LaserJet Managed MFP E82540-50-60 dn-du-z + * HP Color LaserJet Managed MFP E87640-50-60 dn-du-z + * HP Color LaserJet Managed MFP E77422a-dv-dn + * HP Color LaserJet Managed MFP E77428dn + * HP LaserJet MFP E72425a-dv-dn + * HP LaserJet MFP E72430dn + + Limitations: + * HPLIP does not support HP ScanJet Pro 2500 f1 device on OpenSuse + Linux distribution. + * Multipick feature not supported in below devices: + HP Scanjet Pro 2000 S1 + HP Scanjet Pro 2500 f1 + + Fixes: + * hp-check crashes with FileNotFoundError using python3.7 + +------------------------------------------------------------------- +Tue Apr 9 20:11:02 UTC 2019 - Martin Wilck + +- Remove dependency on python3-pillow on SLE (bsc#1131613), and + remove the hp-scan tool that needs it. "scanimage" must be used + instead. + +------------------------------------------------------------------- +Mon Mar 11 11:36:36 UTC 2019 - Martin Wilck + +- don't mark /usr/lib/udev/rules.d/56-hpmud.rules as config file, + fixes rpmlint warning (override it by copying it to + /etc/udev/rules.d). + +------------------------------------------------------------------- +Fri Mar 8 00:00:15 UTC 2019 - Martin Wilck + +- Fix hp-toolbox exiting after 10s under GNOME (bsc#1112331) + * removed ui5-systemtray.py-make-children-exit-if-no-systray-f.patch + Patch "ui5-systemtray-wait-only-10s-for-system-tray.patch" is + sufficient to fix the logout problem (bsc#1112331, lp#1721534) + +------------------------------------------------------------------- +Fri Feb 8 17:45:07 UTC 2019 - Martin Wilck + + - Fix hang during GNOME session logout (bsc#1112331, lp#1721534) + * added ui5-systemtray.py-make-children-exit-if-no-systray-f.patch + * added ui5-systemtray-wait-only-10s-for-system-tray.patch + +------------------------------------------------------------------- +Tue Aug 28 11:37:58 UTC 2018 - Hans-Peter Jansen + +- removed Fix-scanning-with-python-pillow-4.2.0.patch as resolved + upstream. Closes boo#1096755 +- removed hplip-mdns.patch and hplip-mdns-retry-query.patch, since + upstream further improved the code in this area + +------------------------------------------------------------------- +Thu Aug 2 13:38:51 UTC 2018 - hpj@urpla.net + +- update to 3.18.7 avoided due to newly added ImageProcessor.so blob + +- update to 3.18.6: + Added Support for the following new Printers: + - HP DesignJet Z6810 42in PostScript + - HP DesignJet Z6810 60in PostScript + - HP DesignJet Z6610 60in PostScript + +- update to 3.18.5: + Added Support for the following new Printers: + - HP DesignJet T1700 PostScript + - HP DesignJet T1700dr PostScript + - HP Color LaserJet Pro M253a + - HP Color LaserJet Pro M254dn + - HP Color LaserJet Pro M254n + - HP Color LaserJet Pro M254dne + - HP Color LaserJet Pro M254nw + - HP Color LaserJet Pro M254dw + - HP Color LaserJet Pro M254cnw + - HP Color LaserJet Pro M253nw + - HP Color LaserJet Pro M253cnw + - HP Color LaserJet Pro M254cdw + - HP Color LaserJet Pro MFP M180nw + - HP Color LaserJet Pro MFP M181fw + - HP Color LaserJet Pro MFP M179fw + - HP Color LaserJet Pro MFP M179cfw + - HP Color LaserJet Pro MFP M181fnw + - HP Color LaserJet Pro MFP M181cfw + - HP Color LaserJet Pro MFP M180n + - HP Color LaserJet Pro MFP M178cn + - HP Color LaserJet Pro MFP M178n + - HP Color LaserJet Pro MFP M180cn + - HP Color LaserJet Pro MFP M281fdw + - HP Color LaserJet Pro MFP M279fdw + - HP Color LaserJet Pro MFP M281cdw + - HP Color LaserJet Pro MFP M281fdn + - HP Color LaserJet Pro MFP M281dne + - HP Color LaserJet Pro MFP M278dn + - HP Color LaserJet Pro MFP M280nw + - HP Color LaserJet Pro MFP M278nw + - HP Color LaserJet Pro MFP M278cw + - HP Color LaserJet Pro MFP M280cnw + - HP Color LaserJet Pro MFP M280c2 + - HP Color LaserJet Pro M154a + - HP Color LaserJet M153a + - HP Color LaserJet M153b + - HP Color LaserJet M154b + - HP Color LaserJet M154nw + - HP Color LaserJet M153nw + - HP Color LaserJet M153cnw + - HP Color LaserJet M153c1 + - HP Color LaserJet M154cnw + - HP Color LaserJet M154c1 + - HP PageWide Managed Color P75250dn + - HP PageWide Managed Color MFP P77940dns + - HP PageWide Managed Color MFP P77940dn + - HP PageWide Managed Color MFP P77940dn+ + - HP PageWide Managed Color MFP P77950dns + - HP PageWide Managed Color MFP P77950dn + - HP PageWide Managed Color MFP P77950dn+ + - HP PageWide Managed Color MFP P77960dns + - HP PageWide Managed Color MFP P77960dn + - HP PageWide Managed Color MFP P77960dn+ + - HP PageWide Managed Color MFP P77440dn + - HP PageWide Managed Color Flow MFP E77950z + - HP PageWide Managed Color Flow MFP E77950zs + - HP PageWide Managed Color Flow MFP E77950z+ + - HP PageWide Managed Color Flow MFP E77960z + - HP PageWide Managed Color Flow MFP E77960zs + - HP PageWide Managed Color Flow MFP E77960zts + - HP PageWide Managed Color Flow MFP E77960z+ + +- update to 3.18.4: + Added Support for the following new Printers: + - HP LaserJet Pro MFP M28a + - HP LaserJet Pro MFP M29a + - HP LaserJet Pro MFP M30a + - HP LaserJet Pro MFP M31a + - HP LaserJet Pro MFP M30c + - HP LaserJet Pro MFP M31c + - HP LaserJet Pro MFP M28w + - HP LaserJet Pro MFP M29w + - HP LaserJet Pro MFP M30w + - HP LaserJet Pro MFP M31w + - HP LaserJet Pro MFP M30cw + - HP LaserJet Pro MFP M31cw + - HP LaserJet Pro M14a + - HP LaserJet Pro M15a + - HP LaserJet Pro M16a + - HP LaserJet Pro M17a + - HP LaserJet Pro M14c + - HP LaserJet Pro M17c + - HP LaserJet Pro M14w + - HP LaserJet Pro M15w + - HP LaserJet Pro M16w + - HP LaserJet Pro M17w + - HP LaserJet Pro M14cw + - HP LaserJet Pro M17cw + Added Support for the following new Distros: + - Ubuntu 18.04 Beta Version (64 bit) + - Debian 9.2 (32 bit and 64 bit) + - Debian 9.3 (32 bit and 64 bit) + - Debian 9.4 (32 bit and 64 bit) + +- update to 3.18.3: + Added Support for the following new Printers: + - HP DesignJet Z2600 PostScript + - HP DesignJet Z5600 PostScript + - HP PageWide XL 8000ps Printer + - HP PageWide XL 8000 Blueprinter + - HP PageWide XL 5000 Printer + - HP PageWide XL 5000 MFP + - HP PageWide XL 5000 Blueprinter + - HP PageWide XL 4500 Printer + - HP PageWide XL 4500 MFP + - HP PageWide XL 4000 Printer + - HP PageWide XL 4000 MFP + - HP PageWide XL 5100ps + - HP PageWide XL 5100ps MFP + - HP PageWide XL 5100ps MFP Blueprinter + - HP PageWide XL 6000ps + - HP PageWide XL 6000ps MFP + Added Support for the following new Distros: + - Manjaro Linux 17.1.4 (64 bit) + - Fedora 27 (64 bit) + - Linux Mint 18.3 (32 bit and 64 bit) + Launchpad fixes: + - 1736221 : hplip-3.17.11 source tarball contains compiled + binaries + - 1741214 : scan.py - scans cannot be saved as JPEG since + python-pillow-4.2.0 + +- update to 3.17.11: + Added Support for the following new Distros: + - Ubuntu 17.10 (64bit) + Other requirement: + - Class Driver support + +- update to 3.17.10: + Added Support for the following new Scanners: + - HP Scanjet Enterprise Flow N9120 fn2 Document Scanner + - HP Digital Sender Flow 8500 fn2 Document Capture Workstation + Added Support for the following new Distros: + - Debian 9.1 + +- refresh patches +- adjust mdns.c changes + (which looses newly added _uscan._tcp.local queries, but requires + interface changes) +- fix build due to unexpanded ppd/hpcups/*.ppd.gz usage in Makefile + +------------------------------------------------------------------- +Sun Jun 24 05:22:01 UTC 2018 - bwiedemann@suse.com + +- require python3-Pillow for hp-scan to work (bsc#1100511) + +------------------------------------------------------------------- +Tue Jun 12 13:24:15 UTC 2018 - mwilck@suse.com + +- Fix scanning with python-pillow 4.2.0 (boo#1096755, #lp1741214) + * added Fix-scanning-with-python-pillow-4.2.0.patch + +------------------------------------------------------------------- +Thu Jun 7 06:50:26 UTC 2018 - mwilck@suse.com + +- Fix bug in hpijs-avoid-segfault-in-DJGenericVIP-DJGenericVIP.patch: + default behavior of DJ9xxVIP device must not be changed + +------------------------------------------------------------------- +Fri Jun 1 15:18:19 UTC 2018 - mwilck@suse.com + +- avoid segfault in DJGenericVIP::DJGenericVIP() (boo#1094141, + lp#1774660) + * added hpijs-avoid-segfault-in-DJGenericVIP-DJGenericVIP.patch + +------------------------------------------------------------------- +Thu Mar 22 08:44:17 UTC 2018 - mwilck@suse.com + +- photocard.py: fixed broken import statement (bsc#1071255) + * added photocard-fix-import-error-for-pcardext.patch + * spec file: fixed dependency for dbus-1-python + +------------------------------------------------------------------- +Wed Mar 21 23:52:02 UTC 2018 - mwilck@suse.com + +- Use python3 on tumbleweed and SLE15/Leap15 (bsc#1071255) + * add pcardext-python3-fixes.patch + * add hplip-misc-missing-includes-and-definitions.patch + * hp_ipp.h-add-missing-prototypes.patch + * spec file: replace "/usr/bin/env python" and "/usr/bin/python" with + desired interpreter + * spec file: add py2/py3 selection macros + * spec file: dropped python-openssl build dependency (not needed anymore) + +------------------------------------------------------------------- +Thu Oct 12 21:03:40 UTC 2017 - mgorse@suse.com + +- Add no-systray-failure-message.patch: don't display an error if + unable to find a system tray (boo#1061211). + +------------------------------------------------------------------- +Wed Oct 4 14:28:17 UTC 2017 - mwilck@suse.com + +- Version update to 3.17.9: + * Added support for the following new printers: + - HP OfficeJet Pro 7720 Wide Format All-in-One + - HP DeskJet AMP All-in-One Printer + - HP OfficeJet 5220 All-in-One Printer + - HP OfficeJet 5230 All-in-One Printer + - HP OfficeJet 5232 All-in-One Printer + - HP ENVY Photo 6220 All-in-One Printer + - HP ENVY Photo 6232 All-in-One Printer + - HP ENVY Photo 7120 All-in-One Printer + - HP ENVY Photo 7134 All-in-One Printer + - HP ENVY Photo 7820 All-in-One Printer + - HP ENVY 5020 All-in-One Printer + - HP ENVY 5032 All-in-One Printer + - HP DeskJet Ink Advantage 3735 All-in-One + - HP ENVY Photo 6234 All-in-One Printer + - HP ENVY Photo 6230 All-in-One Printer + - HP AMP 130 All-in-One Printer + - HP OfficeJet Pro 7730 Wide Format All-in-One + - HP ENVY Photo 7155 All-in-One Printer + - HP ENVY Photo 7164 All-in-One Printer + - HP ENVY Photo 7155 All-In-One Printer + - HP ENVY Photo 7800 All-In-One Printer + - HP ENVY Photo 6200 All-In-One Printer + - HP ENVY Photo 7130 All-in-One Printer + - HP ENVY Photo 7830 All-in-One Printer + - HP ENVY Photo 7120 All-in-One Printer + - HP ENVY Photo 7820 All-in-One Printer + - HP ENVY Photo 7855 All-in-One Printer + - HP DeskJet Ink Advantage 5075 All-in-One Printer + - HP PageWide Enterprise Color 765dn + - HP PageWide Managed Color E75160dn + - HP PageWide Enterprise Color MFP 780dn + - HP PageWide Enterprise Color Flow MFP 785f + - HP PageWide Enterprise Color Flow MFP 785zs + - HP PageWide Enterprise Color Flow MFP 785z+ + - HP PageWide Managed Color MFP E77650dn + - HP PageWide Managed Color MFP E77650dns + - HP PageWide Managed Color MFP E77660dn + - HP PageWide Managed Color Flow MFP E77650z + - HP PageWide Managed Color Flow MFP E77650zs + - HP PageWide Managed Color Flow MFP E77650z+ + - HP PageWide Managed Color Flow MFP E77660z + - HP PageWide Managed Color Flow MFP E77660zs + - HP PageWide Managed Color Flow MFP E77660z+ + * from 3.17.7: + - HP DeskJet Ink Advantage 2635 All-in-One + - HP DeskJet Ink Advantage 2636 All-in-One + - HP DeskJet Ink Advantage 2675 All-in-One + - HP DeskJet Ink Advantage 2676 All-in-One + - HP DeskJet Ink Advantage 2677 All-in-One + - HP DeskJet Ink Advantage 2678 All-in-One + - HP DeskJet 2620 All-in-One + - HP DeskJet 2621 All-in-One + - HP DeskJet 2622 All-in-One + - HP DeskJet 2623 All-in-One + - HP DeskJet Ink Advantage 2200 All-in-One + - HP DeskJet 3722 All-in-One + - HP DeskJet Ink Advantage 3789 All-in-One + - HP DeskJet Ink Advantage 3790 All-in-One + +------------------------------------------------------------------- +Fri Aug 25 17:29:47 UTC 2017 - fvogt@suse.com + +- Default to Qt5 on SLE 15 as well to avoid Qt4 with dependency on + openSSL 1.0 + +------------------------------------------------------------------- +Tue Jul 11 13:29:58 UTC 2017 - mwilck@suse.com + +- Version Upgrade to 3.17.6: + * Added support for the following new printers: + - HP LaserJet Enterprise M607n + - HP LaserJet Enterprise M607dn + - HP LaserJet Enterprise M608n + - HP LaserJet Enterprise M608dn + - HP LaserJet Enterprise M608x + - HP LaserJet Enterprise M608dh + - HP LaserJet Enterprise M609dn + - HP LaserJet Enterprise M609x + - HP LaserJet Managed E60055dn + - HP LaserJet Managed E60065dn + - HP LaserJet Managed E60065x + - HP LaserJet Managed E60075dn + - HP LaserJet Managed E60075x + - HP LaserJet Enterprise MFP M631dn + - HP LaserJet Enterprise Flow MFP M631h + - HP LaserJet Enterprise MFP M631z + - HP LaserJet Enterprise Flow MFP M632z + - HP LaserJet Enterprise MFP M632fht + - HP LaserJet Enterprise MFP M632h + - HP LaserJet Enterprise Flow MFP M633z + - HP LaserJet Enterprise MFP M633fh + - HP LaserJet Managed MFP E62555dn + - HP LaserJet Managed Flow MFP E62565h + - HP LaserJet Managed MFP E62565hs + - HP LaserJet Managed Flow MFP E62565z + - HP LaserJet Managed Flow MFP E62575z + - HP Color LaserJet Enterprise M652dn + - HP Color LaserJet Enterprise M652n + - HP Color LaserJet Enterprise M653dn + - HP Color LaserJet Enterprise M653dh + - HP Color LaserJet Enterprise M653x + - HP Color LaserJet Managed E65050dn + - HP Color LaserJet Managed E65060dn + - HP Color LaserJet Managed MFP E67550dh + - HP Color LaserJet Managed Flow MFP E67560z + - HP Color LaserJet Enterprise MFP M681dh + - HP Color LaserJet Enterprise MFP M681f + - HP Color LaserJet Enterprise Flow MFP M681z + - HP Color LaserJet Enterprise Flow MFP M681f + - HP Color LaserJet Enterprise Flow MFP M682z + - HP PageWide Managed P77750z Multifunction Printer + - HP Pagewide Pro 750dn + - HP Pagewide Pro 750dw + - HP PageWide Pro 772dw Multifunction Printer + - HP PageWide Managed P77740zs Multifunction Printer + - HP PageWide Managed P77750zs Multifunction Printer + - HP PageWide Managed P75050dn Printer + - HP LaserJet Pro MFP M25a + - HP LaserJet Pro MFP M25nw + - HP LaserJet Pro MFP M26a + - HP LaserJet Pro MFP M26nw + - HP LaserJet Pro MFP M27c + - HP LaserJet Pro MFP M27cnw + * Bug fixes (launchpad): + - 1690515 - DeskJet 3775 - scanner not found + - 1690516 - Head alignment dont work (HPLIP 3.17.4) + +------------------------------------------------------------------- +Sun Apr 30 04:11:16 UTC 2017 - bwiedemann@suse.com + +- call gzip -n to make build more reproducible + +------------------------------------------------------------------- +Fri Apr 28 00:00:00 CEST 2017 - dsterba@suse.cz + +- Version upgrade to 3.17.4: + * Added Support for the Following New Printers: + - HP LaserJet Managed Flow MFP E77822z Printer + - HP LaserJet Managed MFP E77822dn Printer + - HP LaserJet Managed Flow MFP E77825z Printer + - HP LaserJet Managed MFP E77825dn Printer + - HP LaserJet Managed Flow MFP E77830z Printer + - HP LaserJet Managed MFP E77830dn Printer + - HP LaserJet Managed Flow MFP E87640z Printer + - HP LaserJet Managed MFP E87640dn Printer + - HP LaserJet Managed Flow MFP E87650z Printer + - HP LaserJet Managed MFP E87650dn Printer + - HP LaserJet Managed Flow MFP E87660z Printer + - HP LaserJet Managed MFP E87660dn Printer + - HP LaserJet Managed Flow MFP E82540z Printer + - HP LaserJet Managed MFP E82540dn Printer + - HP LaserJet Managed Flow MFP E82550z Printer + - HP LaserJet Managed MFP E82550dn Printer + - HP LaserJet Managed Flow MFP E82560z Printer + - HP LaserJet Managed MFP E82560dn Printer + - HP LaserJet Managed Flow MFP E72525z Printer + - HP LaserJet Managed MFP E72525dn Printer + - HP LaserJet Managed Flow MFP E72530z Printer + - HP LaserJet Managed MFP E72530dn Printer + - HP LaserJet Managed Flow MFP E72535z Printer + - HP LaserJet Managed MFP E72535dn Printer + - HP LaserJet Pro M203d Printer + - HP LaserJet Pro MFP M130a Printer + - HP LaserJet Pro MFP M130nw Printer + - HP LaserJet Pro MFP M130fn Printer + - HP LaserJet Pro MFP M130fw Printer + - HP LaserJet Pro MFP M227d Printer + - HP LaserJet Pro MFP M227fdn Printer + - HP LaserJet Ultra MFP M230 sdn Printer + +------------------------------------------------------------------- +Mon Mar 13 08:51:52 UTC 2017 - fvogt@suse.com + +- Use Qt5 on Tumbleweed and Leap >= 42.2 (bsc#1018734) + +------------------------------------------------------------------- +Thu Mar 2 11:21:02 CET 2017 - jsmeix@suse.de + +- Support most recent HP printing devices for SLE12 by upgrading + HPLIP to the version that we have currently (as of this writing) + in openSUSE Factory and this is in use on openSUSE Tumbleweed + see https://fate.suse.com/322305 (fate#322305). + In general regarding version upgrades for printer drivers + see https://en.opensuse.org/SDB:Installing_a_Printer + +------------------------------------------------------------------- +Thu Feb 9 17:20:28 UTC 2017 - Mathias.Homann@opensuse.org + +- Version upgrade to 3.16.11: + * Added Support for the Following New Printers: + - HP LaserJet M101-M106 Printer + - HP LaserJet Pro M203-M206 Printer + - HP LaserJet Pro MFP M227-M231 Printer + - HP LaserJet Pro MFP M129-M134 + * Added support for the following new Distro's: + - OpenSuse 42.2 + - Fedora 25 + +------------------------------------------------------------------- +Wed Nov 23 20:19:53 UTC 2016 - martin.wilck@suse.com + +- Fixed SLES12 SP2 build problem in + %files section for /usr/lib/udev/rules.d + +------------------------------------------------------------------. +Fri Nov 18 11:23:38 UTC 2016 - jweberhofer@weberhofer.at + +- Version upgrade to 3.16.10: + * Added Support for the Following New Printers: + - HP officejetPro7740 wide Format All in one + - HP Office jet 6950 All-in-One printer + - HP ScanJet Pro 3000 s3 Sheet-feed Scanner + - HP ScanJet Enterprise Flow 5000 s4 Sheet-feed Scanner + - HP Scanjet Entrprise Flow 7000 s3 sheetfeed Scanner + - HP Color LaserJet Pro MFP M277c6 + * Notes to follow: + - For scanjets scan using command "hp-scan --adf --size=size_name" + - "hp-scan --help" for all size_name + +------------------------------------------------------------------- +Tue Oct 18 03:56:26 UTC 2016 - jweberhofer@weberhofer.at + +- Version upgrade to 3.16.9: + * Added Support for the Following New Printers: + - HP OfficeJet Pro 8732M All-in-One Printer + - HP OfficeJet 8702 All-in-One Printer + - HP OfficeJet 6960 All-in-One Printer + - HP PageWide 377dw Multifunction Printer + - HP PageWide 352dw Printer + - HP PageWide Managed Color MFP E58650 series + - HP PageWide Managed Color E55650 series + +------------------------------------------------------------------- +Wed Sep 14 17:38:31 UTC 2016 - fcastelli@suse.com + +- Version upgrade to 3.16.8: + * Added Support for the Following New Printers: + - HP OfficeJet Pro 6970 All-in-One Printer + - HP OfficeJet Pro 6960 All-in-One Printer + - HP OfficeJet 250 Mobile All-in-One + - HP DeskJet 3700 All-in-One + - HP DeskJet Ink Advantage 3700 All-in-One + * Significant changes: + - Modified the GUI representation of Secure PIN Printing + * Added support for the following new Distro's: + - Linux Mint 18 + - Fedora 24 + - Debian 8.5 + +- Version upgrade to 3.16.7: + * Added Support for the Following New Printers: + - HP Officejet Pro 8730 + - HP Officejet Pro 8210 Printer + - HP Pagewide P55250 + - HP Pagewide MFP P57750 + - HP Pagewide Color 556 + - HP Pagewide Color MFP 586 + - HP Pagewide Color flow MFP 586 + - HP DeskJet Ink Advantage Ultra 5730 All-in-One Printer + - HP Color Laserjet MFP M377 fnw + +* change-udev-rules.diff: the patch didn't apply because of some formatting + issues. `quilt` fixed them automatically. + +------------------------------------------------------------------- +Fri Aug 26 15:13:30 UTC 2016 - martin.wilck@suse.com + +- Fixed device communication/detection problems with mdns/Bonjour + * added hplip-mdns.patch (MDNS send/receive on every iterface) + * added hplip-mdns-retry-query.patch (MDNS retry) + See https://bugs.launchpad.net/hplip/+bug/1616861 + +------------------------------------------------------------------- +Mon Jun 6 07:06:46 UTC 2016 - jweberhofer@weberhofer.at + +- rebased change-udev-rules.diff and + add_missing_includes_and_define_GNU_SOURCE.patch +- Version upgrade to 3.16.5 + * Added Support for the Following New Printers: + - HP OfficeJet 200 Mobile Printer Series + - HP OfficeJet Pro 8710 All-in-One Printer + - HP OfficeJet Pro 8715 All-in-One Printer + - HP OfficeJet Pro 8740 All-in-One Printer + - HP OfficeJet Pro 8720 All-in-One Printer + - HP OfficeJet Pro 8725 All-in-One Printer + - HP LaserJet Pro M501n + - HP LaserJet Pro M501dn + * Qt5 support is available. For more information check the following link + http://hplipopensource.com/node/376 + +- Version upgrade to 3.16.3 + * Added Support for the Following New Printers: + - HP PageWide Pro 577dw Multifunction Printer + - HP PageWide Pro 577z Multifunction Printer + - HP PageWide Pro 552dw Printer + - HP PageWide Pro 452dw Printer + - HP PageWide Pro 452dn Printer + - HP PageWide Pro 477dw Multifunction Printer + - HP PageWide Pro 477dn Multifunction Printer + - HP DeskJet GT 5810 All-in-One Printer + - HP DeskJet GT 5820 All-in-One Printer + * fixed issue: Traceback error occurs when ESC button is hit upon the promt + for root/superuser credentials while installing hp-plugin. + +- Version upgrade to 3.16.2 + * Significant Change: Queue configuration using 'hp-setup' command is no more + supported for HP ScanJets. Scan frontends like xsane, hp-scan, scanimage, + simplescan will automatically detect usb and network ScanJets. + * Added Support for the Following New Printers: + - HP ScanJet Pro 4500 fn1 Network scanner + - HP LaserJet Pro MFP M127fs + - HP DeskJet Ultra Ink Advantage 2029 Printer + - HP DeskJet Ink Advantage Ultra 2529 All-in-One Printer + * Issues fixed: + - /usr/lib/sane/libsane-hpaio.so.1: undefined symbol: mdns_probe_nw_scanners + (Launchpad #1521687) + - udev: 56-hpmud.rules should not run usb_id for all USB devices out there + (Launchpad #1537467) + - Upgrade to HPLIP-3.15.11 fails (Launchpad: #1517494) + - HPLIP installation fails with non-english locale (Launchpad: #1536762) + - hp-plugin hangs on 'su' (Launchpad: #1483820) + - hp-plugin infinite loop (Launchpad: #1484916) + - hp-plugin not working - stuck on permission (Launchpad: #1510950) + - HP plugin installation hangs after accepting license (Launchpad: #1502025) + - Debian 8's hplip version is 3.14.6, not 3.15.2 (Launchpad: #1534404) + - Laserjet Pro MFP M127fs is not supported (Launchpad: #1532451) + +------------------------------------------------------------------- +Wed Dec 9 10:55:45 UTC 2015 - tchvatal@suse.com + +- Fix build on SLE11 by removing not required and wrongly installed + selinux support config +- Remove another nested conditions that are the same + +------------------------------------------------------------------- +Tue Dec 8 20:09:01 UTC 2015 - tchvatal@suse.com + +- Do not bother with fsf address fix, if they move again or if the + package update it we would needlessly fail +- Do not bother with one condition that is equal to the following one + +------------------------------------------------------------------- +Thu Nov 19 11:25:19 UTC 2015 - ecsos@opensuse.org + +- Version upgrade to 3.15.11: + Significant Changes: + - Provided custom apparmor profiles and selinux policy for + HPLIP. + - Supported auto-discovery of network scanners. + Added Support for the Following New Printers: + HP Color LaserJet Pro MFP M274n + HP LaserJet Enterprise M506 series + HP Laserjet Enterprise M506n + HP Laserjet Enterprise M506dn + HP Laserjet Enterprise M506x + HP Laserjet Enterprise M506dh + HP Color Laserjet Pro M452dn + HP Color Laserjet Pro M452dw + HP Color Laserjet Pro M452nw + HP Laserjet Pro MFP M426fdn + HP Laserjet Pro MFP M426fdw + HP Laserjet Pro MFP M427dn + HP Laserjet Pro MFP M427fdw + HP Laserjet Pro MFP M426dw + HP Laserjet Pro MFP M427dw + HP Laserjet Enterprise MFP M527dn + HP Laserjet Enterprise MFP M527f + HP Laserjet Enterprise Flow MFP M527c + HP Laserjet Enterprise Flow MFP M527z + HP Color LaserJet Enterprise MFP M577 Series + HP Color LaserJet Enterprise MFP M577dn + HP Color LaserJet Enterprise MFP M577f + HP Color LaserJet Enterprise Flow MFP M577z + HP Color LaserJet Enterprise Flow MFP M577c + HP LaserJet Pro M402-M403 series + HP LaserJet Pro M402-M403 n-dn series + HP LaserJet Pro M402dw + HP LaserJet Pro M402n + HP LaserJet Pro M402dn + HP LaserJet Pro M402d + HP LaserJet Pro M403n + HP LaserJet Pro M403dw + HP LaserJet Pro M403dn + HP LaserJet Pro M403d + HP Color Laserjet Pro MFP M477fnw + HP Color Laserjet Pro MFP M477fdn + HP Color Laserjet Pro MFP M477fdw + HP Envy 5543 All-in-One Printer + HP Envy 5544 All-in-One Printer + HP Envy 5546 All-in-One Printer + HP Envy 5542 e-All-in-One Printer + HP DeskJet 2134 All-in-One Printer + HP DeskJet 3633 All-in-One Printer + HP DeskJet 3634 All-in-One Printer + HP OfficeJet 4654 All-in-One Printer + HP ENVY 4524 All-in-One Printer + HP ENVY 4523 All-in-One Printer + HP ENVY 4520 All-in-One Printer + HP DeskJet Ink Advantage Ultra 4720 All-in-One Printer series + HP DeskJet Ink Advantage Ultra 4729 All-in-One Printer + HP DeskJet Ink Advantage 5640 All-in-One Printer series + HP DeskJet Ink Advantage 5645 All-in-One Printer + HP DeskJet Ink Advantage 4675 All-in-One + HP DeskJet Ink Advantage 4676 All-in-One + HP DeskJet Ink Advantage 4535 All-in-One + HP DeskJet Ink Advantage 4536 All-in-One + HP DeskJet Ink Advantage 5570 All-in-One + HP DeskJet Ink Advantage 5575 All-in-One + HP Scanjet Pro 3500 f1 Flatbed Scanner + HP ENVY 5531 e-All-in-One Printer + HP ENVY 5532 e-All-in-One Printer + HP ENVY 5534 e-All-in-One Printer + HP ENVY 5536 e-All-in-One Printer + HP ENVY 5539 e-All-in-One Printer + Added support for the following new Distro's: + - Ubuntu 15.10 + - Fedora 23 + - OpenSUSE 42.1 + Issues fixed: + - Provided knowledge base article to unblock the ports and + enable SLP and mDNS services using opensuse firewall utility + at http://hplipopensource.com/node/375 +- remove patch104: do_not_open_mdns_port.diff, no more needed + because since HPLIP 3.15.11 there is no longer "open_mdns_port=..." + in distros.dat for any "SUSE" distribution +- insert check for Leap so Leap can use his own cups +- insert check for 13.2 and Leap for udev-dirs because of + rpmlint-error: directory not owned by package +- fix rpmlint-error: incorrect fsf-address + +------------------------------------------------------------------- +Wed Oct 7 15:59:10 CEST 2015 - jsmeix@suse.de + +- Dropped support for the outdated foomatic-rip-hplip via + a symbolic link from /usr/lib/cups/filter/foomatic-rip-hplip + to /usr/bin/foomatic-rip for foomatic-filters or to + /usr/lib/cups/filter/foomatic-rip for cups-filters-foomatic-rip + so that "BuildRequires cups-filters-foomatic-rip" can be dropped + (cf. the entry dated "Thu Sep 18 10:31:14 CEST 2014" below) + which makes it "just build" again if suse_version > 1310 without + the need for more and more oversophisticated hacks. + +------------------------------------------------------------------- +Tue Oct 6 14:20:10 CEST 2015 - jsmeix@suse.de + +- Version upgrade to 3.15.9: + Added Support for the Following New Printers: + HP DeskJet Ink Advantage 2136 All-in_One Printer + HP DeskJet Ink Advantage 3836 All-in_One + HP Deskjet 2545 All-in-One Printer + HP ENVY 4510 All-in-One Printer series + HP ENVY 4512 All-in-One Printer + HP ENVY 4516 All-in-One Printer + HP ENVY 4520 All-in-One Printer series + HP ENVY 4520 All-in-One Printer + HP ENVY 4522 All-in-One Printer + HP Envy 5540 All-in-One Printer series + HP Envy 5540 All-in-One Printer + HP Envy 5545 All-in-One Printer + HP OfficeJet 4650 All-in-One Printer series + HP OfficeJet 4650 All-in-One Printer + HP OfficeJet 4652 All-in-One Printer + HP OfficeJet 4655 All-in-One Printer + HP OfficeJet 6820 e-All-in-One Printer + Some bug fixes - in particular: + Fixed hplip plugin failure with hplip-3.15.7. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Version upgrade to 3.15.7: + Added Support for the Following New Printers: + HP Deskjet 1110 Printer + HP Deskjet 1111 Printer + HP Deskjet 1112 Printer + HP DeskJet 2131 All-in-One Printer + HP Deskjet Ink Advantage 1110 Printer + HP Deskjet Ink Advantage 1115 Printer + HP Deskjet Ink Advantage 1118 Printer + HP DeskJet Ink Advantage 2130 All-in_One Printer + HP DeskJet Ink Advantage 2135 All-in_One Printer + HP DeskJet Ink Advantage 2138 All-in_One Printer + HP DeskJet Ink Advantage 3630 All-in-One Printer + HP DeskJet Ink Advantage 3635 All-in-One Printer + HP DeskJet Ink Advantage 3636 All-in-One Printer + HP DeskJet Ink Advantage 3638 All-in-One Printer + HP DeskJet Ink Advantage 3830 All-in-One Printer + HP DeskJet Ink Advantage 3835 All-in-One Printer + HP OfficeJet 3830 All-in-One Printer + HP OfficeJet 3832 All-in-One Printer + HP OfficeJet 3834 All-in-One Printer + HP Officejet 7510 Wide Format e-All-in-One Printer + Some bug fixes - in particular: + Fixed insecure binary driver verification (CVE-2015-0839). + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- hplip-3.15.6.CVE-2015-0839.patch is obsolete since + version 3.15.7 because it is fixed in the source. + +------------------------------------------------------------------- +Wed Jun 24 11:48:49 CEST 2015 - jsmeix@suse.de + +- hplip-3.15.6.CVE-2015-0839.patch uses 0xlong key ID + (instead of the short key ID) for downloading the key + see https://bugs.launchpad.net/hplip/+bug/1432516 + (CVE-2015-0839 bsc#933191). +- Version upgrade to 3.15.6: + Added Support for the Following New Printers: + HP DeskJet 2130 All-in-One Printer series + HP DeskJet 2132 All-in-One Printer + HP Deskjet 2546B All-in-One Printer + HP Deskjet 2546P All-in-One Printer + HP Deskjet 2546R All-in-One Printer + HP DeskJet 3630 All-in-One Printer series + HP DeskJet 3632 All-in-One + HP Officejet 5744 e-All-in-One + Some bug fixes - in particular: + udev rules wrongly match on monitor hub, wrong invocation + of systemd unit, changes config files in udev rules + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- change-udev-rules.diff: Adapted for HPLIP 3.15.6. + +------------------------------------------------------------------- +Tue May 19 17:04:45 CEST 2015 - jsmeix@suse.de + +- Disabled build for parallel port because parallel port support + was disabled by default by upstream HPLIP at least since 2011 + and is deprecated by upstream HPLIP since 2013, + see https://bugs.launchpad.net/bugs/750796 + and http://hplipopensource.com/node/217 + furthermore parallel port support gets more or less abandoned + by upstream projects in general, see "Parallel port printers" + at https://en.opensuse.org/SDB:Installing_a_Printer +- Version upgrade to 3.15.4: + Significant Changes: + HPLIP Plugin support for ARMv6,ARMv7 and aarch64 architectures + Added Support for the Following New Printers: + HP Color LaserJet Pro M252dw + HP Color LaserJet Pro M252n + HP Color LaserJet Pro MFP M277n + HP Color LaserJet Pro MFP M277dw + HP Color LaserJet Enterprise M553n + HP Color LaserJet Enterprise M553dn + HP Color LaserJet Enterprise M553x + HP Color LaserJet Enterprise M553dh + HP Color LaserJet Enterprise M552dn + HP LaserJet Enterprise M604n + HP LaserJet Enterprise M604dn + HP LaserJet Enterprise M605dn + HP LaserJet Enterprise M605n + HP LaserJet Enterprise M605x + HP LaserJet Enterprise M606x + HP LaserJet Enterprise M606dn + Some bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- add_missing_includes_and_define_GNU_SOURCE.patch adds + missing '#include <...>' and missing '#define _GNU_SOURCE' + see https://bugs.launchpad.net/hplip/+bug/1456590 +- Using again plain 'make' instead of 'make %{?_smp_mflags}' + (cf. the entry below dated "Sun Apr 20 09:48:39 UTC 2014") + and plain 'make ... install' instead of + 'make ... install %{?_smp_mflags}' to avoid random obscure + build failures with errors like "libtool: install: error: relink + `cupsext.la' with the above command before installing it", cf. + http://lists.gnu.org/archive/html/automake/2010-03/msg00039.html + +------------------------------------------------------------------- +Wed Mar 18 16:51:06 CET 2015 - jsmeix@suse.de + +- Make it build for SLE12 with traditional CUPS 1.5.4 to ensure + it works on SLE12 both with CUPS 1.7.5 and CUPS 1.5.4 because + for SLE12 by default CUPS 1.7.5 is provided and alternatively + CUPS 1.5.4 is provided in the "legacy" module, cf. + https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12/ + +------------------------------------------------------------------- +Fri Feb 27 11:45:02 CET 2015 - jsmeix@suse.de + +- HPLIP's Python module cupsext has a build-time dependancy on the + CUPS version (see https://bugs.launchpad.net/hplip/+bug/1423220). + Therefore it BuildRequires the CUPS version as provided in the + openSUSE/SLE versions. When it was built with CUPS > 1.5 it must + require CUPS > 1.5 during run-time. In contrast when it was built + with CUPS < 1.6 then cupsext is built in a backward compatible + way that works with any CUPS version. + This replaces the "minimal version requirement on cups" from the + entry below dated "Thu Feb 19 12:05:05 UTC 2015" and obsoletes + the "Kill sle11 support" from the previous entry so that HPLIP + should work again for SLE11 SLE12 and recent openSUSE versions + (boo#918387). +- Again BuildRequires sane-backends-devel if suse_version > 1130 + and BuildRequires sane-backends otherwise that was removed via + one of the previous entries to make it again build for SLE11. +- Run udev_rules_update that BuildRequires systemd-rpm-macros + only if suse_version > 1130 to make it again build for SLE11. +- For SLE11 redefine _libexecdir to be "/usr/lib" in any case + because on SLE11 x86_64 it evaluates to "/usr/lib64" which + is wrong in particular for CUPS filters and backends, cf. + https://bugzilla.opensuse.org/show_bug.cgi?id=575544#c2 +- Again using the RPM scriplets as in previous versions with + its various suse_version dependant stuff to make it again + build for SLE11. +- Using '-p /bin/bash' in RPM scriplets to enforce bash + to be fail safe against issue with possible bashisms. + +------------------------------------------------------------------- +Thu Feb 19 12:30:19 UTC 2015 - tchvatal@suse.com + +- Cleanup-with spec-cleaner +- Kill sle11 support as per min cups requirement +- Add patch to put udev rules to usr as it is required: + * hplip-udev-rules-in-usr.patch +- Also run udev rules update in post for the above rules + +------------------------------------------------------------------- +Thu Feb 19 12:05:05 UTC 2015 - tchvatal@suse.com + +- Add minimal version requirement on cups (currently 1.7) bnc#918387 + +------------------------------------------------------------------- +Wed Feb 11 21:07:28 UTC 2015 - tchvatal@suse.com + +- Drop gpg-offline usage as we do it as service on obs side if + required files are present in the package + +------------------------------------------------------------------- +Wed Feb 11 20:58:47 UTC 2015 - tchvatal@suse.com + +- Version bump to 3.15.2: + * python3 support (not enabled to work on older distros now) + * Support for KF5 systemtray + * Fixed issues: + + 1388126 - Doesn't build against libjpeg-turbo 1.3.90 + + 1395676 - hpcups crashes if DEVICE_URI not set in environment + + 1388007 - Incorrect call to hpmudext.device_open + + 1187055 - plugin download fails if python links to python3 + + 802999 - Incorrect IEEE 1284 Device IDs for many models + * For more info see http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Mon Oct 27 12:15:11 CET 2014 - jsmeix@suse.de + +- change-udev-rules.diff: Adapted for HPLIP 3.14.10. +- Version upgrade to 3.14.10: + Added Support for the Following New Printers: + HP Deskjet 2541 All-in-One Printer + HP Envy 4501 e-All-in-One + HP Envy 4503 e-All-in-One + HP Envy 4505 e-All-in-One + HP Envy 4507 e-All-in-One + HP Envy 4508 e-All-in-One + HP ENVY 5534 e-All-in-One Printer + HP Envy 5640 e-All-in-One + HP Envy 5642 e-All-in-One + HP Envy 5643 e-All-in-One + HP Envy 5644 e-All-in-One + HP Envy 5660 e-All-in-One + HP Envy 5665 e-All-in-One + HP Envy 7640 e-All-in-One + HP Envy 7645 e-All-in-One + HP LaserJet Pro MFP M125r + HP LaserJet Pro MFP M125ra + HP LaserJet Pro M201n Printer + HP LaserJet Pro M201dw Printer + HP LaserJet Pro M202n Printer + HP LaserJet Pro M202dw Printer + HP LaserJet Pro MFP M225rdn + HP LaserJet Pro MFP M225dw + HP LaserJet Pro MFP M225dn + HP LaserJet Pro MFP M226dw + HP LaserJet Pro MFP M226dn + HP LaserJet Enterprise MFP M630dn + HP LaserJet Enterprise MFP M630f + HP LaserJet Enterprise MFP M630h + HP LaserJet Enterprise Flow MFP M630z + HP Officejet 5740 e-All-in-One + HP Officejet 5742 e-All-in-One + HP Officejet 5745 e-All-in-One + HP OfficeJet 8040 e-All-in-One + HP OfficeJet 6810 e-All-in-One Printer Series + HP OfficeJet 6812 e-All-in-One Printer + HP OfficeJet 6815 e-All-in-One Printer + HP Officejet 7612 Wide Format e-All-in-One Printer + HP OfficeJet Pro 6230 ePrinter + HP OfficeJet Pro 6830 e-All-in-one + HP OfficeJet Pro 6835 e-All-in-one + HP OfficeJet Pro 8616 e-All-in-One Printer + Some bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Thu Oct 16 15:37:28 CEST 2014 - jsmeix@suse.de + +- Make and install Python compiled bytecode files + (.pyc compiled python and .pyo optimized compiled python) + because normal users do not have write permissions to the + install location /usr/share/hplip/ so that for normal users + Python would recompile the sources every time, + see https://en.opensuse.org/openSUSE:Packaging_Python +- Hardlink .pyc and .pyo when they have same content but + do not run "fdupes buildroot/_datadir/hplip" because + fdupes will link any files with same content there + which can have unexpected side-effects (cf. bnc#784670). +- Removed RPM preun script that had deleted leftover .pyc + and .pyo files if made during run-time (see the entry below + dated Fri Feb 16 11:52:28 CET 2007) because now those files + are provided in the package. +- Removed trailing whitespaces in RPM changelog file. + +------------------------------------------------------------------- +Thu Sep 18 10:31:14 CEST 2014 - jsmeix@suse.de + +- From openSUSE 13.2 on explicitly + "BuildRequires cups-filters-foomatic-rip" + to avoid that foomatic-filters is used for build + in the "Printing" development project (where foomatic-filters + intentionally exists also for openSUSE_13.2 and openSUSE_Factory) + which would not match what is used for build in openSUSE:13.2 or + openSUSE:Factory (where foomatic-filters is intentionally dropped + and replaced by cups-filters-foomatic-rip). Using the matching + package for build results that the backward compatibility link + /usr/lib/cups/filter/foomatic-rip-hplip points to a foomatic-rip + executable that is used by default on the runtime system. + +------------------------------------------------------------------- +Mon Sep 15 11:43:09 CEST 2014 - jsmeix@suse.de + +- PPDs that require a proprietary plugin from HP must be moved to + the hplip main-package because the proprietary plugin from HP + must be downloaded and installed by using HP's "hp-plugin" tool + that belongs to the hplip main-package. Accordingly PPDs that + require a proprietary plugin from HP are in a new directory + /usr/share/cups/model/manufacturer-PPDs/hplip-plugin + that belongs to the hplip main-package (bnc#876690). + +------------------------------------------------------------------- +Tue Jun 10 11:34:10 CEST 2014 - jsmeix@suse.de + +- Version upgrade to 3.14.6: + Added Support for the Following New Printers: + HP DesignJet Z6600 PostScript + HP DesignJet Z6800PS Photo + HP DesignJet D5800 60-in Production Printer + HP DesignJet T3500 36-in Production eMFP + HP Designjet T7200 42-in Production Printer + HP Deskjet 2543 All-in-One Printer + HP Deskjet 2549 All-in-One Printer + HP OfficeJet Pro 8640 e-All-in-One Printer + HP OfficeJet Pro 8660 e-All-in-One Printer + Fixed Avahi discovery method in hp-toolbox. + Some other bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Wed May 7 13:49:16 CEST 2014 - jsmeix@suse.de + +- Moved the hpcupsfax filter to the hplip-hpijs sub-package + because the HP-Fax*hpcups PPDs in the hplip-hpijs sub-package + that use that filter work technically correct when only the + hplip-hpijs RPM is installed regardless that in practice + queues with a HP-Fax*hpcups PPD usually use the hpfax backend + Python script that belongs to the hplip main-package because + it imports HPLIP Python modules. +- Moved the hpps filter to the hplip main-package because the PPDs + for various printers that use that filter do not work when only + the hplip-hpijs RPM is installed because the hpps Python script + imports HPLIP Python modules from the hplip main-package. + Accordingly moved the PPDs that use the hpps filter + to the hplip main-package (bnc#876690). + +------------------------------------------------------------------- +Wed Apr 23 10:26:50 CEST 2014 - jsmeix@suse.de + +- Fix how the link /usr/lib/cups/filter/foomatic-rip-hplip + that points to foomatic-rip is installed depending on + which package provides foomatic-rip. In foomatic-filters + foomatic-rip is installed as /usr/bin/foomatic-rip + but in cups-filters-foomatic-rip it is installed + as /usr/lib/cups/filter/foomatic-rip. + +------------------------------------------------------------------- +Sun Apr 20 09:48:39 UTC 2014 - tchvatal@suse.com + +- Enable parallel build via "make %{?_smp_mflags}". + +------------------------------------------------------------------- +Wed Apr 9 16:02:02 CEST 2014 - jsmeix@suse.de + +- do_not_open_mdns_port.diff: Adapted for HPLIP 3.14.4. +- Version upgrade to 3.14.4: + Added Support for the Following New Printers: + HP Color LaserJet Enterprise M651dn Printer + HP Color LaserJet Enterprise M651n Printer + HP Color LaserJet Enterprise M651xh Printer + HP Color LaserJet Enterprise Multifunction M680dn Printer + HP Color LaserJet Enterprise Multifunction M680f Printer + HP Color LaserJet Enterprise Flow Multifunction M680z Printer + HP Color Laserjet Pro MFP M476dw + HP Color Laserjet Pro MFP M476nw + HP Color Laserjet Pro MFP M476dn + HP Designjet T795 44-in ePrinter + HP DeskJet 1511 All-in-One Printer + HP DeskJet 1011 Printer + HP LaserJet Pro MFP M128fn + HP LaserJet Pro MFP M128fp + HP LaserJet Pro MFP M128fw + HP LaserJet Pro M701a Printer + HP LaserJet Pro M701n Printer + HP LaserJet Pro M706n Printer + HP Officejet Enterprise Color X555dn Printer + HP Officejet Enterprise Color X555xh Printer + HP Officejet Enterprise Color X585dn Multifunction Printer + HP Officejet Enterprise Color X585f Multifunction Printer + HP Officejet Enterprise Color Flow X585z Multifunction Printer + HP OfficeJet Pro 8610 e-All-in-One Printer + HP OfficeJet Pro 8615 e-All-in-One Printer + HP OfficeJet Pro 8620 e-All-in-One Printer + HP OfficeJet Pro 8625 e-All-in-One Printer + HP OfficeJet Pro 8630 e-All-in-One Printer + HP OfficeJet 4631 e-All-in-One Printer + HP OfficeJet 4634 e-All-in-One printer + HP OfficeJet 4636 e-All-in-One Printer + Fixed hp-logcapture (captured personal information), see + http://hplipopensource.com/hplip-web/release_notes.html +- change-udev-rules.diff: Adapted for HPLIP 3.14.3. +- Version upgrade to 3.14.3: + Added Support for the Following New Printers: + HP Deskjet Ink Advantage 4640 e-All-in-One Printer series + HP Deskjet Ink Advantage 4645 e-All-in-One Printer + HP Deskjet Ink Advantage 4646 e-All-in-One Printer + HP Deskjet Ink Advantage 4648 e-All-in-One Printer + HP LaserJet Pro MFP M125a + HP LaserJet Pro MFP M125nw + HP LaserJet Pro MFP M125rnw + HP LaserJet Pro MFP M126a + HP LaserJet Pro MFP M126nw + HP LaserJet Pro MFP M127fp + Fixed hpcups filter crash. + Run hp-firmware from udev separately. + Some other bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Version upgrade to 3.14.1: + Added digital signature validation in HPLIP upgrade feature. + CVE-2013-6427: insecure auto update feature. + CVE-2013-6402: insecure temporary file handling in pkit.py. +- The whole HPLIP upgrade feature is still disabled, see the + entry dated "Wed Dec 4 14:25:51 CET 2013" below. + +------------------------------------------------------------------- +Wed Dec 4 14:25:51 CET 2013 - jsmeix@suse.de + +- disable_hp-upgrade.patch disables hp-upgrade/upgrade.py for + security reasons (bnc#853405). To upgrade HPLIP an openSUSE + software package manager like YaST or zypper should be used. + +------------------------------------------------------------------- +Tue Nov 26 19:33:01 UTC 2013 - mailaender@opensuse.org + +- Version upgrade to 3.13.11: + Added Support for the Following New Printers: + HP Color LaserJet Pro MPF M176 series + HP Color LaserJet Pro MPF M176n + HP Color LaserJet Pro MPF M177 series + HP Color LaserJet Pro MPF M177fw + HP Color LaserJet Enterprise M750 Printer series + HP Color LaserJet Enterprise M750n + HP Color LaserJet Enterprise M750dn + HP Color LaserJet Enterprise M750xh + HP Color LaserJet Enterprise M855 Printer series + HP Color LaserJet Enterprise M855dn Printer + HP Color LaserJet Enterprise M855xh Printer + HP Color LaserJet Enterprise M855x+ Printer + HP Color LaserJet Enterprise flow M880 Multifunction Printer series + HP Color LaserJet Enterprise flow M880z Multifunction Printer + HP Color LaserJet Enterprise flow M880z+ Multifunction Printer + HP LaserJet Pro MFP M127 series + HP LaserJet Pro MFP M127fn + HP LaserJet Pro MFP M127fw + HP Officejet 2620 All-in-One + HP Officejet 2621 All-in-One + HP Officejet 2622 All-in-One + Added Pin Printing support for HP LaserJet m5035 MFP device +- Added a devel package +- Update the .desktop database on install/uninstall +- Use .desktop files provided by upstream + +------------------------------------------------------------------- +Wed Oct 16 15:36:08 CEST 2013 - jsmeix@suse.de + +- Version upgrade to 3.13.10: + Several more supported printers and all-in-one devices. + Fix for CVE-2013-4325i (insecure Polkit use). + Users will not be added to "lp" group, users will be prompted + to provide necessary authentication (see the entry + dated "Tue Jul 9 16:18:35 CEST 2013" below). + Added firmware upload functionality during 'hp-setup'. + Some other bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- change-udev-rules.diff: Adapted for HPLIP 3.13.10. +- disable-chgrp_lp.diff is obsolete since version 3.13.10 + because it is fixed in the source. +- neither-add_user_to_group-nor-open_mdns_port.diff is replaced by + do_not_open_mdns_port.diff because the "add_user_to_group" issue + is fixed in the source since version 3.13.10 but the + "open_mdns_port" issue still exists. +- deactivate-add_group-function.diff is obsolete since 3.13.10 + because there is no longer that "chgrp" stuff in HPLIP. + +------------------------------------------------------------------- +Thu Sep 12 10:47:40 CEST 2013 - jsmeix@suse.de + +- Version upgrade to 3.13.9: + Several more supported printers and all-in-one devices. + Some bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- fix-uninitialized-variables.diff is obsolete since + version 3.13.9 because it is fixed in the source. + +------------------------------------------------------------------- +Tue Sep 10 14:44:46 CEST 2013 - jsmeix@suse.de + +- change-udev-rules.diff: Added rule that only uploads firmware + into printers that need it by calling only hp-firmware, see + https://bugs.launchpad.net/bugs/1220628 + +------------------------------------------------------------------- +Wed Sep 4 10:09:00 CEST 2013 - jsmeix@suse.de + +- Version upgrade to 3.13.8: + Added support for Avahi network printer browsing. + Using SLP protocol by default to browse printer in hp-setup. + Some more supported printers and all-in-one devices. + Some bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Tue Jul 23 14:28:37 CEST 2013 - jsmeix@suse.de + +- Version upgrade to 3.13.7: + A few more supported printers and all-in-one devices. + Some bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- hplip-3.9.8-CVE-2010-4267.patch is no longer needed because + it is fixed in the upstream sources in HPLIP version 3.13.7 + (see the entry dated "Thu Jan 13 16:29:01 CET 2011" below). + +------------------------------------------------------------------- +Tue Jul 9 16:18:35 CEST 2013 - jsmeix@suse.de + +- deactivate-add_group-function.diff deactivates the add_group + function that would add the groups ('lp') to user which would + cause security issues see https://bugs.launchpad.net/bugs/1197416 + that would happen in any case via a fallback command in an "else" + clause even if this functionality was explicitly disabled in + distros.dat via neither-add_user_to_group-nor-open_mdns_port.diff +- neither-add_user_to_group-nor-open_mdns_port.diff + deactivates add_user_to_group and open_mdns_port + in distros.dat for SUSE distros to avoid security issues + when normal users get added to system groups 'lp' and 'sys' + see https://bugs.launchpad.net/bugs/1197416 + and https://bugs.launchpad.net/bugs/1112306 and + to avoid security issues when ports in the firewall get opened + see https://bugs.launchpad.net/bugs/426161 +- Adapted change-udev-rules.diff so that it applies to + the HPLIP 3.13.6 sources. +- no-hplip_cron.diff is no longer needed because there is + no longer any "cron" stuff in HPLIP version 3.13.6 +- Version upgrade to 3.13.6: + A few more supported printers and all-in-one devices. + Fix for firmware download during plug and play. + Supported CUPS 1.6 IPP Private Structure changes. + Some other bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Version upgrade to 3.13.5: + Several more supported printers and all-in-one devices. + Added 56-hpmud.rules and removed 56-hpmud_support, + 86-hpmud_plugin, 56-hpmud_add_printer, 55-hpmud + and 40-hplip rules. + Added hplip-printer@.service to support systemd services + in udev for OpenSUSE 12.3. + Some other bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Tue Apr 16 12:05:38 CEST 2013 - jsmeix@suse.de + +- Version upgrade to 3.13.4: + Several more supported printers and all-in-one devices. + Fixed toolbox.py crash (KeyError in is_auto_installer_support). + Several other bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Thu Mar 14 15:13:09 UTC 2013 - meissner@suse.com + +- use URLs in Source tags +- added gpg signature checking to %prep. + +------------------------------------------------------------------- +Tue Mar 12 11:23:11 CET 2013 - jsmeix@suse.de + +- Version upgrade to 3.13.3: + Mainly a bugfix release. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Wed Mar 6 09:41:02 CET 2013 - jsmeix@suse.de + +- Removed hp-systray.wrapper because the reason for it + is no longer in compliance with HPLIP upstream intentions + (see SUSE Bugzilla bnc#649280 starting at comment#10). + +------------------------------------------------------------------- +Fri Feb 15 15:31:28 CET 2013 - jsmeix@suse.de + +- Version upgrade to 3.13.2: + Several more supported printers and all-in-one devices + (in particular several "HP Officejet Pro X..." models). + New self diagnose and healing utility "hp-doctor" + but "hp-check-plugin" is no longer provided. + Several bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Adapted change-udev-rules.diff disable-chgrp_lp.diff + and no-hplip_cron.diff for HPLIP 3.13.2. + +------------------------------------------------------------------- +Thu Jan 24 14:51:24 CET 2013 - jsmeix@suse.de + +- Create /var/log/hp/tmp/ directory that is needed by hp-sendfax + as a workaround until HPLIP upstream implemented it correctly + see https://bugs.launchpad.net/bugs/1016507 (bnc#800312). + +------------------------------------------------------------------- +Thu Nov 29 15:27:51 CET 2012 - jsmeix@suse.de + +- Version upgrade to 3.12.11: + Several more supported printers and all-in-one devices + (in particular several "HP LaserJet Enterprise" models). + Several bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- fix-no-return-in-nonvoid-function.diff is no longer needed + because it is now completely fixed in the upstream sources. +- disable-chgrp_lp.diff replaces no-chgrp_lp_hplip_Logdir.diff + and does basically the same but is adapted for HPLIP 3.12.11. +- Adapted no-hplip_cron.diff for HPLIP 3.12.11. + +------------------------------------------------------------------- +Wed Oct 10 14:23:14 CEST 2012 - jsmeix@suse.de + +- Bugfix version upgrade to 3.12.10a: + The 'a' does not mean 'alpha' but "first bugfix of 3.12.10". + Fixed crash in HP Device Manager and System Tray due to + ValueError exception in HPLIP upgrade functionality, see + https://bugs.launchpad.net/hplip/+bug/1064889 (bnc#784173). +- Added "chmod a+x ... usr/share/hplip/fax/pstotiff" because + "make install" installs it only with -rw-r--r-- permissions + so that when the CUPS filter usr/lib/cups/filter/pstotiff + which is a link to usr/share/hplip/fax/pstotiff is called, + it cannot execute usr/share/hplip/fax/pstotiff, see + https://bugs.launchpad.net/hplip/+bug/1064247 (bnc#783810). + +------------------------------------------------------------------- +Fri Oct 5 11:51:35 CEST 2012 - jsmeix@suse.de + +- Version upgrade to 3.12.10: + Perhaps HP binary plugin installation failure fixed upstream + see https://bugs.launchpad.net/hplip/+bug/1048732 + A few more supported printers and all-in-one devices. + A few bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Thu Oct 4 13:37:56 CEST 2012 - jsmeix@suse.de + +- no-hplip_cron.diff deactivates the "cron" stuff in Makefile.am + because it lets build fail on SLE11 products (possibly an + autoconf issue) and we (SUSE) do not allow to install files + like /etc/cron.daily/hplip_cron via RPMs. Instead hplip_cron + is provided as /usr/share/doc/packages/hplip/hplip_cron +- The /var/lib/hp directory is created everywhere except on + openSUSE 12.2 and later versions (perhaps also an autoconf + issue) so that it is created in the install section if it + does not exist as a simple and fail-safe workaround + see https://bugs.launchpad.net/bugs/1018303 + and (bnc#780413). +- Adapted change-udev-rules.diff so that it applies to + the HPLIP 3.12.9 sources. + +------------------------------------------------------------------- +Fri Sep 28 12:42:33 UTC 2012 - mmeister@suse.com + +- Adapted fix-no-return-in-nonvoid-function.diff because + HP's upstream fix is insufficient (not 64-bit safe), + see https://bugs.launchpad.net/hplip/+bug/1017496 +- Adapted no-chgrp_lp_hplip_Logdir.diff so that it + applies to the HPLIP 3.12.9 sources. + +------------------------------------------------------------------ +Fri Sep 28 08:20:55 UTC 2012 - mmeister@suse.com + +- Version upgrade to 3.12.9: + User can collect logs by running 'hp-logcapture' command + for any issue in print/scan/fax functionality. + Logs get stored in /var/log/hp/tmp. + Several more supported printers and all-in-one devices. + Several bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Thu Jun 28 12:00:28 CEST 2012 - jsmeix@suse.de + +- Provide the /var/lib/hp directory that is required in particular + by hp-plugin (see https://bugs.launchpad.net/hplip/+bug/1018303) + in the hplip-hpijs package to be on the safe side because + hplip-hpijs is the minimal (printing-only) way to use HPLIP. + +------------------------------------------------------------------- +Mon Jun 25 15:56:54 UTC 2012 - mail@philipp-wagner.com + +- Add libusb 1.0 as dependency. If necessary building with + libusb 0.1 would be possible as well by setting a configure + flag. + +------------------------------------------------------------------- +Mon Jun 25 14:42:59 UTC 2012 - mail@philipp-wagner.com + +- fix-no-return-in-nonvoid-function.diff fixes compiler warnings + causing a no-return-in-nonvoid-function error during the build. + An upstream bug report is open at + https://bugs.launchpad.net/hplip/+bug/1017496 + +------------------------------------------------------------------- +Mon Jun 25 09:47:53 UTC 2012 - mail@philipp-wagner.com + +- Upgraded to version 3.12.6: + 'hp-check' tool when run with "--fix" option resolves missing + dependencies/groups/plugin and disable SELinux. + Added PIN to PRINT support for HP Color LaserJet CM4540 MFP. + libusb-1.0 support added. + Several more supported printers and all-in-one devices. + Several bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Tue Apr 24 13:51:03 CEST 2012 - jsmeix@suse.de + +- hplip.SuSEfirewall2 is no longer provided + (see SUSE Bugzilla bnc#757354 comment #10). + +------------------------------------------------------------------- +Thu Apr 12 15:14:18 CEST 2012 - jsmeix@suse.de + +- Upgraded to version 3.12.4: + Uninstall Support: User can uninstall complete HPLIP package + by running "hp-uninstall" command. + Upgrade Support: Settings can be configured using + "hp-systray -> settings -> Update settings" for notification + of newer version of HPLIP release. User can also upgrade to + latest version by running "hp-upgrade" command. + Queue Analyzer: Print/Fax queues can be analyzed by + running "hp-diagnose-queues" command or by clicking + on "Diagnose Queues" from toolbox. + Several more supported printers and all-in-one devices. + Several bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Removed hp-toolbox.wrapper because the reason for it + is no longer valid (see SUSE Bugzilla bnc#755820). +- Added "BuildRequires: python-cups" to get special + RPM Provides tags for the printers supported by + this package (see SUSE Bugzilla bnc#735865). + +------------------------------------------------------------------- +Wed Feb 8 10:22:30 CET 2012 - jsmeix@suse.de + +- Upgraded to version 3.12.2: + Fixed digital signature mismatch issue for plugin download. + Removed unsupported features (Water Mark overlay, Job Storage, + PIN 2 Print) from the PS PPDs. + Several more supported printers and all-in-one devices. + A few bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Thu Jan 12 17:24:22 CET 2012 - jsmeix@suse.de + +- Upgraded to version 3.11.12: + Auto-detection and installation of missing plug-ins. + Designed tool to detect the missing plugin files and intimate + user about it and giving the path forward to install it. + SYSFS is replaced by ATTRS in udev rules. + Uses D-Bus from separate threads without locking. + Several more supported printers and all-in-one devices. + Several bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- change-udev-rules.diff changes ATTRS to ATTR (bnc#436085). +- no-chgrp_lp_hplip_Logdir.diff deactivates + the "chgrp lp -R /var/log/hp" in Makefile.am because + during install this results "Operation not permitted". + This is done in the files section via attr(0774,root,lp) + where mode 0774 matches to what is set in Makefile.am. + +------------------------------------------------------------------- +Fri Oct 28 06:08:53 UTC 2011 - badshah400@gmail.com + +- Install icons of various sizes in hicolor icon directory for + better appearance in gnome-shell (bnc#713902). +- Add hicolor-icon-theme BuildRequires to own the hicolor icon + directory correctly and install icons in there +- Use appropriate icon theme macros in post scripts +- Modified hplip.desktop to use these hicolor icons +- In hplip.desktop replace the category "Settings" by "System" to + make it appear under the correct group "System Tools" rather + than "Others" in desktop menus. + +------------------------------------------------------------------- +Sat Oct 15 04:47:01 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to make the spec file more reliable + +------------------------------------------------------------------- +Thu Oct 13 13:57:46 UTC 2011 - vuntz@opensuse.org + +- Split the sane driver in a hplip-sane subpackage, so that it's + not necessary to install the full hplip tools to use an + all-in-one HP printer. See bnc#723870. + +------------------------------------------------------------------- +Tue Oct 4 12:44:11 CEST 2011 - jsmeix@suse.de + +- Upgraded to version 3.11.10: + Fixed insecure tmp file handling in hpcupsfax.cpp CVE-2011-2722 + see https://bugs.launchpad.net/hplip/+bug/809904 (bnc#704608). + New tech classes for HP OfficeJet Pro 8100, + HP Deskjet 3070 B611 series and HP Photosmart 7510 e-All-in-One. + Added new subtech class for HP Photosmart 6510 e-All-in-one. + Modified the error message which was displayed in case + of missing .asc file for manual plug-in install. + Several more supported printers and all-in-one devices. + Several bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Fri Aug 12 10:36:13 CEST 2011 - jsmeix@suse.de + +- Upgraded to version 3.11.7: + A few more supported printers and all-in-one devices. + Several bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451) + plus a leftover in CVE-2004-0801 (bnc#59233) + foomatic-rip-hplip is no longer installed and foomatic-rip + from the foomatic-filters RPM is used instead and the + "cupsFilter" entries in the PPDs are changed accordingly. + To be backward compatible with PPDs in /etc/cups/ppd/ + for existing print queues a compatibility link + /usr/lib/cups/filter/foomatic-rip-hplip + which points to foomatic-rip is installed. +- The DefaultPageSize in the PPDs is no longer set to A4 + if A4 is an available PageSize choice but left "as is" + because the DefaultPageSize in the PPD templates in + /usr/share/cups/model/ does not matter because the cupsd + sets the DefaultPageSize for PPDs in /etc/cups/ppd/ + by default according to the locale that the cupsd runs in or + according to a DefaultPaperSize entry in /etc/cups/cupsd.conf. +- No longer "Correcting or removing non-working PPDs..." + because none of those cases which were fixed still exist + (i.e. all those cases are meanwhile fixed upstream). + +------------------------------------------------------------------- +Fri May 13 12:20:10 CEST 2011 - jsmeix@suse.de + +- Upgraded to version 3.11.5: + Added LEDM ADF Scan support. + Added LEDM Wireless support. + Some more supported printers and all-in-one devices. + It may fix the inverted/wrong color problem in HPCUPS + (see Novell/openSUSE Bugzilla bnc #692905). + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Tue Mar 29 16:24:36 CEST 2011 - jsmeix@suse.de + +- Upgraded to version 3.11.3a: + Fixed hp-plugin plugin download error (no Suse bug), see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Fri Mar 18 11:29:09 CET 2011 - jsmeix@suse.de + +- Upgraded to version 3.11.3: + New device class StingrayOJ for HP OfficeJet 100 Mobile L411. + New filter hpps (HP PS filter for PostScript printers) currently + only used via hp-officejet_pro_8000_enterprise_a811a-ps.ppd.gz + Some more supported printers and all-in-one devices. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Tue Feb 1 16:19:21 CET 2011 - jsmeix@suse.de + +- Updated to version 3.11.1: + New encapsulation format for LJZJStream class. + Alignment of cartridges over LEDM (Low End Data Model). + LEDM dynamic scan resolution. + New fax protocol (Low End Data Model) support. + ADF and color scan for some HP LaserJet Pro and MFP devices. + Some more supported all-in-one devices. + Many bug fixes (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Adapted change-udev-rules.diff for version 3.11.1 + because the "DesignJet product (0x03f0xx14)" was added. + +------------------------------------------------------------------- +Thu Jan 13 16:29:01 CET 2011 - jsmeix@suse.de + +- hplip-3.9.8-CVE-2010-4267.patch fixes a remote buffer overflow + (CVE-2010-4267 and Novell/Suse Bugzilla bnc#336658). + +------------------------------------------------------------------- +Wed Dec 29 15:52:56 UTC 2010 - gber@opensuse.org + +- Use more appropriate categories for hplip.desktop + 'Settings HardwareSettings Printing' instead of 'System Monitor' + +------------------------------------------------------------------- +Fri Dec 3 10:42:05 CET 2010 - jsmeix@suse.de + +- Removed explicite RPM requirement for pyxml. At least since + openSUSE 11.1 and SLE11 pyxml is no longer required (pyxml was + required e.g. for openSUSE 10.3 and SLE10, see the entry below + dated "Wed Apr 2 14:40:57 CEST 2008") but meanwhile python-xml + alone is sufficient for "import xml.parsers.expat" + (see Novell/openSUSE Bugzilla bnc#656779 comment #3). +- Added "Obsoletes: hplip-hpcups" because HPLIP does not work + if the openSUSE packages hplip and hplip-hpijs are installed + together with a leftover PackMan package hplip-hpcups + (see Novell/openSUSE Bugzilla bnc#515005 comment #17). +- Do not pollute the build log file with zillions of meaningless + messages while "General tests and adjustments for all PPDs" + (compare the OpenPrintingPPDs.spec file). + +------------------------------------------------------------------- +Wed Oct 27 16:34:11 CEST 2010 - jsmeix@suse.de + +- Added hp-systray.wrapper which is called + via /etc/xdg/autostart/hplip-systray.desktop + to increase desktop startup speed so that the purpose + of this hp-systray.wrapper is different to the + entry below dated "Tue Apr 8 14:56:53 CEST 2008". + hp-systray.wrapper tests via "lpstat" if a 'hp:/...' + print queue exists and exits otherwise. + This avoids that hp-systray with all its Python stuff must be + loaded when the desktop starts up only to let hp-systray do + its built-in test and exit if there is no HPLIP print queue + (see Novell/openSUSE Bugzilla bnc#649280). +- Updated to version 3.10.9: + New Scan protocol (Low End Data Model) support. + Many more supported all-in-one devices. + Many bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Updated to version 3.10.6: + New protocol support (LEDM) for device status over Network + and USB. + Some more supported all-in-one devices. + Several bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Updated to version 3.10.5: + Fixed "libusb couldn't open USB device, Permission denied" + error message in openSUSE. + Several more supported all-in-one devices. + Several bug fixes. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Wed Sep 15 08:58:09 UTC 2010 - aj@suse.de + +- Change BuildRequires for sane-backends devel split. + +------------------------------------------------------------------- +Thu Apr 1 12:40:47 CEST 2010 - jsmeix@suse.de + +- Updated to version 3.10.2: + The hpcups driver is again updated to better align with + the product specifications for various printer models. + Several more supported all-in-one devices. + Several bug fixes (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Updated to version 3.9.12: + The hpcups driver is updated to better align with the + product specifications for various printer models. + Several more supported printers. + Several bug fixes (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Updated to version 3.9.10: + The hpcups driver has been re-written. It does no longer do + bi-directional IO. Printer specific settings are no longer + hard coded, but are controlled by the PPD file. + Many more supported printers and all-in-one devices. + Several bug fixes (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- hpcups.drv.in-3.9.8-reorder.patch and + hpcups-ppds-3.9.8-reorder.tar.bz2 are obsolete + because it is fixed in the source. +- create_hal_global_fdi_from_hpmud_rules is obsolete + because HAL is no longer used to manage ACLs + (see Novell/Suse Bugzilla bnc#542473 comment#13). +- change-udev-rules.diff fixes now also 56-hpmud_support.rules + (see for example Novell/Suse Bugzilla bnc#577035) and + it should trigger udev's generic ACL support for SANE + via 'ENV{libsane_matched}="yes"' in 55-hpmud.rules + (see Novell/Suse Bugzilla bnc#542473 comment#14). + Perhaps the latter could be better achieved with the + configure option --enable-udev-acl-rules (default=no) + which installs 40-hplip.rules instead of 55-hpmud.rules + but this was not at all tested up to now and it is + likely not backward compatible (e.g. for openSUSE 11.2). + +------------------------------------------------------------------- +Thu Oct 15 15:52:41 CEST 2009 - jsmeix@suse.de + +- Also moved /usr/share/hplip/data/models/models.dat + and /etc/hp/hplip.conf to the hplip-hpijs sub-package + so that the "hp" backend can autodetect printers + (see Novell/Suse Bugzilla bnc#546856 comment#10). + +------------------------------------------------------------------- +Thu Oct 15 11:14:28 CEST 2009 - jsmeix@suse.de + +- In the hplip-hpijs sub-package made weak package dependencies + even weaker to avoid bloating of minimal installations. Now + the hplip-hpijs sub-package only "Enhances: ghostscript_any" + and "Suggests: hplip" (see Novell/Suse Bugzilla bnc#546893). +- Enlarged hplip-hpijs to be useful for a CUPS print queue. + Moved the following files from the hplip main package + to the hplip-hpijs sub-package: cups/backend/hp, + cups/filter/foomatic-rip-hplip, cups/filter/hpcac, + cups/filter/hpcups, cups/filter/hplipjs, + and all PPD files (see Novell/Suse Bugzilla bnc#546856). + +------------------------------------------------------------------- +Wed Sep 16 14:59:30 CEST 2009 - jsmeix@suse.de + +- hpcups.drv.in-3.9.8-reorder.patch addresses two issues + in the 3.9.8 hpcups.drv.in file from which dynamic PPDs + are generated. + It re-orders common paper sizes so that normal, fullbleed + and duplex papers sizes are grouped together in the PPD. + It changes the LJColor device class from RGBW to RGB + color space. The K band was not being printed by hpcups. +- The hpcups-ppds-3.9.8-reorder.tar.bz2 source file contains + the matching static PPDs which are fixed according to what + hpcups.drv.in-3.9.8-reorder.patch fixes for dynamic PPDs. + +------------------------------------------------------------------- +Thu Aug 6 10:48:36 CEST 2009 - jsmeix@suse.de + +- The hplip.SuSEfirewall2 source file provides support + to open UDP ports 5353(mdns) and 427(svrloc) for mDNS support + according to the init-suse-firewall in the tar ball + (see Novell/Suse Bugzilla bnc#528819). +- Updated to version 3.9.8: + Added mDNS/Bonjour support. + Enabled mDNS as the default network search mechanism. + Added front-end support for mDNS/Bonjour in setup. + Added hpmud support for mDNS. + The tar ball provides a init-suse-firewall init script + for mDNS support which is not included in the RPM. + Fixed wificonfig associate issue when called from hp-setup. + Added 40-hplip.rules to the tar ball for distros with + udev ACL support. Use configure option --enable-udev-acl-rules + to install 40-hplip.rules instead of 55-hpmud.rules. + Fixed Normal Grayscale on DJ8xx and DJ8x5 for HPCUPS. + Added -lsane link option for libsane-hpaio in Makefile. + Many more supported printers and all-in-one devices. + Many bug fixes (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Wed Jul 1 10:28:04 CEST 2009 - jsmeix@suse.de + +- Fixed hp-toolbox.wrapper by adding "..." quotation when + calling 'test -x "$( type -p whatever )"' because + when 'type -p whatever' fails calling 'test -x' without + an explicite empty argument would result true + (see Novell/Suse Bugzilla bnc#503322 comment#6). +- fix_gcc44_glib.diff is obsolete since version 3.9.6b + because it is fixed in the source. +- Updated to version 3.9.6b: + The new native CUPS driver (HPCUPS) is now the default + printer driver. HPCUPS provides new paper sizes for borderless + and duplex so that there are now HPCUPS PPDs with exact + printable regions for normal, borderless and duplex paper sizes + which should fix https://bugs.launchpad.net/hplip/+bug/173857 + For now HPIJS (and its matching foomatic-rip-hplip PPDs) + are still included (HPIJS can co-exist with HPCUPS). + A new utility 'hp-wificonfig' can pre-configure wifi-capable + printers on a wireless network. Once pre-configured, a queue + for the printer can be set up as usual using hp-setup. + Renamed hp-devicesetup to hp-devicesettings. + Added CUPS filter hpcupsfax and new hpcups fax PPDs. + Bumped libhpmud.so.0.0.4 to libhpmud.so.0.0.5. + Integrated --enable-lite-build (default=no) into configure.in + which can be used to get a minimal print/scan only build with + limited Plugin support (Novell/Suse provides the "full" build). + Many more supported printers and all-in-one devices. + Many bug fixes (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Tue Jun 2 14:46:19 CEST 2009 - jsmeix@suse.de + +- fix_gcc44_glib.diff fixes GCC/glibc issues, here in particular + "invalid conversion from 'const char*' to 'char*'" errors. + The upstream bug report is + https://bugs.launchpad.net/hplip/+bug/382720 + +------------------------------------------------------------------- +Tue May 5 14:54:42 CEST 2009 - jsmeix@suse.de + +- force-qt4-for-hp-systray-desktop.diff is obsolete because + configure uses --enable-qt4 by default now which obsoletes + also "Recommends: python-qt" (only python-qt4 is required). +- Updated to version 3.9.4b: + A few bug fixes (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Updated to version 3.9.4: + Added PolicyKit support. Command line tools like hp-setup, + hp-plugin, etc. are now run as regular user. + Added GPG digital signature support to the HPLIP plug-in + to validate that the plug-in is not corrupted and authentic. + Added native CUPS driver support (hpcups) currently for + testing only and added static PPDs for hpcups. + Some more supported printers and all-in-one devices + (in particular a few Designjet PostScript printers). + Many bug fixes (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Updated to version 3.9.2: + Qt4 now default UI. + Support policy change. End of support date is added to + all HPLIP supported devices, for details see + http://hplipopensource.com/node/314 + New file /var/lib/hp/hplip.state for runtime variable data. + Removed any variable data from /etc/hp/hplip.conf. + Some more supported printers and all-in-one devices. + Major bug fixing on Qt4 solution (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Updated to version 2.8.12: + From this release forward, all PPD files - even for devices + that require a binary plug-in - will reside in the tarball + (the "plugin PPDs" are moved into hpijs.drv). + Preview (alpha) release of the Qt4 version of HPLIP. + Replaced "MODE 0666" udev device permissions with + "console permissions via HAL". + No new supported devices. + Several bug fixes (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Updated to version 2.8.10: + Bumped libhpmud version for new plugin attribute. + Many more supported printers and all-in-one devices. + Several bug fixes (no Suse bugs). + For details see + http://hplipopensource.com/hplip-web/release_notes.html +- Updated to version 2.8.9: + Added Qt4 configure option but Qt3 is the default. + Many bug fixes (no Suse bugs). + Several more supported printers, in particular + some Compact Photo (QuickConnect) printers. + For details see + http://hplipopensource.com/hplip-web/release_notes.html + +------------------------------------------------------------------- +Wed Dec 3 17:30:47 CET 2008 - lnussel@suse.de + +- use "usb" instead of "usb_device" (bnc#438867) + +------------------------------------------------------------------- +Wed Dec 3 11:18:55 CET 2008 - jsmeix@suse.de + +- Moved /etc/hal/fdi/policy/10osvendor/70-hpmud.fdi + to /usr/share/hal/fdi/information/20thirdparty/70-hpmud.fdi + (see Novell/Suse Bugzilla bnc#438867). + +------------------------------------------------------------------- +Tue Nov 18 11:48:39 CET 2008 - jsmeix@suse.de + +- Let suse_update_desktop_file add X-SuSE-translate key + to /etc/xdg/autostart/hplip-systray.desktop so that we can + update its translations with translation-only packages + (see Novell/Suse Bugzilla bnc#445738). + +------------------------------------------------------------------- +Tue Oct 21 14:49:39 CEST 2008 - jsmeix@suse.de + +- Changed change-udev-rules.diff to jump to the end + if SUBSYSTEM!="usb" and replaced SYSFS by ATTR + (see Novell/Suse Bugzilla bnc#436085). + +------------------------------------------------------------------- +Tue Sep 16 08:35:58 CEST 2008 - jsmeix@suse.de + +- Added "Recommends: hplip" to hplip-hpijs because when only + hplip-hpijs is there, it should tell the dependency resolver + that for usual functionality, hplip should be installed + too (if possible). + +------------------------------------------------------------------- +Thu Sep 11 08:28:02 CEST 2008 - jsmeix@suse.de + +- force-qt4-for-hp-systray-desktop.diff forces Gnome and KDE + to execute hp-systray as "hp-systray --qt4" via + /etc/xdg/autostart/hplip-systray.desktop so that + hp-systray docks to the notification tray of the desktops. + Because of this the python-qt4 RPM is now required + (see Novell/Suse Bugzilla bnc#377575). + This additional requirement should be no problem because + in an upcoming release HPLIP is converted over to Qt4, see + https://bugs.launchpad.net/hplip/+bug/231978/comments/7 + and then the "Recommends: python-qt" can be dropped + (see the entry below) but currently only hp-systray + can be used with Qt4. + +------------------------------------------------------------------- +Wed Sep 10 12:06:32 CEST 2008 - jsmeix@suse.de + +- Do no longer have a hard RPM requirement for python-qt + (now there is only "Recommends: python-qt") to be able + to provide hplip even on a distribution without python-qt. + Without python-qt all GUI stuff would fail but + several /usr/bin/hp-* tools have a command line + option to run in non-graphical mode so that the basic driver + functionality still works even without python-qt. +- Have versioned "Obsoletes" for hpijs-standalone to meet our + policies even if the real intention is that any installed + version of hpijs-standalone is replaced and explain the + unversioned "Obsoletes" for hplip17 and hplip17-hpijs + (see Novell/Suse Bugzilla bnc#251830). + +------------------------------------------------------------------- +Tue Sep 9 14:33:28 CEST 2008 - jsmeix@suse.de + +- The configure option disable-foomatic-xml-install + does no longer exist. +- Updated to version 2.8.7: + Some bug fixes (no Suse bugs). + Some more supported printers. + For details see release_notes.html +- Updated to version 2.8.6b: + Replaced the doc directory with an abbreviated web document + (there is no longer hpijs.html and device_classes.html). + Redesigned the proprietary plugin support. There is now only + one plugin that is valid for each HPLIP release, see + https://answers.launchpad.net/hplip/+question/30595 + Changed the hpijs.drv to support multiple products via + multiple "Product" entries in the PPD but see + https://bugs.launchpad.net/hplip/+bug/235148 + Several bug fixes (no Suse bugs). + Many more supported printers. + For details see release_notes.html +- Updated to version 2.8.5: + Major toolbox (HP Device Manager) revamp/refresh. + More dbus support (live status updating). + hp-systray will exit if no HPLIP installed queues found which + obsoletes HPLIP-2.8.4-systray_exit_if_no_device_2.patch + Many bug fixes (no Suse bugs). + Several more supported printers. + For details see release_notes.html + +------------------------------------------------------------------- +Fri Sep 5 10:10:27 CEST 2008 - jsmeix@suse.de + +- Keep all PPDs even if cupstestppd FAILs. + With each CUPS version upgrade cupstestppd finds more + and more errors so that more and more PPDs would be + no longer included in the RPM which have been included + before which results a regression. + As far as we know there have been no problems at all because of + not strictly compliant PPDs in HPLIP so that it is much better + to provide all PPDs so that the matching printers can be used + than to be rigorous regarding compliance to the PPD spec. + +------------------------------------------------------------------- +Thu Sep 4 13:03:51 CEST 2008 - jsmeix@suse.de + +- Changed the "Conflicts: hpijs-standalone" in hplip-hpijs + to "Obsoletes: hpijs-standalone" regardless of any version. + hplip-hpijs and hpijs-standalone both contain /usr/bin/hpijs + so that both packages have a RPM conflict. + But when the minimalist hpijs-standalone is to be replaced + by the full-featured hplip, hplip requires hplip-hpijs + and this should silently supersede hpijs-standalone + regardless of any version (see Novell/Suse Bugzilla bnc#388149). + +------------------------------------------------------------------- +Thu Aug 14 19:05:17 CEST 2008 - jsmeix@suse.de + +- Removed the hplip init script which is obsolete since + version 2.8.4 where hpssd is gone and replaced by + hp-systray, see Novell/Suse Bugzilla bnc#390663. + +------------------------------------------------------------------- +Tue Apr 29 12:21:17 CEST 2008 - jsmeix@suse.de + +- Added RPM requirement for python-gobject2 because the dbus stuff + in HPLIP requires the Python module gobject but there is no + automated RPM requirement for python-gobject2, see + https://answers.launchpad.net/hplip/+question/30741 + +------------------------------------------------------------------- +Thu Apr 10 15:55:42 CEST 2008 - jsmeix@suse.de + +- HPLIP-2.8.4-systray_exit_if_no_device_2.patch lets hp-systray + exit if the HPLIP driver seems to be not in use (i.e. if there + is neither a 'hp:/...' nor a 'hpfax:/...' print queue), see + https://bugs.launchpad.net/hplip/+bug/213938 + This patch obsoletes the whole hp-systray.wrapper stuff, + see the entry below and Novell/Suse Bugzilla bnc#377885. + +------------------------------------------------------------------- +Tue Apr 8 14:56:53 CEST 2008 - jsmeix@suse.de + +- Added hp-systray.wrapper which is a wrapper for hp-systray + which runs it only if there is a 'hp:/...' print queue + and changed /etc/xdg/autostart/hplip-systray.desktop + to run the wrapper, see Novell/Suse Bugzilla bnc#377885. + +------------------------------------------------------------------- +Thu Apr 3 15:59:09 CEST 2008 - jsmeix@suse.de + +- Updated to version 2.8.4: + Elimination of all persistent startup daemons. + The last daemon hpssd has been replaced with hp-systray. + All interprocess communication uses now dbus. + Therefore dbus-1-python version 0.80 or greater is required. + PC send fax requires dbus and a running hp-systray to operate + but hp-toolbox and hp-sendfax launch hp-systray automatically + and there is also /etc/xdg/autostart/hplip-systray.desktop. + When no HPLIP tools are running (e.g. hp-toolbox), + and the user closes or disables hp-systray, + there will be no HPLIP processes running whatsoever. + Many bug fixes (no Suse bugs). + One more supported LaserJet ZJStream printers (M1120), + one OfficeJet (J6400), and two Photosmart (C4340, B8800) + where the latter has a new printer device class (PSB9100). + For details see release_notes.html +- Adapted the hplip init script to provide backward compatibility: + It still exists to avoid that printer/scanner setup tools fail + when they try to enable the "hplip" service but all it does + is to stop a possibly running hpssd. + +------------------------------------------------------------------- +Wed Apr 2 14:40:57 CEST 2008 - jsmeix@suse.de + +- Exchanged create_hal_global_fdi_from_models.dat with + create_hal_global_fdi_from_hpmud_rules which creates the + global HAL 70-hpmud.fdi file during build-time from the + 55-hpmud.rules file to be in sync with the udev rules file + and to make sure to have all possible HPLIP device IDs, see + https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/195782 +- Require the exact matching version of the hpijs sub-package + to have the correct libhpip and libhpmud installed. +- Require pyxml to have the xml.parsers.expat Python module, + see https://answers.launchpad.net/hplip/+question/25696 + +------------------------------------------------------------------- +Tue Feb 26 12:25:45 CET 2008 - jsmeix@suse.de + +- Static "hpijs" PPD files via enable-foomatic-ppd-install + require foomatic-rip-hplip via their cupsFilter entries + so that enable-foomatic-rip-hplip-install is also needed. + See https://answers.launchpad.net/hplip/+question/25654 + and see Novell/Suse Bugzilla bnc#364419. + +------------------------------------------------------------------- +Thu Feb 21 14:35:36 CET 2008 - jsmeix@suse.de + +- create_hal_global_fdi_from_models.dat creates the + global HAL 70-hpmud.fdi file during build-time from the + models.dat file (see Novell/Suse Bugzilla bnc#336658). +- Built version 2.8.2 in the traditional way with readymade + PPD files in /usr/share/cups/model/manufacturer-PPDs/hplip/ + (i.e. without hpijs.drv and foomatic-rip-hplip) +- Updated to version 2.8.2: + HPIJS PPD files are now created with the CUPS DDK instead of + the foomatic database. Dynamic PPD files are now supported + via the hpijs.drv file. + Added foomatic-rip-hplip support. Foomatic-rip-hplip is for + distros that do not have the latest foomatic-rip which is + required for drv support. + Updated the krgb patch for gpl ghostscript 8.61. + Updated the "hp" backend to return only hplip supported devices + during device discovery. If the device is not in models.dat + the "hp" backend will exclude it. + Changed margins to 0.125 inch from 0. + Bumped libhpmud from 0.0.1 to 0.0.2 for support_type + in hpmud_query_model(). + Several bug fixes (no Suse bugs). + Several more supported printers (some more ZJStream printers). +- Updated to version 2.7.12: + Added PJL support to "hp" backend which provides in-band + printer status. + Bumped libhpmud from 0.0.0 to 0.0.1 for statustype support + in hpmud_query_model(). + Several bug fixes (no Suse bugs). + Several more supported LaserJet printers, one ZJStream printer, + one LJm1005 printer with binary-only plugin (LaserJet M1005 MFP). + +------------------------------------------------------------------- +Fri Nov 9 14:29:44 CET 2007 - jsmeix@suse.de + +- Changed rchplip (i.e. /etc/init.d/hplip): + Added "$local_fs $remote_fs $syslog" to Required-Start + to be on the safe side and added a line "export HOME=/tmp" + to mitigate Novell/Suse Bugzilla bnc#339443. + +------------------------------------------------------------------- +Tue Oct 23 14:24:27 CEST 2007 - jsmeix@suse.de + +- Updated to version 2.7.10: + New LJZjsMono printer device class for ZJStream printers. + ZJStream printers require JBIG which has issues + (see Novell/Suse Bugzilla bnc#263181). Therefore the support + for ZJStream printers is provided only via a binary-only plugin + which is downloaded by "hp-setup" from the HP web-site only after + the user has accepted the license terms. + Applied patch for issue CVE-2007-5208 (hpssd command injection) + Several bug fixes (no Suse bugs). + Two more supported Photosmart and Officejet printers. + For details see release_notes.html +- Updated to version 2.7.9: + Made the default udev 55-hpmud.rules file more permissive + (ie: MODE=0666) so that also device status works for any user. + This looks sufficiently secure by default because the + 55-hpmud.rules matches now only for those USB product IDs + which belong to HP printers and all-in-one devices so that + other HP USB devices like keyboard, mouse, and mass storage + devices won't get MODE=0666 by accident. + All known product-ids that HPLIP/HPIJS supports have been + added to the model.dat file. + Many bug fixes (no Suse bugs). + Some more supported Photosmart and Officejet printers. + For details see release_notes.html + +------------------------------------------------------------------- +Tue Sep 18 12:18:25 CEST 2007 - jsmeix@suse.de + +- Add a line-feed to the end of all PPDs to fix those PPDs where + it is missing. See Novell/Suse Bugzilla bnc#309832: + Unix/Linux text files must end with a line-feed. + Otherwise reading the last line results EOF and then some + programs may ignore the last line. + +------------------------------------------------------------------- +Wed Sep 12 16:17:46 CEST 2007 - jsmeix@suse.de + +- Ignore cupstestppd FAILs because of errors in UIConstraints + and/or NonUIConstraints which are detected since cupstestppd + in CUPS > 1.2.7 (i.e. since openSUSE 10.3). + See Novell/Suse Bugzilla bnc#309822: When this bug is fixed, + cupstestppd would no longer result zero exit code. + In the long run the PPDs should be fixed but as far as we know + there have been no problems because of such UIConstraints errors + so that it should be o.k. let those PPDs pass even if they are + not strictly compliant. + +------------------------------------------------------------------- +Tue Aug 7 11:51:36 CEST 2007 - jsmeix@suse.de + +- Changed /etc/udev/rules.d/55-hpmud.rules (via a change in + change-udev-rules.diff) from OWNER="root" GROUP="lp" MODE="0660" + to OWNER="root" GROUP="lp" MODE="0664" (i.e. allow read + permissions for HP USB device files for normal users). + Reason: Without read permissions even a simple command + like "lsusb" cannot list HP USB devices to normal users + which could cause unnecessary confusion. + Furthermore have only read permissions for HP USB device files + for normal users is in compliance to the default assumptions + in upstream HPLIP and it should be sufficiently secure because + for retrieving data from the device a matching request must be + sent to the device which requires write permissions. + +------------------------------------------------------------------- +Thu Aug 2 12:05:18 CEST 2007 - jsmeix@suse.de + +- Updated to version 2.7.7: + Many bug fixes (no Suse bugs). + Some more supported Photosmart printers. + For details see release_notes.html +- fix-printing-white-spaces-and-empty-lines.diff is no longer + needed because the bug is now fixed in the source. + +------------------------------------------------------------------- +Thu Jul 26 09:15:21 CEST 2007 - jsmeix@suse.de + +- Changed change-udev-rules.diff so that 55-hpmud.rules matches + also against the new SUBSYSTEM=="usb" but keep "usb_device" + for backward compatibility (Novell/Suse Bugzilla bnc#294161). + +------------------------------------------------------------------- +Fri Jul 6 10:26:21 CEST 2007 - jsmeix@suse.de + +- fix-printing-white-spaces-and-empty-lines.diff fixes printing + white spaces and empty lines according to a mail from HP + on the hplip-help@lists.sourceforge.net list. + +------------------------------------------------------------------- +Tue Jul 3 11:54:28 CEST 2007 - jsmeix@suse.de + +- Updated to version 2.7.6: + No more start-up daemons: + hpiod is replaced by new direct device I/O (via hpmud library), + hpssd (for device status) still exists but is started by default + as a daemon by the first user who needs it which is not nice + because this results a random user which runs hpssd therefore + we (i.e. Novell/Suse) still provide /etc/init.d/hplip which + is used to start hpssd as before during system boot. + Many bug fixes (no Suse bugs) and some enhancements. + Some more supported Photosmart, Color LaserJet, and DeskJet + printers. + For details see release_notes.html + +------------------------------------------------------------------- +Thu Jun 21 15:46:12 CEST 2007 - jsmeix@suse.de + +- Added stop_on_removal to preun, insserv_cleanup to postun, + and ldconfig to post and postun for the hpijs sub-package. + +------------------------------------------------------------------- +Thu May 24 01:46:16 CEST 2007 - ro@suse.de + +- Added libusb-devel to BuildRequires. + +------------------------------------------------------------------- +Fri Apr 27 14:28:27 CEST 2007 - jsmeix@suse.de + +- Updated to version 1.7.4a: + Resolved a build issue that caused a couple missing files + in the 1.7.4 release and a fix for hp-check (no Suse bugs). + +------------------------------------------------------------------- +Mon Apr 23 13:50:13 CEST 2007 - jsmeix@suse.de + +- Updated to version 1.7.4: + Many bug fixes (no Suse bugs). + Some more supported DeskJet printers. + For details see release_notes.html + +------------------------------------------------------------------- +Mon Mar 26 08:53:51 CEST 2007 - jsmeix@suse.de + +- Updated to version 1.7.3: + Many bug fixes (no Suse bugs). + No new supported models but enhancements for some models. + For details see release_notes.html + +------------------------------------------------------------------- +Thu Mar 1 13:34:43 CET 2007 - jsmeix@suse.de + +- Updated to version 1.7.2: + Several more supported Officejet Pro devices. + New OJProKx50 device class (derived from DJGenericVIP). + Major hp-toolbox upgrade/redesign. + Many bug fixes (no Suse bugs). + fix-buffer-overflow.patch and hplip-1.7.1-1.patch are no longer + needed because the bugs are now fixed in the sources. + +------------------------------------------------------------------- +Fri Feb 16 11:52:28 CET 2007 - jsmeix@suse.de + +- Added a fix for fat.c to fix-buffer-overflow.patch + to aviod access when array subscript is above array bounds + (Suse Bugzilla bnc#243047). +- Remove all byte-compiled Python .pyc (and perhaps .pyo) + files which are created at run-time in /usr/share/hplip/ + via preun script (Suse Bugzilla bnc#244451). + +------------------------------------------------------------------- +Mon Feb 5 14:24:24 CET 2007 - jsmeix@suse.de + +- fix-buffer-overflow.patch fixes a too small string buffer + which overflows in line 310 in ljcolor.cpp. +- Moved the hpijs man page to the hplip-hpijs sub-package + so that there is no same file in hplip and hpijs-standalone + (hplip-hpijs and hpijs-standalone conflict with each other). + +------------------------------------------------------------------- +Thu Feb 1 15:02:59 CET 2007 - jsmeix@suse.de + +- hplip-1.7.1-1.patch from HP fixes Deskjet D4100/D4160 + christmas-tree (firmware hangs up with flashing LEDs) + on second print job. +- Removed /usr/bin/hpijs.without-libcups from hplip-hpijs + to get rid of confusing RPM package requirements (hplip-hpijs + requires cups-libs because of /usr/bin/hpijs). +- Created new package hpijs-standalone and hpijs-standalone.spec + for a special version of /usr/bin/hpijs which neither needs + a HPLIP library nor a CUPS library to run it. + +------------------------------------------------------------------- +Wed Jan 31 13:50:12 CET 2007 - jsmeix@suse.de + +- Removed explicite fstack-protector-all from CFLAGS and CXXFLAGS + because fstack-protector will be enabled by default. + +------------------------------------------------------------------- +Mon Jan 29 15:40:16 CET 2007 - jsmeix@suse.de + +- Package 'sane' was renamed to 'sane-backends'. + Adapted it so that it works with 'sane-backends'. + +------------------------------------------------------------------- +Thu Jan 25 14:53:05 CET 2007 - jsmeix@suse.de + +- Updated to version 1.7.1: + Many bug fixes (no Suse bugs). + No new supported models but enhancements for several models. + For details see release_notes.html +- Removed the fix for uninitialized file pointer in api/model.c + from fix-uninitialized-variables.diff because it is now + fixed in the sources. + +------------------------------------------------------------------- +Fri Jan 19 16:01:20 CET 2007 - jsmeix@suse.de + +- Added fix for uninitialized file pointer in api/model.c to + fix-uninitialized-variables.diff (Suse Bugzilla bnc#236709). + +------------------------------------------------------------------- +Fri Jan 12 15:13:35 CET 2007 - jsmeix@suse.de + +- Since version 1.6.12 /usr/bin/hpijs is linked with libcups + so that the package hplip-hpijs could be no longer installed + without at least the package cups-libs. Therefore an additional + special /usr/bin/hpijs.without-libcups is built which does not + require the CUPS library. + +------------------------------------------------------------------- +Wed Dec 20 14:45:25 CET 2006 - jsmeix@suse.de + +- Updated to version 1.6.12: + Three more supported LaserJet printers. + Many bug fixes (no Suse bugs). + For details see release_notes.html + Added SANE_DEBUG_HPAIO support for the hpaio SANE backend. + The new models.dat file replaces the .xml files. The hplip_api + can be used to get model attributes without running the HPLIP + daemons. See hplip_api.h for reference (this affects the Suse + Bugzilla bugs bnc#184798 and bnc#184824). +- Fixed hp-toolbox.wrapper to catch 'error' regardless of the case + (see Suse Bugzilla bnc#229620). + +------------------------------------------------------------------- +Tue Oct 17 09:59:50 CEST 2006 - jsmeix@suse.de + +- Updated to version 1.6.10: + Several more supported LaserJet printers. + Many bug fixes (no Suse bugs). +- Fixed typo in keyword in some LaserJet PPDs + ("* PageRegion" -> "*PageRegion"). + +------------------------------------------------------------------- +Mon Sep 18 11:02:03 CEST 2006 - jsmeix@suse.de + +- Updated to version 1.6.9: + Added support CD/DVD label printing (ie: PS D5100). + Several more supported Photosmart printers. + Many bug fixes (no Suse bugs). + +------------------------------------------------------------------- +Mon Sep 11 12:14:32 CEST 2006 - jsmeix@suse.de + +- Using generalised cupsext* and pcardext* in the files section + (instead of explicit only cupsext.so and pcardext.so) + so that it works now both for Python 2.4 and 2.5 + (the latter installs additional *.egg-info files). + +------------------------------------------------------------------- +Mon Sep 4 12:00:12 CEST 2006 - jsmeix@suse.de + +- Exchanged the hard RPM requirement for ghostscript_any by a + supplements entry for hplip-hpijs so that there is no longer + a mutual (cyclic) hard RPM dependency between hplip-hpijs + and ghostscript-library. + +------------------------------------------------------------------- +Thu Aug 3 11:37:07 CEST 2006 - jsmeix@suse.de + +- Updated to version 1.6.7: + Changed from dynamic IP ports to static IANA IP ports + for hpiod (2208) and hpssd (2207). + Two more supported Photosmart printers. + Several bug fixes (no Suse bugs). + +------------------------------------------------------------------- +Mon Jul 17 13:52:36 CEST 2006 - jsmeix@suse.de + +- Fixed PPDs which contain "1284DeviceId" which must be + "1284DeviceID" (detected by new CUPS 1.2 cupstestppd). + +------------------------------------------------------------------- +Wed Jun 28 14:47:47 CEST 2006 - jsmeix@suse.de + +- Updated to maintenance release 1.6.6a: + This provides various minor fixes and enhancements. + For details see doc/release_notes.html in the source + or /usr/share/doc/packages/hplip/release_notes.html + +------------------------------------------------------------------- +Mon Jun 19 13:46:28 CEST 2006 - jsmeix@suse.de + +- Updated to version 1.6.6: + HPLIP has reached 1.0 status. + With this release a date encoded revision number x.y.m is used: + x = major release number, y = year (6=2006), m = month (6=June) + Correct URLs in HTML docs (obsoletes fix-doc-hrefs.diff). + Removed DeviceOpen from hp backend. This fixes two problems: + 1) usblp will no longer be removed for device discovery + 2) device discovery will no longer cause Inkjets to power-up. + Added hpaio.desc file for SANE. + Several more supported printers. +- Cleaned up build (simplified spec file): + Changed install dir for PPDs and doc in Makefile.am. + Using configure without rpm-install. + Using configure with --disable-cups-install. + Links to work around inconsistent naming of python scripts + and links to hpfax backend and its associated PPD file + are no longer needed. + +------------------------------------------------------------------- +Fri Jun 9 12:19:59 CEST 2006 - jsmeix@suse.de + +- Added man page for /usr/bin/hpijs (hpijs.1.gz). +- Fixed wrong URLs in HTML documentation (fix-doc-hrefs.diff). +- Added links to work around inconsistent naming of python scripts. +- Added links to hpfax backend and its associated PPD file + to make them available as usual for CUPS setup tools. + +------------------------------------------------------------------- +Mon May 22 14:04:20 CEST 2006 - jsmeix@suse.de + +- Fixed typo (missing '"') in hplip-init-script.diff + +------------------------------------------------------------------- +Fri May 19 13:04:46 CEST 2006 - jsmeix@suse.de + +- Updated to version 0.9.11: + Revised and updated documentation. + Some more supported all-in-one devices and printers. + Several bug fixes (no Suse bugs). +- Updated to version 0.9.10: + Several bug fixes (no Suse bugs). +- Updated to version 0.9.9: + Uses libusb for all USB I/O. + CUPS USB DeviceURIs must be changed from + "hp:/hp_model?device=/dev/usb/lpX" (no longer supported) + to "hp:/hp_model?serial=xxxxxxxx". + One more supported all-in-one device. + Several bug fixes (no Suse bugs). +- Updated to version 0.9.8: + New PC send fax support via special CUPS backend (hpfax) + and special HP-Fax-hplip.ppd PPD file + and a new send fax UI (hp-sendfax). + Some more supported printers. + Several bug fixes (no Suse bugs). + +------------------------------------------------------------------- +Wed Apr 26 12:11:00 CEST 2006 - jsmeix@suse.de + +- Fixed PPDs for "LaserJet 5Si" and "LaserJet 5MP" + (see Suse Bugzilla bnc#164991). + +------------------------------------------------------------------- +Fri Feb 24 14:11:01 CET 2006 - jsmeix@suse.de + +- Fixed an array index underflow (for LJ1010, LJ1012) + in ljfastraster.cpp (Suse Bugzilla bnc#152720). + +------------------------------------------------------------------- +Wed Jan 25 21:36:29 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Jan 12 11:13:05 CET 2006 - jsmeix@suse.de + +- Set compiler flag "-fstack-protector-all" to build it with + "Stack Protector" via a so called "canary" (requires gcc >= 4.1) + +------------------------------------------------------------------- +Wed Jan 4 16:08:08 CET 2006 - jsmeix@suse.de + +- Moved /usr/lib[64]/libhpip.* library files to the hplip-hpijs + sub-package because /usr/bin/hpijs requires libhpip but for + special cases (e.g. for a minimal printing system) it should + be possible to use only HPIJS without the rest of HPLIP. + +------------------------------------------------------------------- +Tue Jan 3 14:52:07 CET 2006 - jsmeix@suse.de + +- Updated to version 0.9.7 + including the additional hplip-0.9.7-2.patch from HP. + +------------------------------------------------------------------- +Thu Dec 22 15:29:13 CET 2005 - ro@suse.de + +- requires: PyQt -> python-qt + +------------------------------------------------------------------- +Thu Dec 1 16:01:58 CET 2005 - jsmeix@suse.de + +- Removed unneeded KDE packages from "neededforbuild" since + the new package python-qt was split from kdebindings3-python + (see Suse Bugzilla bnc#135250). + +------------------------------------------------------------------- +Mon Nov 28 11:30:30 CET 2005 - jsmeix@suse.de + +- Replaced requirement for the package kdebindings3-python + by a generic requirement for the RPM capability PyQt + to avoid needless dependencies to KDE libraries + (see Suse Bugzilla bnc#135250). + +------------------------------------------------------------------- +Tue Nov 22 12:31:52 CET 2005 - jsmeix@suse.de + +- Added -fno-strict-aliasing to the CXXFLAGS to avoid problems + in ljfastraster.cpp (line 1213) and hpijs.cpp (lines 86, 223). + +------------------------------------------------------------------- +Fri Nov 18 15:55:05 CET 2005 - jsmeix@suse.de + +- Updated to version 0.9.6 + +------------------------------------------------------------------- +Wed Sep 21 16:58:51 CEST 2005 - jsmeix@suse.de + +- Updated to version 0.9.5 + including the additional hplip-0.9.5-3.patch from HP. + +------------------------------------------------------------------- +Mon Sep 12 14:02:17 CEST 2005 - jsmeix@suse.de + +- Several PPDs contain "600x600x2dpi" which is not allowed + according to the Adobe PPD specification section 5.9 + and which is therefore simply replaced by "600x1200dpi" + (see Suse Bugzilla bnc#116393). + +------------------------------------------------------------------- +Mon Aug 29 17:09:07 CEST 2005 - jsmeix@suse.de + +- Removed a non-working PPD. +- Fix "... is used uninitialized ..." warning. + +------------------------------------------------------------------- +Tue Jul 26 17:33:13 CEST 2005 - jsmeix@suse.de + +- Updated to version 0.9.4 +- Removed obsolete fixes for missing class prototypes. +- Removed obsolete fixes for HP_Business_Inkjet_3000.ppd +- Added a fix for condrestart in /etc/init.d/hplip + +------------------------------------------------------------------- +Tue May 31 17:07:13 CEST 2005 - jsmeix@suse.de + +- Updated to version 0.9.3 + +------------------------------------------------------------------- +Tue May 24 10:48:26 CEST 2005 - jsmeix@suse.de + +- Fixed missing class prototypes, otherwise it fails with + "error: ISO C++ forbids declaration of 'xxx' with no type". + +------------------------------------------------------------------- +Tue May 17 14:10:49 CEST 2005 - jsmeix@suse.de + +- Fix "... is used uninitialized ..." warnings. + +------------------------------------------------------------------- +Wed May 4 12:14:09 CEST 2005 - jsmeix@suse.de + +- Updated to version 0.9.2 which does no longer need + the "fix C" (i.e. hplip-0.8.8.diff) from below. + +------------------------------------------------------------------- +Sun Apr 10 12:13:29 CEST 2005 - coolo@suse.de + +- fix C + +------------------------------------------------------------------- +Tue Mar 22 11:59:00 CET 2005 - jsmeix@suse.de + +- Added PreReq. + +------------------------------------------------------------------- +Thu Mar 17 10:53:11 CET 2005 - jsmeix@suse.de + +- Fixed a bug in HP-DeskJet_3740-hpijs.ppd.gz: + According to hpijs_readme.html the DeskJet 3740 belongs to the + DJ3320 device class. + +------------------------------------------------------------------- +Tue Mar 8 11:59:09 CET 2005 - jsmeix@suse.de + +- Added %suse_update_desktop_file stuff for hp-toolbox. +- Moved %{_libdir}/libsane-hpaio.* to %{_libdir}/sane/ + instead of creating symlinks (see Tue Mar 1 11:15:33). + +------------------------------------------------------------------- +Tue Mar 1 11:15:33 CET 2005 - jsmeix@suse.de + +- Added python-xml to RPM requirements because otherwise + hpssd (i.e. /usr/share/hplip/hpssd.py) doesn't work. +- Create symlinks (via '%triggerin -- sane') to all + %{_libdir}/libsane-hpaio.* so that SANE will find them. +- Added kdebindings3-python to RPM requirements because otherwise + hp-toolbox (i.e. /usr/share/hplip/toolbox) doesn't work. + +------------------------------------------------------------------- +Tue Feb 22 10:48:35 CET 2005 - jsmeix@suse.de + +- Changed default media size from Letter to A4 + if this is an available choice in the PPD. + +------------------------------------------------------------------- +Tue Feb 15 16:57:52 CET 2005 - jsmeix@suse.de + +- Updated to version 0.8.8, for details see ChangeLog and + http://hpinkjet.sourceforge.net/updates.php +- Removed the "compatibility"-links because they are not needed. +- Fixed basic stuff in the init script (needs further improvement). +- Source should be x86_64 clean (SUSE patch no longer needed). + +------------------------------------------------------------------- +Tue Feb 1 17:06:20 CET 2005 - jsmeix@suse.de + +- Updated to version 0.8.7, for details see ChangeLog and + http://hpinkjet.sourceforge.net/updates.php +- Added triggerin and postun scripts to add and remove + the SANE backend "hpaio" in /etc/sane.d/dll.conf +- Replaced hplip-0.8.4-models.xml.diff by + hplip-0.8.7-models.xml.diff because the "HP LaserJet 1220" + is now in the models.xml file but the entry is buggy. + +------------------------------------------------------------------- +Tue Jan 25 15:40:55 CET 2005 - jsmeix@suse.de + +- Branched the sub-package hplip-hpijs which contains only + the plain HPIJS binary so that Ghostscript can require + only this sub-package (without all the other stuff). +- Added a link to the toolbox program to have it accessible + via the user's PATH. +- Added the usual 'rc'-link to the runlevel script. +- Added the following RPM requirements regarding printing: + hplip requires hplip-hpijs and foomatic-filters + hplip-hpijs requires ghostscript_any + (There are no RPM requirements regarding scanning because + HPLIP will be also used for plain printers.) +- Exchanged the destructive line for the cupsd in the runlevel script + because cupsd runs as user lp and dies in case of a SIGHUP. + +------------------------------------------------------------------- +Tue Jan 18 14:36:29 CET 2005 - jsmeix@suse.de + +- patch hplip-0.8.4-models.xml.diff adds the "HP LaserJet 1220" + to the list of known models of the SANE backend "hpaio" + +------------------------------------------------------------------- +Wed Jan 12 11:23:00 CET 2005 - sf@suse.de + +- add --libdir=%_libdir to build on multilib archs +- add patch for cups search path for backends + +------------------------------------------------------------------- +Thu Dec 2 12:21:55 CET 2004 - jsmeix@suse.de + +- initial version + diff --git a/hplip.keyring b/hplip.keyring new file mode 100644 index 0000000..df273ad --- /dev/null +++ b/hplip.keyring @@ -0,0 +1,39 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.18 (GNU/Linux) + +mQGiBEsnpscRBACyclffkMVkXXdtY2qTT2+B6HN4hBoUxBwZBULyHFuSP9lsB7wK +16Hl5ZTu+oy+GegzzFRrHWxBLN9i67T0plNkqDJhWUrmXR7xvX+dFc+Qrl+uPR0i +CY1NMnWwnFh01YtYb9NAlb3bLn8RLBH8Zo60i7wfwdW9Wi1mgzmUT/UI9wCg7y6R +VmF4RjNWJ2WRdL/jVeAB8H0D/0xfePoYWrSGzOp7+Vl+xYo5TdSrzohUUnly6xla +UIKwlBCG/jpQqKH17803GpkFyh5FxG1Db7VWsciDv7flcBLPtn75gU2fPHXL+gnv +r1eJ+ugQwCl4/8d4iJ5TMXmHQOW2Pd0U47OmbZYNNgtA+lXhF8n8+6w3GRhqubLF +/9b/A/4wH37bv1shLhdLpP+9WYHc8z9+jmStVUFdAGoD/n6vOpBX+GQYaEY5Y8RS +Wf0DFhMF6CFYNZ2ngDyvPt53M2jU7hrxXIfs/b5bLMqG2et9M/avdEWGUKTsC7wu +0zeGtD07r9EA3WDIhxN9QEGZAq5Q3NSbedMHIVE4Ynq7VNCdsrQ0SFBMSVAgKEhQ +IExpbnV4IEltYWdpbmcgYW5kIFByaW50aW5nKSA8aHBsaXBAaHAuY29tPohgBBMR +AgAgBQJLJ6bHAhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQc9dwzaWQR7n4 +dQCghZgIpxuTC+GhiQIO0dK9wTlbMmoAoOB252fEOvf73v8Ya8qmN1GlmYiXiJwE +EAECAAYFAk7UORAACgkQnsV5kCcUcIjUuAP8D2rK0KZyA0uHyap2BkF5U4wm6qQ3 +p27K0hh50dZMIMSt3FH0TpW994jaoqBKqrHBk3U+/ZT4tD43hmaqc+XmnYNrNMRO +KBwkjEzKeKaOBXd1I5Tid0I2u1L6bl5IlQzujbWsn/5YbWypLlZhf3Hxg8uuHYu9 +kiQLYM4jqIi0YgSJARwEEAECAAYFAk3NP24ACgkQd7E6jROY7coc8Af8DYe87G2u +OSSPGkebecci11oTX9mudvDCQkuTFBcGPlMnPl6bn5QcMjBxuAm2TO0mYlR0QcPU +vQ+tNypw4AZGfsgnvG1EsxSfTgiR6tD2KdIZD8GJw/GudmtUgF3sZkw1txLkk57u +YufHc9u56oMvntAaU7nisosE1rdqON9fLf+tqvMcrX2+8tDHobfimltC+J+F5dyx +Cnef+zB9/+dzAAjiunicNZ35zv9tKBh83kECPUpScpHjrXxAqdSHrNlnjGZdmiFB +0luSbPCIF8sYyLYb5W+Sw1t7WsZ1XRgq67gTV8Vw2o9jw10a/vclwFHeVEtius6g +Cj0CwkJ1uRuiLrkCDQRLJ6bHEAgAhDv8Ifl/QKaJONb5/qm8uWC70rlzXLm9YlUp +bAcr/tvCkG271wzT4Sz/cHTvQ5s3yBsGq49Li7Z9IfVFk5xKV0mdGyiZwmHOxmaV +L3DcoyLkrOvYStqy3d/DEm9YaAWiAi42REVIXvmRsJce87wCIIY/rLNbncKXOj3H +TzWopqfnJPf/nkqYqwWbFkQxMmGfK9E84dLwjGRtwCWb5uN/YLM3uSJrwLfsRZbm +EQhzAJF2mIplwIqR3R7naruQdfyjad5EXOvKQ8P5MxUieGxHUlv90LuYCcW+MvVw +0zIqchbdWGaz+LGCTRDAIyJZZzB6kLCuHn3TWPyUpPdsBI5jfwAECwf+Nl+UUqw0 +HPZP9kXYG0VED1wFxWEckgzLeF32kDQGIlNp0NbYcSbi8xS56fFbpszA+LZrJgTZ +mnFRUwDCclma7punj3b8nM0gRtHvuLentmAhnQPIX8SWDRwhBNIujSOxQrtjjw6o +FyrMlYqpe73IUAAINzeCCwZXKDvOiTgm7oI/mI6fJiNrc8NqNxhGS4Bzw/rexAhZ +ngekMqR9Nglxk7EzUOqrffc6/Orq1fE2t/UNAOqVVfNX5F2hiINXi1+ywhOYOJVf +Q/xuil2FmI7txAc/7XmUcqxNwayjOzBKlVHIAcIyLMATw3yRVvh+gezGvUbE9Hny +YHq7nO9dmenM7YhJBBgRAgAJBQJLJ6bHAhsMAAoJEHPXcM2lkEe5pLMAnA/kDShH +CzfV5loZcyX8M41tzSYDAJ4jUTgQV69+3QpJmsE3GoCksIYlMQ== +=lgaV +-----END PGP PUBLIC KEY BLOCK----- diff --git a/hplip.spec b/hplip.spec new file mode 100644 index 0000000..67d5c68 --- /dev/null +++ b/hplip.spec @@ -0,0 +1,787 @@ +# +# spec file for package hplip +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +# python-rpm-macros doesn't work for hplip! +%if 0%{?suse_version} >= 1500 +%define pyversion 3 +%define pymod() python3-%{**} +%define pyver %{py3_ver} +%define pyexe %{_bindir}/python3 +%define py_compile(O) %{py3_compile %{-O} %*} +%global use_qt5 1 +%define gobject gobject +%else +%define pyversion 2 +%define pymod() python-%{**} +%define pyver %{py_ver} +%define pyexe %{_bindir}/python +%define gobject gobject2 +%global use_qt5 0 +%global make_build make V=1 +%global make_install make DESTDIR=%{buildroot} V=1 install +%endif + +%if 0%{use_qt5} +%global config_qt_opts --disable-qt4 --enable-qt5 +%global requires_qt %{pymod qt5} +%global ui_dir ui5 +%else +%global config_qt_opts --enable-qt4 --disable-qt5 +%global requires_qt %{pymod qt4} +%global ui_dir ui4 +%endif + +Name: hplip +Version: 3.24.4 +Release: 0 +Summary: HP's Printing, Scanning, and Faxing Software +License: BSD-3-Clause AND GPL-2.0-or-later AND MIT +Group: Hardware/Printing +URL: https://developers.hp.com/hp-linux-imaging-and-printing +# Source0...Source9 is for sources from HP: +# URL for Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.15.9.tar.gz +# URL to verify Source0: http://prdownloads.sourceforge.net/hplip/hplip-3.15.9.tar.gz.asc +# How to verify Source0 see: http://hplipopensource.com/node/327 +# For example: /usr/bin/gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9 +# /usr/bin/gpg --verify hplip-3.15.9.tar.gz.asc hplip-3.15.9.tar.gz +# must result: Good signature from "HPLIP (HP Linux Imaging and Printing) " +Source0: https://sourceforge.net/projects/hplip/files/hplip/%{version}/hplip-%{version}.tar.gz +Source1: https://sourceforge.net/projects/hplip/files/hplip/%{version}/hplip-%{version}.tar.gz.asc +Source2: hplip.keyring +# Patch0...Patch9 is for patches from HP: +# Patch10...Patch99 is for Suse patches for the sources from HP: +# Source100... is for special SUSE sources: +# Source102 is a small man page for /usr/bin/hpijs: +Source102: hpijs.1.gz +# Actual drivers for hplip-missing-drivers.patch +Source103: hp-laserjet_cp_1025nw.ppd.gz +Source104: hp-laserjet_professional_p_1102w.ppd.gz +# +Source1000: %{name}-rpmlintrc +# Patch100... is for special Suse patches: +# Patch101 change-udev-rules.diff changes the udev rules file 56-hpmud.rules +Patch101: change-udev-rules.diff +# Patch106 disable_hp-upgrade.patch disables hp-upgrade/upgrade.py for security reasons, +# see https://bugzilla.novell.com/show_bug.cgi?id=853405 +# To upgrade HPLIP an openSUSE software package manager like YaST or zypper should be used. +Patch106: disable_hp-upgrade.patch +# PATCH-FIX-SUSE: use proper udev rulesdir which is in usr not in /etc +Patch107: hplip-udev-rules-in-usr.patch +# Patch108 add_missing_includes_and_define_GNU_SOURCE.patch adds missing '#include <...>' +# and missing '#define _GNU_SOURCE' see https://bugs.launchpad.net/hplip/+bug/1456590 +Patch108: add_missing_includes_and_define_GNU_SOURCE.patch +Patch110: hpijs-avoid-segfault-in-DJGenericVIP-DJGenericVIP.patch +Patch112: ui5-systemtray-wait-only-10s-for-system-tray.patch +# Python3 port: cleanup patches +Patch300: pcardext-python3-fixes.patch +Patch301: hplip-misc-missing-includes-and-definitions.patch +Patch302: hp_ipp.h-add-missing-prototypes.patch +# bsc#1159240, lp#1859179 +Patch304: hp-sendfax-avoid-crash-if-python-reportlab-is-missin.patch +# bsc#1166623, hp-toolbox crashes without python3-distro module +Patch305: Use-lsb_release-fallback-code-if-import-distro-fails.patch +# bsc#1180724 +Patch306: dcheck.py-fix-crash-in-Qt4-version-check.patch +# PATCH-FIX-SUSE: Remove references to the closed-source ImageProcessor +Patch400: hplip-remove-imageprocessor.diff +# Let a function return NULL instead of nothing +Patch401: hplip-orblite-return-null.diff +# Use a pgp server (pool.sks-keyservers.net) which doesn't throw proxy errors +# or run into timeouts most of the time +Patch402: hplip-change-pgp-server.patch +# boo#1107711 +Patch403: Revert-changes-from-3.18.5-that-break-hp-setup-for-f.patch +# PATCH-FIX-UPSTREAM: https://bugs.launchpad.net/hplip/+bug/1879445 +Patch404: hplip-3.20.6-python-includes.patch +Patch500: hplip-missing-drivers.patch +# PATCH-FIX-UPSTREAM boo#1225777 +Patch601: hplip-pserror-c99.patch +Patch602: hplip-scan-hpaio-include.patch +Patch603: hplip-scan-orblite-c99.patch +Patch604: hplip-sclpml-strcasestr.patch +Patch605: hplip-hpaio-gcc14.patch + +%if %use_qt5 +BuildRequires: %{pymod qt5-devel} +%else +BuildRequires: %{pymod qt4} +BuildRequires: libqt4-devel +%endif +BuildRequires: %{pymod devel} +BuildRequires: %{pymod xml} +BuildRequires: cups > 1.5 +BuildRequires: cups-devel > 1.5 +BuildRequires: dbus-1-devel +BuildRequires: fdupes +BuildRequires: hicolor-icon-theme +BuildRequires: libavahi-devel +BuildRequires: libdrm-devel +BuildRequires: libgphoto2-devel +BuildRequires: libjpeg-devel +BuildRequires: libtool +BuildRequires: libusb-1_0-devel +BuildRequires: net-snmp-devel +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: readline-devel +BuildRequires: sane-backends-devel +BuildRequires: systemd-rpm-macros +BuildRequires: update-desktop-files +#!BuildIgnore: clang8 +#!BuildIgnore: libclang8 +# Break this dependency chain that has caused build breakage +# python3-qt5-devel -> libqt5-qttools-devel -> libqt5-qttools-doc -> clang8 +#!BuildIgnore: libqt5-qttools-devel +#!BuildIgnore: libqt5-qtwebengine +# Break this dependency chain that has caused build breakage +# python3-qt5-devel -> libqt5-qtwebengine-devel -> libavcodec58 -> libdav1d.so.1 +#!BuildIgnore: libqt5-qtwebengine-devel +# Require the exact matching version-release of the hpijs sub-package to make sure +# to have the exact matching version of libhpip and libhpmud installed. +# The exact matching version-release of the sub-package is available on the same +# repository where the main-package is (compare the "Recommends: hplip" entry below). +Requires: %{name}-hpijs = %{version}-%{release} +# Require the exact matching version-release of the sane sub-package to make sure +# to have the exact matching version of libsane-hpaio installed: +Requires: %{name}-sane = %{version}-%{release} +Requires: %{pymod dbus-python} >= 0.80 +Requires: %{pymod gobject} +Requires: %{requires_qt} +Requires: cups > 1.5 +# foomatic-filters and cups-filters-foomatic-rip +# do not require Ghostscript because depending on the PPD +# (e.g. some PPDs for PostScript printers in OpenPrintingPPDs-postscript) +# foomatic-rip can also be used without Ghostscript but for the drivers +# HPIJS and HPCUPS Ghostscript is needed. +# The RPM requirement for ghostscript should actually be in the +# hplip-hpijs sub-package but this would bloat a minimalist system +# (see the comment for the hplip-hpijs sub-package below). +# Therefore the hplip main package which is intended +# to get "all the HPLIP stuff" installed has the RPM requirement: +# Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451) +# plus a leftover in CVE-2004-0801 (bnc#59233) +# foomatic-rip-hplip is no longer installed and foomatic-rip +# from foomatic-filters or cups-filters-foomatic-rip is used instead. +# The RPM requirement for foomatic-filters should actually be +# in the hplip-hpijs sub-package but this would bloat a minimalist system +# (see the comment for the hplip-hpijs sub-package below). +# Therefore the hplip main package which is intended +# to get "all the HPLIP stuff" installed has the RPM requirement: +Requires: foomatic-filters +Requires: ghostscript +# hp-plugin requries lsb_release +Requires: lsb-release +Requires(post): %{_bindir}/find +Requires(post): /bin/grep +Requires(post): /bin/sed +Requires(post): coreutils +%if 0%{?suse_version} >= 1500 +Recommends: python3-reportlab +%endif +# Obsolete earlier package names +Obsoletes: hplip17 +Provides: hplip3 = 3.9.5 +Obsoletes: hplip3 < 3.9.5 +# cups-rpm-helper is now pulled in indirectly via cups-devel. +# This causes the "postscriptdriver" provides to be generated. +# To avoid that, put "Ignore: cups-devel: cups-rpm-helper in the prjconf. + +%description +The Hewlett-Packard Linux Imaging and Printing project (HPLIP) provides +a unified single and multifunction connectivity solution for HP +printers, scanners, and all-in-one devices. + +This package contains command line and UI front-ends for HPLIP, and tools +for extra functionality such as status and supply information. It is +not required for basic printing and scanning with HP hardware, except +for those devices that need the proprietary hplip plugin, see +https://developers.hp.com/hp-linux-imaging-and-printing/binary_plugin.html + +%package hpijs +Summary: Printer drivers for HP printers and all-in-one devices +# On a minimalist system only hplip-hpijs may be installed +# or on a minimalist package repository (e.g. on the openSUSE CDs) +# only hplip-hpijs may be available (even when a usual system is installed). +# When only hplip-hpijs is there, it should tell the dependency resolver +# that for usual functionality, hplip should be installed too (if possible). +# Unfortunately the installer ignores suggested packages silently +# but on the other hand I cannot use "Recommends hplip" here +# because the installer installs recommended packages silently +# which would bloat a minimal selection (when hplip is available to be installed) +# because the minimal selection contains hplip-hpijs which recommends hplip +# so that the installer installs hplip and all what this requires silently +# see https://bugzilla.novell.com/show_bug.cgi?id=546893 +# Require only the matching version of the hplip main-package +# (compare the "Requires: hplip-hpijs" entry above) but do not depend +# on the exact matching release because the exact matching release +# may be not available to be installed (e.g. when hplip-hpijs-1.2.3-4.5 is +# installed from the openSUSE CDs but on our official online repository +# only hplip-1.2.3-6.7 is available which should usually also work): +Group: Hardware/Printing +Requires: %{name}-udev-rules = %{version}-%{release} +Suggests: %{name} = %{version} +# Since Nov 14 2007 ghostscript-library does no longer require /usr/bin/hpijs +# but only "Suggests hplip-hpijs" (see Novell/Suse Bugzilla bnc#341564). +# Have the matching "reverse suggests" = "Enhances" here +# to document the ghostscript <-> hplip-hpijs relationship: +Enhances: ghostscript +# hpijs-standalone was a stand-alone minimalist package +# which is no longer provided since a long time. +# hplip-hpijs and hpijs-standalone both contain /usr/bin/hpijs +# so that both packages have a RPM conflict which should +# be solved by a silent replacement of the old hpijs-standalone. +# This Obsoletes is intentionally unversioned because +# hplip-hpijs should replace any version of hpijs-standalone. +Obsoletes: hpijs-standalone +# Either the hplip17 packages or the hplip packages can be installed, +# see https://bugzilla.novell.com/show_bug.cgi?id=251830#c20 +# for the full story why there is this unversioned Obsoletes: +Obsoletes: hplip17-hpijs +# Obsolete the hplip3 copy that was introduced for older SLED11-GA HP preloads: +Provides: hplip3-hpijs = 3.9.5 +Obsoletes: hplip3-hpijs < 3.9.5 +# PackMan provides HPLIP in the packages hplip and hplip-hpcups. +# HPLIP does not work if the openSUSE packages hplip and hplip-hpijs +# are installed together with a leftover PackMan package hplip-hpcups +# see https://bugzilla.novell.com/show_bug.cgi?id=515005#c17 +# This Obsoletes is intentionally unversioned because +# the openSUSE package hplip-hpijs must replace +# any version of PackMan's hplip-hpcups package. +Obsoletes: hplip-hpcups + +%description hpijs +This package contains the backend drivers and PPDs for printing +with HP printers using CUPS. + +HPCUPS is HPLIP's native CUPS printer driver for HP printers. +HPIJS (deprecated) is HPLIP's Ghostscript printer driver for +HP printers, and only used for some Fax devices nowadays. + +Install the "hplip" package if you need the proprietary HP plugin +required by some devices, or additional functionality besides plain +printing. + +%package sane +Summary: SANE backends for HP scanners and all-in-one devices +# Require the exact matching version-release of the hpijs sub-package to make sure +# to have the exact matching version of libhpip and libhpmud installed. +# A wrong library version may let libsane-hpaio crash (e.g. segfault) +# which lets the whole scanning stack frontend<->libsane-dll<->libsane-backend crash +# also for any other backend when the hpaio backend is enabled (e.g. "scanimage -L"): +Group: Hardware/Scanner +Requires: %{name}-hpijs = %{version}-%{release} +Requires: %{name}-udev-rules = %{version}-%{release} +# See comment in hpijs sub-package for same Suggests: +Suggests: %{name} = %{version} +Enhances: sane-backends +# Automatically install this package if hpijs sub-package and sane-backends are +# both installed (syntax only +%if 0%{?suse_version} >= 1500 +Supplements: (%{name}-hpijs and sane-backends) +%endif + +%description sane +This package includes the backend driver for scanning with HP scanners +and all-in-one devices using SANE tools like xsane or scanimage. + +%package scan-utils +Summary: HPLIP scanning frontends hp-scan and hp-uiscan +# SLE does not provide python-pillow (PIL) (bsc#1131613) +Group: Hardware/Scanner +Requires: %{pymod Pillow} +# hp-scan et al. import skimage from the scikit-image package. +# It is pretty heavy-weight and pulls in various other packages. +Requires: %{pymod scikit-image} +Requires: hplip +Enhances: hplip +# "hplip-scan" has been replaced by hplip-scan-utils +Provides: %{name}-scan = %{version}-%{release} +Obsoletes: %{name}-scan < %{version}-%{release} + +%description scan-utils +This package provides the "hp-scan" and "hp-uiscan" frontend utilities. These +utilities are alternatives to the SANE frontends "xsane" and "scanimage". They +expose some advanced features of certain HP scanner models. + +%package udev-rules +Summary: HPLIP udev rules +Group: Hardware/Scanner + +%description udev-rules +This package provides the udev rules required to use these devices as a normal user. + +%package devel +Summary: Development files for hplip +# Require the exact matching version-release of the hpijs sub-package to make sure +# to have the exact matching version of libhpip and libhpmud installed: +Group: Development/Languages/C and C++ +Requires: %{name}-hpijs = %{version}-%{release} +# Require the exact matching version-release of the sane sub-package to make sure +# to have the exact matching version of libsane-hpaio installed: +Requires: %{name}-sane = %{version}-%{release} +Requires: cups-devel +Requires: dbus-1-devel +Requires: libopenssl-devel +Requires: libusb-1_0-devel +Requires: net-snmp-devel + +%description devel +This sub-package is only required by developers. + +%prep +# Be quiet when unpacking: +%setup -q +# Patch101 change-udev-rules.diff changes the udev rules file 56-hpmud.rules +%patch -P 101 -p1 -b .change-udev-rules.orig +# Patch106 disable_hp-upgrade.patch disables hp-upgrade/upgrade.py for security reasons, +# see https://bugzilla.novell.com/show_bug.cgi?id=853405 +# To upgrade HPLIP an openSUSE software package manager like YaST or zypper should be used. +%patch -P 106 -p1 -b .disable_hp-upgrade.orig +%patch -P 107 -p1 -b .udev_rules_dir.orig +# Patch108 add_missing_includes_and_define_GNU_SOURCE.patch adds missing '#include <...>' +# and missing '#define _GNU_SOURCE' see https://bugs.launchpad.net/hplip/+bug/1456590 +%patch -P 108 -p1 -b .add_missing_includes_and_define_GNU_SOURCE.orig +%patch -P 110 -p1 -b .boo1094141 +%patch -P 112 -p1 +%patch -P 300 -p1 -b .pcardext-python3 +%patch -P 301 -p1 -b .misc-headers +%patch -P 302 -p1 -b .hp_ipp_missing_prototypes +%patch -P 304 -p1 +%patch -P 305 -p1 +%patch -P 306 -p1 +%patch -P 400 -p1 +%patch -P 401 -p1 +%patch -P 402 -p1 +%patch -P 403 -p1 +%if 0%{?suse_version} >= 1500 +# This patch replaces python-config by python3-config, don't apply on SLE12 +%patch -P 404 -p1 +%endif +%patch -P 500 -p1 +%patch -P 601 -p1 +%patch -P 602 -p1 +%patch -P 603 -p1 +%patch -P 604 -p1 +%patch -P 605 -p1 +# replace "env" shebang and "/usr/bin/python" with real executable +find . -name '*.py' -o -name pstotiff | \ + xargs -n 1 sed -i '1s,^#!\(%{_bindir}/env python\|%{_bindir}/python\),#!%{pyexe},' +sed -i 's,%{_bindir}/python\>,%{pyexe},' \ + data/rules/* + +# remove shebang line and replace icon not available on openSUSE +sed -i -e '/#!.*xdg-open$/d' \ + -e 's|%{_datadir}/icons/Humanity/devices/48/printer.svg|printer|' hp-uiscan.desktop.in + +cp -p %{SOURCE103} %{SOURCE104} ppd/hpcups + +%build +# If AUTOMAKE='automake --foreign' is not set, autoreconf (in fact automake) +# complains about missing files like NEWS, README, AUTHORS, ChangeLog +# in each directory where a Makefile.am exists: +AUTOMAKE='automake --foreign' autoreconf -fvi +# Fix improper method of Python.h lookup in configure, no longer working with Python 3.8 +PYTHON_INCLUDEDIR="$(%{pymod config} --includes)" +# Set our preferred architecture-specific flags for the compiler and linker: +export CFLAGS="%{optflags} ${PYTHON_INCLUDEDIR} -Wno-error=return-type" +export CXXFLAGS="%{optflags} ${PYTHON_INCLUDEDIR} -fno-strict-aliasing -Wno-error=return-type" +# --disable-pp-build disables parallel port build because parallel port support is deprecated by upstream HPLIP +# and by upstream in general cf. "Parallel port printers" at https://en.opensuse.org/SDB:Installing_a_Printer +# Since version 3.9.6 the default printer driver install changed from hpijs to hpcups. +# According to http://hplipopensource.com/hplip-web/release_notes.html +# all drv installs require CUPSDDK 1.2.3 or higher. +# Otherwise a static PPD install must be performed. +# Furthermore dynamic PPDs will be deprecated in the future in CUPS, +# see http://www.cups.org/str.php?L3772 +# For hpcups static PPD install one needs: +# --enable-hpcups-install enable hpcups install (default=yes) +# --disable-cups-drv-install enable cups dynamic ppd install (default=yes) +# --enable-cups-ppd-install enable cups static ppd install (default=no) +# For both hpcups and hpijs install with static PPDs one needs additionally: +# --enable-hpijs-install enable hpijs install (default=no) +# --disable-foomatic-drv-install enable foomatic dynamic ppd install (default=no), uses drvdir and hpppddir +# --enable-foomatic-ppd-install enable foomatic static ppd install (default=no), uses hpppddir +# Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451) plus a leftover in CVE-2004-0801 (bnc#59233) +# which are fixed up to openSUSE 11.4 with patches, after openSUSE 11.4 (i.e. since openSUSE 12.1) +# foomatic-rip-hplip is no longer installed and foomatic-rip from +# foomatic-filters or cups-filters-foomatic-rip is used instead so that +# --disable-foomatic-rip-hplip-install is explicitly set and as a consequence the "cupsFilter" entries +# in the static PPDs are changed in the install section to use foomatic-rip. +# Since HPLIP 3.13.10 --with-htmldir is new but it does not inhertit its value from --with-docdir +# so that --with-htmldir must be explicitly set. +%configure \ + --disable-qt3 \ + %{config_qt_opts} \ + --disable-policykit \ + --enable-doc-build \ + --enable-network-build \ + --disable-pp-build \ + --enable-scan-build \ + --enable-gui-build \ + --enable-fax-build \ + --enable-dbus-build \ + --enable-hpcups-install \ + --disable-cups-drv-install \ + --enable-cups-ppd-install \ + --enable-hpijs-install \ + --disable-foomatic-drv-install \ + --disable-imageProcessor-build \ + --enable-foomatic-ppd-install \ + --disable-foomatic-rip-hplip-install \ + --with-hpppddir=%{_datadir}/cups/model/manufacturer-PPDs/%{name} \ + --with-cupsbackenddir=%{_prefix}/lib/cups/backend \ + --with-cupsfilterdir=%{_prefix}/lib/cups/filter \ + --with-drvdir=%{_prefix}/lib/cups/driver \ + --with-mimedir=%{_sysconfdir}/cups \ + --with-docdir=%{_defaultdocdir}/%{name} \ + --with-htmldir=%{_defaultdocdir}/%{name} \ + PYTHON=%{pyexe} +%make_build +sed -i 's|ppd/hpcups/\*.ppd.gz ||g' Makefile + +%install +%make_install + +# Make and install Python compiled bytecode files +%py_compile -O %{buildroot}%{_datadir}/hplip + +# Hardlink .pyc and .pyo when they have same content. +# Do not run "fdupes buildroot/_datadir/hplip" because +# fdupes will link any files with same content there +# which can have unexpected side-effects, compare +# https://bugzilla.opensuse.org/show_bug.cgi?id=784670 +for pyc in $( find %{buildroot}%{_datadir}/hplip -name '*.pyc' ) +do + pyo="${pyc%.pyc}.opt-1.pyc" + if test -f $pyo && cmp -s $pyc $pyo + then echo hardlinking $pyc and $pyo because both have same content + ln -f $pyc $pyo + fi +done +# HPLIP's "make install" installs -rw-r--r-- usr/share/hplip/fax/pstotiff +# and usr/lib/cups/filter/pstotiff -> usr/share/hplip/fax/pstotiff +# so that when the CUPS filter usr/lib/cups/filter/pstotiff is called, +# it cannot execute usr/share/hplip/fax/pstotiff which is fixed hereby +# (see https://bugs.launchpad.net/hplip/+bug/1064247 and bnc#783810): +chmod a+x %{buildroot}%{_datadir}/hplip/fax/pstotiff +# The /var/lib/hp directory is created everywhere except on openSUSE 12.2 and later versions +# (perhaps an autoconf issue) so that it is created here as simple and fail-safe workaround +# see https://bugs.launchpad.net/bugs/1018303 and bnc#780413 +# using fixed "/var/log/hp" because this is hardcoded in the HPLIP sources +# regarding owner and permissions see the "files hpijs" section below +# and Patch102 no-chgrp_lp_hplip_Logdir.diff: +test -d %{buildroot}%{_localstatedir}/lib/hp || install -d %{buildroot}%{_localstatedir}/lib/hp +# Create a /var/log/hp/tmp/ directory that is needed by hp-sendfax +# as a workaround until HPLIP upstream implemented it correctly +# see https://bugzilla.novell.com/show_bug.cgi?id=800312 +# and https://bugs.launchpad.net/bugs/1016507 +install -d %{buildroot}%{_localstatedir}/log/hp/tmp +# Remove the installed /etc/sane.d/dll.conf +# because this is provided by the sane-backends package: +rm %{buildroot}%{_sysconfdir}/sane.d/dll.conf +mkdir %{buildroot}%{_sysconfdir}/sane.d/dll.d +echo hpaio >%{buildroot}%{_sysconfdir}/sane.d/dll.d/hpaio +# Remove the installed HAL fdi file because HAL is no longer used (HAL is deprecated): +rm %{buildroot}%{_datadir}/hal/fdi/preprobe/10osvendor/20-hplip-devices.fdi +# Remove the installed hplip-printer@.service file for systemd +# because it would run hp-config_usb_printer - a tool to automatically +# set up HP USB printers and if needed automatically download and install +# non-free proprietary plugin software from HP which should not happen +# and it can cause whatever kind of strange behaviour +# see for example https://bugs.launchpad.net/bugs/1197416 +# while in contrast manual printer setup via hp-setup usually "just works" +# and it is clear for the user what goes on and in case of failure what went wrong. +rm %{buildroot}%{_unitdir}/hplip-printer@.service +# Remove selinux configurations we are not supporting on SUSE +# force for not on all distributions the files were installed +# Can't be disabled during configure +rm -f %{buildroot}/%{name}.{fc,if,pp,te} +# Begin "General tests and adjustments for all PPDs" (see manufacturer-PPDs.spec): +pushd %{buildroot}%{_datadir}/cups/model/manufacturer-PPDs/%{name} +# Do not pollute the build log file with zillions of meaningless messages: +set +x +gunzip *.ppd.gz +# Make some general tests and adjustments for all PPDs: +echo "Making some general tests and adjustments for all PPDs:" +# Add a line-feed to the end of all PPDs to fix those PPDs where it is missing. +# See Novell/Suse Bugzilla bug #309832: Unix/Linux text files must end with a line-feed. +# Otherwise reading the last line results EOF and then some programs may ignore the last line. +echo "Adding a line-feed to the end of all PPDs to fix those PPDs where it is missing..." +for p in *.ppd +do echo -en '\n' >>$p +done +# Because foomatic-rip-hplip has CVE-2011-2697 (bnc#698451) plus a leftover in CVE-2004-0801 (bnc#59233) +# foomatic-rip-hplip is no longer installed and foomatic-rip from foomatic-filters or cups-filters-foomatic-rip +# is used instead so that the "cupsFilter" entries in the static PPDs must be changed accordingly: +echo "Replacing insecure foomatic-rip-hplip with foomatic-rip everywhere in in the PPDs..." +for p in *.ppd +do sed -i -e 's/foomatic-rip-hplip/foomatic-rip/' $p +done +# Final test by cupstestppd: +# To save disk space gzip the files (gzipped PPDs can also be used by CUPS). +# Future goal: Only have files which don't FAIL for cupstestppd. +# Ignore FAILs because of errors in UIConstraints and/or NonUIConstraints +# which are detected since cupstestppd in CUPS > 1.2.7 (i.e. in openSUSE 10.3). +# See Novell/Suse Bugzilla bug #309822: When this bug is fixed, cupstestppd would +# no longer result zero exit code. +# In the long run the PPDs should be fixed but as far as we know there have been +# no problems because of such UIConstraints errors so that it should be o.k. +# let those PPDs pass even if they are not strictly compliant. +# Ignore FAILs because of missing cupsFilter programs because +# in the package build environment the usual HPLIP filters +# like "hpcups" and "hpcupsfax" are +# installed at an unusual place (in the BuildRoot directory). +# For now keep all PPDs even if cupstestppd FAILs. +# Reason: +# With each CUPS version upgrade cupstestppd finds more and more errors +# so that more and more PPDs would be no longer included in the RPM +# which have been included before which results a regression. +# As far as we know there have been no problems at all because of +# not strictly compliant PPDs in HPLIP so that it is much better +# to provide all HPLIP PPDs so that the matching printers can be used +# than to be rigorous regarding enforcing compliance to the PPD specification: +echo "Final testing by cupstestppd..." +for p in *.ppd +do grep -E -v '^\*UIConstraints:|^\*NonUIConstraints:|^\*cupsFilter:' $p | cupstestppd - || true + gzip -n -9 $p +done +echo "Moving PPDs that use the hpps filter to %{_datadir}/cups/model/manufacturer-PPDs/hplip-hpps..." +# PPDs for various printers that use the hpps filter +# must be moved to the hplip main-package because +# the /usr/lib/cups/filter/hpps Python script imports +# various HPLIP modules from the hplip main-package +# so that the hpps filter belongs to the hplip main-package +# (see https://bugzilla.novell.com/show_bug.cgi?id=876690). +# Accordingly the PPDs that use the hpps filter must be moved +# to the hplip main-package which is implemented by moving them +# to a new directory /usr/share/cups/model/manufacturer-PPDs/hplip-hpps +# that is listed in the files list of the hplip main-package: +install -d %{buildroot}%{_datadir}/cups/model/manufacturer-PPDs/%{name}-hpps +for p in *.ppd.gz +do zgrep -q '^\*cupsFilter:.*hpps' $p && mv $p ../%{name}-hpps +done +echo "Moving PPDs that require a proprietary plugin from HP to %{_datadir}/cups/model/manufacturer-PPDs/hplip-plugin..." +# PPDs for various printers that require a proprietary plugin from HP +# must be moved to the hplip main-package because +# the proprietary plugin from HP must be downloaded and installed +# by using HP's "hp-plugin" tool from the hplip main-package +# (HP's "hp-setup" tool calls "hp-plugin" when needed). +# Accordingly PPDs that require a proprietary plugin from HP must be moved +# to the hplip main-package which is implemented by moving them +# to a new directory /usr/share/cups/model/manufacturer-PPDs/hplip-plugin +# that is listed in the files list of the hplip main-package +# (see https://bugzilla.novell.com/show_bug.cgi?id=876690): +install -d %{buildroot}%{_datadir}/cups/model/manufacturer-PPDs/%{name}-plugin +for p in *.ppd.gz +do zgrep -q '^\*NickName:.*requires proprietary plugin' $p && mv $p ../%{name}-plugin +done +echo "End of general tests and adjustments for all PPDs." +# Switch back to the usual build log messages: +set -x +# End of "General tests and adjustments for all PPDs": +popd +# Replace the invalid Desktop categories +%suse_update_desktop_file -r %{buildroot}%{_datadir}/applications/hplip.desktop System HardwareSettings +%suse_update_desktop_file -r %{buildroot}%{_datadir}/applications/hp-uiscan.desktop System HardwareSettings + +# Let suse_update_desktop_file add X-SuSE-translate key to /etc/xdg/autostart/hplip-systray.desktop +# so that we can update its translations with translation-only packages. +%suse_update_desktop_file -i %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop +# End of "Desktop menue entry stuff". +# Install the man page for /usr/bin/hpijs: +install -d %{buildroot}%{_mandir}/man1 +install -m 644 %{SOURCE102} %{buildroot}%{_mandir}/man1/ + +# remove libtool archives +find "%{buildroot}" -type f -name "*.la" -delete -print + +# Run fdupes: +# The RPM macro fdupes runs /usr/bin/fdupes that links files with identical content. +# Never run fdupes carelessly over the whole buildroot directory +# because in older openSUSE and SLE11 versions fdupes +# links files with different owner, group, or permissions +# see https://bugzilla.novell.com/show_bug.cgi?id=784670 +# and even in current openSUSE versions fdupes links across sub-package boundaries, +# compare https://bugzilla.novell.com/show_bug.cgi?id=784869 +# so that fdupes can only run for specific directories where linking files is safe: +%fdupes -s %{buildroot}%{_datadir}/hplip/data/images + +%post -p /bin/bash +%udev_rules_update +%desktop_database_post +%icon_theme_cache_post +/sbin/ldconfig +exit 0 + +%postun -p /bin/bash +%desktop_database_postun +%icon_theme_cache_postun +/sbin/ldconfig + +%postun sane +# Earlier versions of hplip modified /etc/sane.d/dll.conf +# Now we use /etc/sane.d/dll.d (multiple hpaio entries don't hurt). +# If the package was removed (but not if it was updated) +# then remove the hpaio lines in /etc/sane.d/dll.conf. +if [ "$1" = "0" ] && [ -w %{_sysconfdir}/sane.d/dll.conf ]; then + sed -i -e '/hpaio/d' %{_sysconfdir}/sane.d/dll.conf +fi +exit 0 + +%post hpijs -p /bin/bash +/sbin/ldconfig +exit 0 + +%postun hpijs -p /bin/bash +/sbin/ldconfig +exit 0 + +%files +%config %{_sysconfdir}/xdg/autostart/hplip-systray.desktop +%{_bindir}/hp-align +%{_bindir}/hp-check +%{_bindir}/hp-clean +%{_bindir}/hp-colorcal +%{_bindir}/hp-config_usb_printer +%{_bindir}/hp-devicesettings +%{_bindir}/hp-diagnose_plugin +%{_bindir}/hp-diagnose_queues +%{_bindir}/hp-doctor +%{_bindir}/hp-fab +%{_bindir}/hp-faxsetup +%{_bindir}/hp-firmware +%{_bindir}/hp-info +%{_bindir}/hp-levels +%{_bindir}/hp-linefeedcal +%{_bindir}/hp-logcapture +%{_bindir}/hp-makecopies +%{_bindir}/hp-makeuri +%{_bindir}/hp-pkservice +%{_bindir}/hp-plugin +%{_bindir}/hp-pqdiag +%{_bindir}/hp-print +%{_bindir}/hp-printsettings +%{_bindir}/hp-probe +%{_bindir}/hp-query +%{_bindir}/hp-sendfax +%{_bindir}/hp-setup +%{_bindir}/hp-systray +%{_bindir}/hp-testpage +%{_bindir}/hp-timedate +%{_bindir}/hp-toolbox +%{_bindir}/hp-uninstall +%{_bindir}/hp-unload +%{_bindir}/hp-upgrade +%{_bindir}/hp-wificonfig +%{_libdir}/python%{pyver}/site-packages/cupsext.* +%{_libdir}/python%{pyver}/site-packages/hpmudext.* +%{_libdir}/python%{pyver}/site-packages/pcardext.* +%dir %{_prefix}/lib/cups +%dir %{_prefix}/lib/cups/backend +%{_prefix}/lib/cups/backend/hpfax +%dir %{_prefix}/lib/cups/filter +%{_prefix}/lib/cups/filter/hpps +%dir %{_datadir}/cups +%dir %{_datadir}/cups/model +%dir %{_datadir}/cups/model/manufacturer-PPDs +%{_datadir}/cups/model/manufacturer-PPDs/%{name}-hpps/ +%{_datadir}/cups/model/manufacturer-PPDs/%{name}-plugin/ +%doc %{_defaultdocdir}/%{name}/ +%{_datadir}/applications/%{name}.desktop +%{_datadir}/hplip/ +%exclude %{_datadir}/hplip/data/models/models.dat +%exclude %{_datadir}/hplip/base/imageprocessing.py* +%exclude %{_datadir}/hplip/%{ui_dir}/scandialog.py* +%exclude %{_datadir}/hplip/scan +%exclude %{_datadir}/hplip/scan.py* +%exclude %{_datadir}/hplip/uiscan.py* +%exclude %{_datadir}/hplip/__pycache__/uiscan.* +%exclude %{_datadir}/hplip/__pycache__/scan.* +%exclude %{_datadir}/hplip/base/__pycache__/imageprocessing.* +%exclude %{_datadir}/hplip/%{ui_dir}/__pycache__/scandialog.* + +# The scanning utils depend on PIL and python3-scikit-image, +# which are not available in SLE +%files scan-utils +%{_datadir}/applications/hp-uiscan.desktop +%{_libdir}/python%{pyver}/site-packages/scanext.* +%{_bindir}/hp-scan +%{_bindir}/hp-uiscan +%{_datadir}/hplip/scan +%{_datadir}/hplip/scan.py* +%{_datadir}/hplip/uiscan.py* +%{_datadir}/hplip/base/imageprocessing.py* +%if %{pyversion} != 2 +%{_datadir}/hplip/%{ui_dir}/scandialog.py* +%{_datadir}/hplip/__pycache__/uiscan.* +%{_datadir}/hplip/__pycache__/scan.* +%{_datadir}/hplip/base/__pycache__/imageprocessing.* +%{_datadir}/hplip/%{ui_dir}/__pycache__/scandialog.* +%endif + +%files hpijs +%config %{_sysconfdir}/hp/ +%config %{_sysconfdir}/cups/pstotiff.convs +%config %{_sysconfdir}/cups/pstotiff.types +%{_bindir}/hpijs +%{_mandir}/man1/hpijs.1%{?ext_man} +%{_libdir}/libhpip.so.* +%{_libdir}/libhpipp.so.* +%{_libdir}/libhpmud.so.* +%{_libdir}/libhpdiscovery.so.* +%dir %{_prefix}/lib/cups +%dir %{_prefix}/lib/cups/backend +%{_prefix}/lib/cups/backend/hp +%dir %{_prefix}/lib/cups/filter +%{_prefix}/lib/cups/filter/hpcups +%{_prefix}/lib/cups/filter/hpcupsfax +%{_prefix}/lib/cups/filter/hpcdmfax +%{_prefix}/lib/cups/filter/pstotiff +%dir %{_datadir}/cups +%dir %{_datadir}/cups/model +%dir %{_datadir}/cups/model/manufacturer-PPDs +%{_datadir}/cups/model/manufacturer-PPDs/%{name}/ +%{_datadir}/%{name}/data/models/models.dat +# Use fixed "/var/log/hp" because this is hardcoded in the HPLIP sources. +# Regarding attr(0775,root,lp) see the comment for /var/log/hp/tmp below: +%dir %attr(0775,root,lp) %{_localstatedir}/log/hp +# Regarding attr(0775,root,lp) for /var/log/hp/tmp +# see https://bugzilla.novell.com/show_bug.cgi?id=800312#c0 +# i.e. it is reasonable secure and hp-sendfax works with it: +%dir %attr(0775,root,lp) %{_localstatedir}/log/hp/tmp +# Use fixed "/var/lib/hp" because this is hardcoded in the HPLIP sources: +%dir %{_localstatedir}/lib/hp + +%files sane +%dir %{_libdir}/sane +%{_libdir}/sane/libsane-hpaio.so.* +%dir %{_sysconfdir}/sane.d +%dir %{_sysconfdir}/sane.d/dll.d +%{_sysconfdir}/sane.d/dll.d/hpaio + +%files udev-rules +%{_udevrulesdir}/56-hpmud.rules + +%files devel +%{_libdir}/libhpip.so +%{_libdir}/libhpipp.so +%{_libdir}/libhpmud.so +%{_libdir}/libhpdiscovery.so +%{_libdir}/sane/libsane-hpaio.so + +%changelog diff --git a/pcardext-python3-fixes.patch b/pcardext-python3-fixes.patch new file mode 100644 index 0000000..89ee62f --- /dev/null +++ b/pcardext-python3-fixes.patch @@ -0,0 +1,81 @@ +From 74ed15a16e7564d0665afc68defbd6d03bdff21d Mon Sep 17 00:00:00 2001 +From: Martin Wilck +Date: Wed, 21 Mar 2018 23:55:12 +0100 +Subject: [PATCH] pcardext: python3 fixes + +--- + pcard/pcardext/pcardext.c | 36 ++++++++++++++++++++++++++++++++++-- + 1 file changed, 34 insertions(+), 2 deletions(-) + +diff --git a/pcard/pcardext/pcardext.c b/pcard/pcardext/pcardext.c +index c1a8273e4359..cdf260d62223 100644 +--- a/pcard/pcardext/pcardext.c ++++ b/pcard/pcardext/pcardext.c +@@ -36,6 +36,12 @@ typedef int Py_ssize_t; + #define PY_SSIZE_T_MIN INT_MIN + #endif + ++#if PY_MAJOR_VERSION >= 3 ++#define PyString_AsStringAndSize PyBytes_AsStringAndSize ++#define PyString_FromStringAndSize PyBytes_FromStringAndSize ++#define PyInt_AS_LONG PyLong_AS_LONG ++#endif ++ + int verbose=0; + + PyObject * readsectorFunc = NULL; +@@ -78,8 +84,11 @@ int WriteSector(int sector, int nsector, void *buf, int size ) + + if( writesectorFunc ) + { ++#if PY_MAJOR_VERSION >= 3 + result = PyObject_CallFunction( writesectorFunc, "iis#", sector, nsector, buf, size ); +- ++#else ++ result = PyObject_CallFunction( writesectorFunc, "iiy#", sector, nsector, buf, size ); ++#endif + return PyInt_AS_LONG( result ); + } + +@@ -230,9 +239,31 @@ static PyMethodDef pcardext_methods[] = + { NULL, NULL } + }; + +- + static char pcardext_documentation[] = "Python extension for HP photocard services"; + ++#if PY_MAJOR_VERSION >= 3 ++static struct PyModuleDef moduledef = { ++ .m_base = PyModuleDef_HEAD_INIT, ++ .m_name = "pcardext", ++ .m_doc = pcardext_documentation, ++ .m_size = -1, ++ .m_methods = pcardext_methods, ++ .m_slots = NULL, ++ .m_traverse = NULL, ++ .m_clear = NULL, ++ .m_free = NULL, ++}; ++ ++PyMODINIT_FUNC ++PyInit_pcardext( void ) ++{ ++ PyObject *module = PyModule_Create2(&moduledef, PYTHON_API_VERSION); ++ ++ return module; ++} ++ ++#else ++ + void initpcardext( void ) + { + PyObject * mod = Py_InitModule4( "pcardext", pcardext_methods, +@@ -243,4 +274,5 @@ void initpcardext( void ) + return; + } + ++#endif + +-- +2.16.1 + diff --git a/ui5-systemtray-wait-only-10s-for-system-tray.patch b/ui5-systemtray-wait-only-10s-for-system-tray.patch new file mode 100644 index 0000000..8107080 --- /dev/null +++ b/ui5-systemtray-wait-only-10s-for-system-tray.patch @@ -0,0 +1,27 @@ +From 92ddbb36e2a589fe4d1cf27c30b67a1bb12bf9dc Mon Sep 17 00:00:00 2001 +From: Martin Wilck +Date: Fri, 16 Nov 2018 11:00:44 +0100 +Subject: [PATCH] ui5/systemtray: wait only 10s for system tray + +On GNOME >= 3.26, it will never show up. This may cause hangs on +logout if users log in and log out quickly again. +--- + ui5/systemtray.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ui5/systemtray.py b/ui5/systemtray.py +index a0cdaf1..101807a 100644 +--- a/ui5/systemtray.py ++++ b/ui5/systemtray.py +@@ -841,7 +841,7 @@ def run(read_pipe): + app.setQuitOnLastWindowClosed(False) # If not set, settings dlg closes app + + i = 0 +- while i < 60: ++ while i < 10: + if QSystemTrayIcon.isSystemTrayAvailable(): + break + time.sleep(1.0) +-- +2.21.0 + From fb006c9b16f16c73bf96f9519e1169b4db6afb2e9ecc6ceed6572c27d7a318d2 Mon Sep 17 00:00:00 2001 From: Martin Wilck Date: Wed, 15 Jan 2025 09:35:23 +0000 Subject: [PATCH 2/2] we can backport security fixes to older releases (bsc#1234745, CVE-2020-6923) OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=257 --- hplip.changes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hplip.changes b/hplip.changes index b305c45..533695a 100644 --- a/hplip.changes +++ b/hplip.changes @@ -2,7 +2,8 @@ Tue Jan 14 11:34:35 UTC 2025 - Martin Wilck - hplip.spec: re-introduce macros for SLE12 compatibility, so that - we can backport security fixes to older releases (bsc#1234745) + we can backport security fixes to older releases + (bsc#1234745, CVE-2020-6923) ------------------------------------------------------------------- Mon Jul 15 15:19:58 UTC 2024 - Martin Jambor