PKGBUILDs/extra/hplip/0001-Remove-ImageProcessor.patch

52 lines
2.2 KiB
Diff
Raw Permalink Normal View History

2021-11-05 03:36:29 +00:00
From 75e7e2199370a982e4302d36677c006eb90a3b4e Mon Sep 17 00:00:00 2001
2021-11-05 01:03:38 +00:00
From: David Beauchamp <david@archlinuxarm.org>
2021-11-05 03:36:29 +00:00
Date: Fri, 5 Nov 2021 03:24:10 +0000
2021-11-05 01:03:38 +00:00
Subject: [PATCH] Remove ImageProcessor
---
Makefile.am | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index b94ad67..d1d388b 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
2021-11-05 03:36:29 +00:00
-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
2021-11-05 01:03:38 +00:00
+dist_noinst_DATA += prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template
2021-11-05 03:36:29 +00:00
2021-11-05 01:03:38 +00:00
dist_noinst_DATA += prnt/ipp-usb/HPLIP.conf
2021-11-05 03:36:29 +00:00
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
2021-11-05 01:03:38 +00:00
@@ -597,7 +597,7 @@ hpcups_SOURCES = prnt/hpcups/HPCupsFilter.cpp prnt/hpcups/HPCupsFilter.h prnt/hp
2021-11-05 03:36:29 +00:00
prnt/hpcups/ImageProcessor.h
2021-11-05 01:03:38 +00:00
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
2021-11-05 03:36:29 +00:00
2021-11-05 01:03:38 +00:00
install-data-hook:
if HPLIP_BUILD
2021-11-05 03:36:29 +00:00
- 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/ ; \
--
2021-11-05 01:03:38 +00:00
2.33.1
2021-11-05 03:36:29 +00:00