summaryrefslogtreecommitdiffstats
path: root/source/ap/hplip/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-02-23 20:37:29 +0000
committer Eric Hameleers <alien@slackware.com>2024-02-23 22:33:35 +0100
commit590c390ae31c02c2ccff1570f61cd838a999481f (patch)
tree0bad4e535f21236351626f60f5f10993999b440e /source/ap/hplip/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch
parent6a204802594690b5fe703e8dff65ad5123b0b11f (diff)
downloadcurrent-590c390ae31c02c2ccff1570f61cd838a999481f.tar.gz
current-590c390ae31c02c2ccff1570f61cd838a999481f.tar.xz
Fri Feb 23 20:37:29 UTC 202420240223203729
a/dcron-4.5-x86_64-17.txz: Rebuilt. run-parts.8: document skiping *.orig files. Thanks to metaed. a/etc-15.1-x86_64-6.txz: Rebuilt. Add support for nss-mdns to /etc/nsswitch.conf. a/kernel-firmware-20240220_97b693d-noarch-1.txz: Upgraded. a/kernel-generic-6.6.18-x86_64-1.txz: Upgraded. a/kernel-huge-6.6.18-x86_64-1.txz: Upgraded. a/kernel-modules-6.6.18-x86_64-1.txz: Upgraded. ap/cups-filters-1.28.17-x86_64-5.txz: Rebuilt. Don't specify --with-browseremoteprotocols=cups in order to get the default values of cups and dnssd, which should enable discovering shared printers on the network. We'll refrain from sharing your printer -- you'll need to change that setting yourself. ;-) Thanks to TurboBlaze. ap/hplip-3.23.12-x86_64-2.txz: Rebuilt. The new --disable-imageProcessor-build option doesn't do squat, so we'll hit it with the good old patch again. Thanks to Petri Kaukasoina and Stuart Winter. d/kernel-headers-6.6.18-x86-1.txz: Upgraded. k/kernel-source-6.6.18-noarch-1.txz: Upgraded. l/gvfs-1.52.2-x86_64-2.txz: Rebuilt. Added -Ddnssd=true option and recompiled against avahi. l/libsecret-0.21.4-x86_64-1.txz: Upgraded. n/c-ares-1.27.0-x86_64-1.txz: Upgraded. n/libgpg-error-1.48-x86_64-1.txz: Upgraded. n/nss-mdns-0.15.1-x86_64-1.txz: Added. Needed for .local lookups. Thanks to Lockywolf. xap/pidgin-2.14.13-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/ap/hplip/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch')
-rw-r--r--source/ap/hplip/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/source/ap/hplip/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch b/source/ap/hplip/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch
new file mode 100644
index 000000000..7c61d77be
--- /dev/null
+++ b/source/ap/hplip/0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch
@@ -0,0 +1,39 @@
+diff --git a/Makefile.am b/Makefile.am
+index f65afea..12317dc 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
+@@ -597,7 +597,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
+@@ -687,16 +687,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/ ; \