0001-Remove-ImageProcessor.patch 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. From 75e7e2199370a982e4302d36677c006eb90a3b4e Mon Sep 17 00:00:00 2001
  2. From: David Beauchamp <david@archlinuxarm.org>
  3. Date: Fri, 5 Nov 2021 03:24:10 +0000
  4. Subject: [PATCH] Remove ImageProcessor
  5. ---
  6. Makefile.am | 14 ++------------
  7. 1 file changed, 2 insertions(+), 12 deletions(-)
  8. diff --git a/Makefile.am b/Makefile.am
  9. index b94ad67..d1d388b 100644
  10. --- a/Makefile.am
  11. +++ b/Makefile.am
  12. @@ -167,7 +167,7 @@ if !HPLIP_CLASS_DRIVER
  13. dist_hplip_SCRIPTS = hpssd.py __init__.py hpdio.py
  14. endif #HPLIP_CLASS_DRIVER
  15. -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
  16. +dist_noinst_DATA += prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template
  17. dist_noinst_DATA += prnt/ipp-usb/HPLIP.conf
  18. 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
  19. @@ -597,7 +597,7 @@ hpcups_SOURCES = prnt/hpcups/HPCupsFilter.cpp prnt/hpcups/HPCupsFilter.h prnt/hp
  20. prnt/hpcups/ImageProcessor.h
  21. hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS)
  22. -hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lImageProcessor -lcups -lcupsimage -lz $(DBUS_LIBS)
  23. +hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lcups -lcupsimage -lz $(DBUS_LIBS)
  24. #else
  25. #hpcupsdir = $(cupsfilterdir)
  26. #hpcups_PROGRAMS = hpcups
  27. @@ -687,16 +687,6 @@ endif #HPLIP_CLASS_DRIVER
  28. install-data-hook:
  29. if HPLIP_BUILD
  30. - if [ \( "$(UNAME)" = "x86_64" -a -d "$(libdir)/" \) ]; then \
  31. - cp prnt/hpcups/libImageProcessor-x86_64.so $(libdir)/ ; \
  32. - chmod 775 $(libdir)/libImageProcessor-x86_64.so ; \
  33. - ln -sf $(libdir)/libImageProcessor-x86_64.so $(libdir)/libImageProcessor.so ; \
  34. - fi; \
  35. - if [ \( \( "$(UNAME)" = "i686" -o "$(UNAME)" = "i386" \) -a -d "$(libdir)/" \) ]; then \
  36. - cp prnt/hpcups/libImageProcessor-x86_32.so $(libdir)/ ; \
  37. - chmod 775 $(libdir)/libImageProcessor-x86_32.so ; \
  38. - ln -sf $(libdir)/libImageProcessor-x86_32.so $(libdir)/libImageProcessor.so ; \
  39. - fi
  40. if [ -d "/usr/share/ipp-usb/quirks/" ]; then \
  41. echo "ipp-usb directory exists"; \
  42. cp prnt/ipp-usb/HPLIP.conf /usr/share/ipp-usb/quirks/ ; \
  43. --
  44. 2.33.1