[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:33905] Re: hplip-3.22.2



阿部です

> パッチも含めて、ありがとうございます。
> closed-blob有り版も作って比較してみるかな。
> 
hplip-3.22.2用にパッチを少し手直しして libImageProcessor有り版を作りました。
libImageProcessorライブラリを含むパッケージが作成され、印刷確認もOKです。

せっかく作ったパッケージなので Plamo-test/for-7.x/ にあげておきます。
Plamo-test/for-7.x/hplip-3.22.2-x86_64-B2.tzst

0030-hplip-install-libImageProcessor.patch
====================================================================
diff -Nru a/Makefile.am b/Makefile.am
--- a/Makefile.am	2022-03-09 21:00:40.631557427 +0900
+++ b/Makefile.am	2022-03-09 21:18:29.442542175 +0900
@@ -688,14 +688,14 @@
 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 ; \
+		cp prnt/hpcups/libImageProcessor-x86_64.so $(DESTDIR)/$(libdir)/ ; \
+		chmod 775 $(DESTDIR)/$(libdir)/libImageProcessor-x86_64.so ; \
+		ln -sf libImageProcessor-x86_64.so $(DESTDIR)/$(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 ; \
+		cp prnt/hpcups/libImageProcessor-x86_32.so $(DESTDIR)/$(libdir)/ ; \
+		chmod 775 $(DESTDIR)/$(libdir)/libImageProcessor-x86_32.so ; \
+		ln -sf libImageProcessor-x86_32.so $(DESTDIR)/$(libdir)/libImageProcessor.so ; \
 	fi
 	if [ -d "/usr/share/ipp-usb/quirks/" ]; then \
 		echo "ipp-usb directory exists"; \
diff -Nru a/Makefile.in b/Makefile.in
--- a/Makefile.in	2022-03-09 21:00:27.743557610 +0900
+++ b/Makefile.in	2022-03-09 21:14:21.126545719 +0900
@@ -9799,14 +9799,14 @@
 
 install-data-hook:
 @HPLIP_BUILD_TRUE@	if [ \( "$(UNAME)" = "x86_64" -a  -d "$(libdir)/" \) ]; then \
-@HPLIP_BUILD_TRUE@		cp prnt/hpcups/libImageProcessor-x86_64.so $(libdir)/ ; \
-@HPLIP_BUILD_TRUE@		chmod 775 $(libdir)/libImageProcessor-x86_64.so ; \
-@HPLIP_BUILD_TRUE@		ln -sf $(libdir)/libImageProcessor-x86_64.so $(libdir)/libImageProcessor.so ; \
+@HPLIP_BUILD_TRUE@		cp prnt/hpcups/libImageProcessor-x86_64.so $(DESTDIR)/$(libdir)/ ; \
+@HPLIP_BUILD_TRUE@		chmod 775 $(DESTDIR)/$(libdir)/libImageProcessor-x86_64.so ; \
+@HPLIP_BUILD_TRUE@		ln -sf libImageProcessor-x86_64.so $(DESTDIR)/$(libdir)/libImageProcessor.so ; \
 @HPLIP_BUILD_TRUE@	fi; \
 @HPLIP_BUILD_TRUE@	if [ \( \( "$(UNAME)" = "i686" -o "$(UNAME)" = "i386" \) -a -d "$(libdir)/" \) ]; then \
-@HPLIP_BUILD_TRUE@		cp prnt/hpcups/libImageProcessor-x86_32.so $(libdir)/ ; \
-@HPLIP_BUILD_TRUE@		chmod 775 $(libdir)/libImageProcessor-x86_32.so ; \
-@HPLIP_BUILD_TRUE@		ln -sf $(libdir)/libImageProcessor-x86_32.so $(libdir)/libImageProcessor.so ; \
+@HPLIP_BUILD_TRUE@		cp prnt/hpcups/libImageProcessor-x86_32.so $(DESTDIR)/$(libdir)/ ; \
+@HPLIP_BUILD_TRUE@		chmod 775 $(DESTDIR)/$(libdir)/libImageProcessor-x86_32.so ; \
+@HPLIP_BUILD_TRUE@		ln -sf libImageProcessor-x86_32.so $(DESTDIR)/$(libdir)/libImageProcessor.so ; \
 @HPLIP_BUILD_TRUE@	fi
 @HPLIP_BUILD_TRUE@	if [ -d "/usr/share/ipp-usb/quirks/" ]; then \
 @HPLIP_BUILD_TRUE@		echo "ipp-usb directory exists"; \

-- 
=========================================
JW (ABE Shin-ichi) <shin1.abe@xxxxxxxxx>
=========================================


References
[plamo:33900] hplip-3.22.2, ABE Shin-ichi
[plamo:33901] Re: hplip-3.22.2, KOJIMA Mitsuhiro
[plamo:33902] Re: hplip-3.22.2, ABE Shin-ichi
[plamo:33903] Re: hplip-3.22.2, KOJIMA Mitsuhiro
[plamo:33904] Re: hplip-3.22.2, ABE Shin-ichi

[検索ページ] [メール一覧]
Plamo ML 公開システム