SHA256
1
0
forked from printing/hplip
Files
hplip/hplip-remove-imageprocessor.patch
Martin Wilck 9fe62f807f Update to HPLIP 3.25.8
Added support for the following new Printers
  * HP LaserJet Enterprise Flow MFP 8601z
  * HP LaserJet Enterprise 5501
  * HP LaserJet Enterprise MFP 5601dn
  * HP LaserJet Enterprise 6500dn
  * HP LaserJet Enterprise 5501n
  * HP LaserJet Enterprise MFP 5601
  * HP LaserJet Enterprise 6500
  * HP LaserJet Enterprise 5502dn
  * HP LaserJet Enterprise MFP 5602dn
  * HP LaserJet Enterprise 6500n
  * HP LaserJet Enterprise 5502
  * HP LaserJet Enterprise MFP 5602f
  * HP LaserJet Enterprise 6501dn
  * HP LaserJet Enterprise X50452dn
  * HP LaserJet Enterprise Flow MFP 5602zfw
  * HP LaserJet Enterprise 6501
  * HP LaserJet Enterprise X50452
  * HP LaserJet Enterprise MFP 5602
  * HP LaserJet Enterprise X60257dn
  * HP LaserJet Enterprise MFP X53052dn
  * HP LaserJet Enterprise Flow MFP X530
  * HP LaserJet Enterprise X60257
  * HP LaserJet Enterprise MFP X53052
  * HP LaserJet Enterprise X60357dn
  * HP LaserJet Enterprise X60357
  * HP LaserJet Enterprise MFP 6600dn
  * HP LaserJet Enterprise Flow MFP 6600zfw
  * HP LaserJet Enterprise MFP 6600
  * HP LaserJet Enterprise Flow MFP 6600zfsw
  * HP LaserJet Enterprise MFP X62757dn
  * HP LaserJet Enterprise Flow MFP X62757zs
  * HP LaserJet Enterprise MFP X62757
  * DEX D50452dn
  * DEX MFP D53052dn

Drop patches that have been merged upstream
  * Drop hplip-change-pgp-server.patch
  * Drop hp-setup-fix-python-crash-when-manually-importing-gz.patch

Fix handling of readfp() and read_filke() for ConfigParser objects,
  avoiding confusing error messages (lp#2139771)
  * Add hplip-fix-handling-of-ConfigParser-.readfp-vs.-read_.patch
  * Drop hplip-base-replace-f-string-with-string.format-for-p.patch
Fix compiler warnings on SLE15
  * Add Fix-two-compiler-warnings-that-cause-build-failure-o.patch

Renamed patch files to achieve a consistent patch naming according
  to the rules of git-format-patch
  * Rename change-udev-rules.diff -> hplip-change-udev-rules.patch
  * Rename disable_hp-upgrade.patch -> disable-hp-upgrade.patch
  * Rename add_missing_includes_and_define_GNU_SOURCE.patch
        -> add-missing-includes-and-define-GNU_SOURCE.patch
  * Rename hplip-remove-imageprocessor.diff
        -> hplip-remove-imageprocessor.patch
  * Rename hplip-orblite-return-null.diff -> hplip-orblite-return-null.patch
  * Rename hplip-hpaio-gcc14.patch -> hplip-hpaio-avoid-C99-violations.patch
  * Rename hplip-no-urlopener.patch
        -> URLopener-was-removed-in-Python-3.14-and-hplip-trace.patch
  * Rename hplip-3.24.4-gcc15.patch -> hplip-sane-fix-compilation-with-gcc-15.patch
  Patches are now managed under https://github.com/mwilck/hplip
2026-02-03 20:51:32 +01:00

52 lines
2.2 KiB
Diff

From 4ce96ef1d4ec67f6032b4e8e31839456b71b0a7e Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Tue, 3 Feb 2026 17:57:27 +0100
Subject: [PATCH 13/33] hplip: remove imageprocessor
---
Makefile.am | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 5381a24..a03b2bf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -167,7 +167,7 @@ if !HPLIP_CLASS_DRIVER
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
@@ -598,7 +598,7 @@ hpcups_SOURCES = prnt/hpcups/HPCupsFilter.cpp prnt/hpcups/HPCupsFilter.h prnt/hp
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
@@ -696,16 +696,6 @@ endif #HPLIP_CLASS_DRIVER
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/ ; \
--
2.52.0