LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-14-2018, 12:57 PM   #2131
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,677

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175

Quote:
Originally Posted by volkerdi View Post
Why not "misuse" rc.modules_local for whatever else you need there?
That's what I do right now.

BUT, let's say that from an "aesthetically" point of view, I will prefer to keep "rc.modules.local" only for... well, the kernel modules.

-------------------------------------------------

BTW, the xf86-video-ati-18.1.0 and xf86-video-amdgpu-18.1.0 was just released.

https://xorg.freedesktop.org/archive...18.1.0.tar.bz2
https://xorg.freedesktop.org/archive...18.1.0.tar.bz2

Last edited by Darth Vader; 09-14-2018 at 01:04 PM.
 
Old 09-14-2018, 11:52 PM   #2132
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: SlackMATE on top of Slackware64-14.2
Posts: 465

Rep: Reputation: 704Reputation: 704Reputation: 704Reputation: 704Reputation: 704Reputation: 704Reputation: 704
hplip-3.18.7-x86_64-3 is still broken

Code:
Fri Sep 14 23:06:26 UTC 2018
ap/hplip-3.18.7-x86_64-3.txz: Rebuilt.
       Throw away the broken and ill-advised libImageProcessor closed-source blob.
       Thanks to Matteo Bernardini.
ldd /usr/lib64/cups/filter/hpcups
Code:
	linux-vdso.so.1 (0x00007fff183ef000)
	libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007f3661afa000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f36618f6000)
	libImageProcessor.so => not found
	libcups.so.2 => /usr/lib64/libcups.so.2 (0x00007f366166c000)
	libcupsimage.so.2 => /usr/lib64/libcupsimage.so.2 (0x00007f3661463000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f366124c000)
	libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f3661ef2000)
	libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007f3660f70000)
	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f3660de5000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f3660a4a000)
	libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f3661ed8000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f3660660000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f3661d62000)
	libgnutls.so.30 => /usr/lib64/libgnutls.so.30 (0x00007f36604c1000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f36602a2000)
	libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f366006a000)
	libp11-kit.so.0 => /usr/lib64/libp11-kit.so.0 (0x00007f3661da9000)
	libidn2.so.0 => /usr/lib64/libidn2.so.0 (0x00007f365fe4d000)
	libunistring.so.2 => /usr/lib64/libunistring.so.2 (0x00007f365facb000)
	libnettle.so.6 => /usr/lib64/libnettle.so.6 (0x00007f365f894000)
	libhogweed.so.4 => /usr/lib64/libhogweed.so.4 (0x00007f365f65f000)
	libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f365f3e9000)
	libffi.so.6 => /usr/lib64/libffi.so.6 (0x00007f365f1e1000)
@volkerdi
Do you run any consistency check before pushing the upgrades


Cheers
 
1 members found this post helpful.
Old 09-15-2018, 12:24 AM   #2133
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,374

Rep: Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309
I think that happened because the old hplip was still present in the build system, I've tried removing and rebuilding and should be ok.
as I wrote in the other topic, I haven't got an hp printer at hand to test it: if you got one could you please remove the hplip package, rebuild it and reinstall it from the latest SlackBuild and see if this fixes?

EDIT: no, I think the issue manifests because the debian patch applies to Makefile.am while in our case it has to patch Makefile.in, but I have to check better...
EDIT2: yes, looks like it was that: the correct patch (to apply in place of the debian one) is attached, please test (I don't know why the previous worked for chrisVV)
Attached Files
File Type: txt hplip.remove-ImageProcessor.diff.txt (5.0 KB, 10 views)

Last edited by ponce; 09-15-2018 at 01:31 AM.
 
2 members found this post helpful.
Old 09-15-2018, 03:21 AM   #2134
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,269
Blog Entries: 2

Rep: Reputation: 231Reputation: 231Reputation: 231
Refind is a boot manager, and many users still run multi boot with Slackware for one reason or the other.

Since i tried refind on this UEFI only laptop, i am very pleased with how it fares.

Could the next Slackware ship with refind in /extra at least?

Last edited by SCerovec; 09-15-2018 at 04:33 AM. Reason: emphasized the topic
 
2 members found this post helpful.
Old 09-15-2018, 03:29 AM   #2135
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,677

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
No love for pasture/php, for 5.6.38?

I think about something like into stable patches...

https://php.net/ChangeLog-5.php#5.6.38

Last edited by Darth Vader; 09-15-2018 at 06:55 AM.
 
1 members found this post helpful.
Old 09-15-2018, 09:56 AM   #2136
TurboBlaze
LQ Newbie
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 17

Rep: Reputation: Disabled
NetworkManager 1.14
Quote:
The NetworkManager 1.14 release is a biggie and includes LLMNR configuration support (Link-Local Multicast Name Resolution), IEEE 804.15.4 / 6LoWPAN low-power personal wireless network device support, Ethtool offloading support, it can now detect WireGuard interfaces, and SR-IOV network devices can now be configured, among other fixes and improvements.
https://github.com/NetworkManager/Ne...ses/tag/1.14.0
 
1 members found this post helpful.
Old 09-15-2018, 10:38 AM   #2137
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.1, Slackware64_14.2, Slackware64_current
Posts: 110

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
I think that happened because the old hplip was still present in the build system, I've tried removing and rebuilding and should be ok.
as I wrote in the other topic, I haven't got an hp printer at hand to test it: if you got one could you please remove the hplip package, rebuild it and reinstall it from the latest SlackBuild and see if this fixes?

EDIT: no, I think the issue manifests because the debian patch applies to Makefile.am while in our case it has to patch Makefile.in, but I have to check better...
EDIT2: yes, looks like it was that: the correct patch (to apply in place of the debian one) is attached, please test (I don't know why the previous worked for chrisVV)
In addition to the above patch, This one removes all remaining references from the build suite:
Code:
--- Makefile.am.orig	2018-07-15 16:08:37.000000000 -0400
+++ Makefile.am	2018-09-15 11:16:22.138001591 -0400
@@ -164,7 +164,7 @@
 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_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
 
 if !HPLIP_CLASS_DRIVER
@@ -584,11 +584,10 @@
 	prnt/hpcups/flate_colorspace.h prnt/hpcups/RunLenEncoding.h prnt/hpcups/common_defines.h \
 	prnt/hpcups/genPCLm.h \
 	common/utils.c common/utils.h prnt/hpcups/Hbpl1_Wrapper.cpp prnt/hpcups/genPCLm.cpp \
-	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp \
-	prnt/hpcups/ImageProcessor.h
+	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp
 
 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)
@@ -679,16 +678,6 @@
 
 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 !HPLIP_CLASS_DRIVER
 #	   If scanner build, add hpaio entry to sane dll.conf.
 	if [ "$(scan_build)" = "yes" ]; then \
--- Makefile.in.orig	2018-07-15 16:10:08.000000000 -0400
+++ Makefile.in	2018-09-15 11:18:11.710006099 -0400
@@ -103,7 +103,7 @@
 
 # ip library
 @HPLIP_BUILD_TRUE@am__append_12 = libhpip.la
-@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_13 = prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template prnt/hpcups/libImageProcessor-x86_64.so prnt/hpcups/libImageProcessor-x86_32.so
+@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_13 = prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template 
 @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_14 = dat2drv.py install.py  hplip-install init-suse-firewall init-iptables-firewall class_rpm_build.sh hplipclassdriver.spec createPPD.sh Makefile_dat2drv hpijs-drv
 @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@am__append_15 = scan/sane/hpaio.desc \
 @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@	installer/text_install.py \
@@ -495,8 +495,7 @@
 	prnt/hpcups/RunLenEncoding.h prnt/hpcups/common_defines.h \
 	prnt/hpcups/genPCLm.h common/utils.c common/utils.h \
 	prnt/hpcups/Hbpl1_Wrapper.cpp prnt/hpcups/genPCLm.cpp \
-	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp \
-	prnt/hpcups/ImageProcessor.h
+	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp
 @HPCUPS_INSTALL_TRUE@am_hpcups_OBJECTS =  \
 @HPCUPS_INSTALL_TRUE@	hpcups-HPCupsFilter.$(OBJEXT) \
 @HPCUPS_INSTALL_TRUE@	hpcups-dbuscomm.$(OBJEXT) \
@@ -718,8 +717,7 @@
 am__dist_models_DATA_DIST = data/models/models.dat
 am__dist_noinst_DATA_DIST = prnt/drv/hpijs.drv.in.template \
 	prnt/drv/hpcups.drv.in.template \
-	prnt/hpcups/libImageProcessor-x86_64.so \
-	prnt/hpcups/libImageProcessor-x86_32.so scan/sane/hpaio.desc \
+	scan/sane/hpaio.desc \
 	installer/text_install.py data/localization/hplip_de.ts \
 	data/localization/hplip_es.ts data/localization/hplip_fr.ts \
 	data/localization/hplip_it.ts data/localization/hplip_pt.ts \
@@ -4643,11 +4641,10 @@
 @HPCUPS_INSTALL_TRUE@	prnt/hpcups/flate_colorspace.h prnt/hpcups/RunLenEncoding.h prnt/hpcups/common_defines.h \
 @HPCUPS_INSTALL_TRUE@	prnt/hpcups/genPCLm.h \
 @HPCUPS_INSTALL_TRUE@	common/utils.c common/utils.h prnt/hpcups/Hbpl1_Wrapper.cpp prnt/hpcups/genPCLm.cpp \
-@HPCUPS_INSTALL_TRUE@	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp \
-@HPCUPS_INSTALL_TRUE@	prnt/hpcups/ImageProcessor.h
+@HPCUPS_INSTALL_TRUE@	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp
 
 @HPCUPS_INSTALL_TRUE@hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS)
-@HPCUPS_INSTALL_TRUE@hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lImageProcessor -lcups -lcupsimage -lz $(DBUS_LIBS)
+@HPCUPS_INSTALL_TRUE@hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lcups -lcupsimage -lz $(DBUS_LIBS)
 
 #else
 #hpcupsdir = $(cupsfilterdir)
@@ -9328,16 +9325,6 @@
 
 
 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@	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@	fi
 #	   If scanner build, add hpaio entry to sane dll.conf.
 @HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@	if [ "$(scan_build)" = "yes" ]; then \
 @HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@	   $(mkinstalldirs) $(DESTDIR)/etc/sane.d; \
--- class_rpm_build.sh.orig	2018-07-15 16:08:37.000000000 -0400
+++ class_rpm_build.sh	2018-09-15 11:34:36.302046603 -0400
@@ -41,18 +41,4 @@
 cp -f ./selinux/* $rpm_dir$usr_share_hplip_selinux
 #cp -f hplipclassdriver.spec ./rpm_temp
 
-if [ "$VER" = "x86_64" ] 
-then 
-	cp -f ./prnt/hpcups/libImageProcessor-x86_64.so $rpm_dir$libdir/
-	cp -f ./prnt/hpcups/libImageProcessor-x86_32.so $rpm_dir$libdir/
-	chmod 775 $rpm_dir$libdir/libImageProcessor-x86_64.so
-	chmod 775 $rpm_dir$libdir/libImageProcessor-x86_32.so
-
-elif [ "$VER" = "i686" -o "$VER" = "i386" ]
-then
-	cp -f ./prnt/hpcups/libImageProcessor-x86_32.so $rpm_dir$libdir/
-	cp -f ./prnt/hpcups/libImageProcessor-x86_64.so $rpm_dir$libdir/
-	chmod 775 $rpm_dir$libdir/libImageProcessor-x86_32.so
-	chmod 775 $rpm_dir$libdir/libImageProcessor-x86_64.so
-fi
 echo "rpm_dir is created with specific files"
--- createPPD.sh.orig	2018-07-15 16:08:37.000000000 -0400
+++ createPPD.sh	2018-09-15 10:51:31.833940284 -0400
@@ -112,13 +112,4 @@
 UNAME='uname -m'
 VER=`$UNAME`
 
-cd prnt/hpcups
-if [ "$VER" = "x86_64" ] 
-then
-	ln -sf libImageProcessor-x86_64.so libImageProcessor.so
-else
-	ln -sf libImageProcessor-x86_32.so libImageProcessor.so
-fi
-cd ../../
-
 exit 0
--- hplip.list.in.orig	2018-07-15 16:08:37.000000000 -0400
+++ hplip.list.in	2018-09-15 10:53:26.033944982 -0400
@@ -183,8 +183,6 @@
 @epm_full@f 0755 root root $pyexecdir/cupsext.so .libs/cupsext.so
 @epm_full@f 0755 root root $pyexecdir/hpmudext.so .libs/hpmudext.so
 @epm_full@f 0755 root root $pyexecdir/pcardext.so .libs/pcardext.so
-@epm_full@f 755 root root $libdir/libImageProcessor-${machine}.so prnt/hpcups/libImageProcessor-${machine}.so
-@epm_full@l 755 root root $libdir/libImageProcessor.so $libdir/libImageProcessor-${machine}.so
 @epm_scan@@epm_full@f 0755 root root $pyexecdir/scanext.so .libs/scanext.so
 @epm_full@%system all
 @epm_full@f 644 root root $icondir/hplip.desktop hplip.desktop
--- hplipclassdriver.spec.orig	2018-07-15 16:08:37.000000000 -0400
+++ hplipclassdriver.spec	2018-09-15 10:54:32.993947736 -0400
@@ -9,8 +9,6 @@
 %post
 ldconfig
 semodule -i /usr/share/hplip/selinux/mypol.pp
-#ln -sf /usr/lib/libImageProcessor-x86_64.so /usr/lib/libImageProcessor.so
-ln -sf /usr/lib/libImageProcessor-x86_32.so /usr/lib/libImageProcessor.so
 %description 
 The HP Linux Imaging and Printing (HPLIP) system
 provides a unified single and multi-function connectivity
@@ -52,5 +50,3 @@
 %attr(0755,root,root) "/usr/share/hplip/selinux/mypol.te"
 %attr(0755,root,root) "/usr/share/hplip/selinux/mypol.pp"
 %attr(0775,root,root) %dir "/usr/lib/"
-%attr(0775,root,root) "/usr/lib/libImageProcessor-x86_64.so"
-%attr(0775,root,root) "/usr/lib/libImageProcessor-x86_32.so"]
After building with the above patches, hpcups has no references to the ImageProcessor library.
 
Old 09-15-2018, 11:03 AM   #2138
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,374

Rep: Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309
Quote:
Originally Posted by alex14641 View Post
In addition to the above patch, This one removes all remaining references from the build suite:
Code:
--- Makefile.am.orig	2018-07-15 16:08:37.000000000 -0400
+++ Makefile.am	2018-09-15 11:16:22.138001591 -0400
@@ -164,7 +164,7 @@
 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_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
 
 if !HPLIP_CLASS_DRIVER
@@ -584,11 +584,10 @@
 	prnt/hpcups/flate_colorspace.h prnt/hpcups/RunLenEncoding.h prnt/hpcups/common_defines.h \
 	prnt/hpcups/genPCLm.h \
 	common/utils.c common/utils.h prnt/hpcups/Hbpl1_Wrapper.cpp prnt/hpcups/genPCLm.cpp \
-	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp \
-	prnt/hpcups/ImageProcessor.h
+	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp
 
 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)
@@ -679,16 +678,6 @@
 
 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 !HPLIP_CLASS_DRIVER
 #	   If scanner build, add hpaio entry to sane dll.conf.
 	if [ "$(scan_build)" = "yes" ]; then \
--- Makefile.in.orig	2018-07-15 16:10:08.000000000 -0400
+++ Makefile.in	2018-09-15 11:18:11.710006099 -0400
@@ -103,7 +103,7 @@
 
 # ip library
 @HPLIP_BUILD_TRUE@am__append_12 = libhpip.la
-@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_13 = prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template prnt/hpcups/libImageProcessor-x86_64.so prnt/hpcups/libImageProcessor-x86_32.so
+@FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_13 = prnt/drv/hpijs.drv.in.template prnt/drv/hpcups.drv.in.template 
 @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@am__append_14 = dat2drv.py install.py  hplip-install init-suse-firewall init-iptables-firewall class_rpm_build.sh hplipclassdriver.spec createPPD.sh Makefile_dat2drv hpijs-drv
 @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@am__append_15 = scan/sane/hpaio.desc \
 @FULL_BUILD_TRUE@@HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@	installer/text_install.py \
@@ -495,8 +495,7 @@
 	prnt/hpcups/RunLenEncoding.h prnt/hpcups/common_defines.h \
 	prnt/hpcups/genPCLm.h common/utils.c common/utils.h \
 	prnt/hpcups/Hbpl1_Wrapper.cpp prnt/hpcups/genPCLm.cpp \
-	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp \
-	prnt/hpcups/ImageProcessor.h
+	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp
 @HPCUPS_INSTALL_TRUE@am_hpcups_OBJECTS =  \
 @HPCUPS_INSTALL_TRUE@	hpcups-HPCupsFilter.$(OBJEXT) \
 @HPCUPS_INSTALL_TRUE@	hpcups-dbuscomm.$(OBJEXT) \
@@ -718,8 +717,7 @@
 am__dist_models_DATA_DIST = data/models/models.dat
 am__dist_noinst_DATA_DIST = prnt/drv/hpijs.drv.in.template \
 	prnt/drv/hpcups.drv.in.template \
-	prnt/hpcups/libImageProcessor-x86_64.so \
-	prnt/hpcups/libImageProcessor-x86_32.so scan/sane/hpaio.desc \
+	scan/sane/hpaio.desc \
 	installer/text_install.py data/localization/hplip_de.ts \
 	data/localization/hplip_es.ts data/localization/hplip_fr.ts \
 	data/localization/hplip_it.ts data/localization/hplip_pt.ts \
@@ -4643,11 +4641,10 @@
 @HPCUPS_INSTALL_TRUE@	prnt/hpcups/flate_colorspace.h prnt/hpcups/RunLenEncoding.h prnt/hpcups/common_defines.h \
 @HPCUPS_INSTALL_TRUE@	prnt/hpcups/genPCLm.h \
 @HPCUPS_INSTALL_TRUE@	common/utils.c common/utils.h prnt/hpcups/Hbpl1_Wrapper.cpp prnt/hpcups/genPCLm.cpp \
-@HPCUPS_INSTALL_TRUE@	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp \
-@HPCUPS_INSTALL_TRUE@	prnt/hpcups/ImageProcessor.h
+@HPCUPS_INSTALL_TRUE@	prnt/hpcups/genJPEGStrips.cpp prnt/hpcups/RunLenEncoding.cpp
 
 @HPCUPS_INSTALL_TRUE@hpcups_CXXFLAGS = $(APDK_ENDIAN_FLAG) $(DBUS_CFLAGS)
-@HPCUPS_INSTALL_TRUE@hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lImageProcessor -lcups -lcupsimage -lz $(DBUS_LIBS)
+@HPCUPS_INSTALL_TRUE@hpcups_LDADD = -L./prnt/hpcups/ -ljpeg -ldl -lcups -lcupsimage -lz $(DBUS_LIBS)
 
 #else
 #hpcupsdir = $(cupsfilterdir)
@@ -9328,16 +9325,6 @@
 
 
 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@	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@	fi
 #	   If scanner build, add hpaio entry to sane dll.conf.
 @HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@	if [ "$(scan_build)" = "yes" ]; then \
 @HPLIP_BUILD_TRUE@@HPLIP_CLASS_DRIVER_FALSE@	   $(mkinstalldirs) $(DESTDIR)/etc/sane.d; \
--- class_rpm_build.sh.orig	2018-07-15 16:08:37.000000000 -0400
+++ class_rpm_build.sh	2018-09-15 11:34:36.302046603 -0400
@@ -41,18 +41,4 @@
 cp -f ./selinux/* $rpm_dir$usr_share_hplip_selinux
 #cp -f hplipclassdriver.spec ./rpm_temp
 
-if [ "$VER" = "x86_64" ] 
-then 
-	cp -f ./prnt/hpcups/libImageProcessor-x86_64.so $rpm_dir$libdir/
-	cp -f ./prnt/hpcups/libImageProcessor-x86_32.so $rpm_dir$libdir/
-	chmod 775 $rpm_dir$libdir/libImageProcessor-x86_64.so
-	chmod 775 $rpm_dir$libdir/libImageProcessor-x86_32.so
-
-elif [ "$VER" = "i686" -o "$VER" = "i386" ]
-then
-	cp -f ./prnt/hpcups/libImageProcessor-x86_32.so $rpm_dir$libdir/
-	cp -f ./prnt/hpcups/libImageProcessor-x86_64.so $rpm_dir$libdir/
-	chmod 775 $rpm_dir$libdir/libImageProcessor-x86_32.so
-	chmod 775 $rpm_dir$libdir/libImageProcessor-x86_64.so
-fi
 echo "rpm_dir is created with specific files"
--- createPPD.sh.orig	2018-07-15 16:08:37.000000000 -0400
+++ createPPD.sh	2018-09-15 10:51:31.833940284 -0400
@@ -112,13 +112,4 @@
 UNAME='uname -m'
 VER=`$UNAME`
 
-cd prnt/hpcups
-if [ "$VER" = "x86_64" ] 
-then
-	ln -sf libImageProcessor-x86_64.so libImageProcessor.so
-else
-	ln -sf libImageProcessor-x86_32.so libImageProcessor.so
-fi
-cd ../../
-
 exit 0
--- hplip.list.in.orig	2018-07-15 16:08:37.000000000 -0400
+++ hplip.list.in	2018-09-15 10:53:26.033944982 -0400
@@ -183,8 +183,6 @@
 @epm_full@f 0755 root root $pyexecdir/cupsext.so .libs/cupsext.so
 @epm_full@f 0755 root root $pyexecdir/hpmudext.so .libs/hpmudext.so
 @epm_full@f 0755 root root $pyexecdir/pcardext.so .libs/pcardext.so
-@epm_full@f 755 root root $libdir/libImageProcessor-${machine}.so prnt/hpcups/libImageProcessor-${machine}.so
-@epm_full@l 755 root root $libdir/libImageProcessor.so $libdir/libImageProcessor-${machine}.so
 @epm_scan@@epm_full@f 0755 root root $pyexecdir/scanext.so .libs/scanext.so
 @epm_full@%system all
 @epm_full@f 644 root root $icondir/hplip.desktop hplip.desktop
--- hplipclassdriver.spec.orig	2018-07-15 16:08:37.000000000 -0400
+++ hplipclassdriver.spec	2018-09-15 10:54:32.993947736 -0400
@@ -9,8 +9,6 @@
 %post
 ldconfig
 semodule -i /usr/share/hplip/selinux/mypol.pp
-#ln -sf /usr/lib/libImageProcessor-x86_64.so /usr/lib/libImageProcessor.so
-ln -sf /usr/lib/libImageProcessor-x86_32.so /usr/lib/libImageProcessor.so
 %description 
 The HP Linux Imaging and Printing (HPLIP) system
 provides a unified single and multi-function connectivity
@@ -52,5 +50,3 @@
 %attr(0755,root,root) "/usr/share/hplip/selinux/mypol.te"
 %attr(0755,root,root) "/usr/share/hplip/selinux/mypol.pp"
 %attr(0775,root,root) %dir "/usr/lib/"
-%attr(0775,root,root) "/usr/lib/libImageProcessor-x86_64.so"
-%attr(0775,root,root) "/usr/lib/libImageProcessor-x86_32.so"]
After building with the above patches, hpcups has no references to the ImageProcessor library.
IMHO, the other files you patched shouldn't be involved in the build process...
 
Old 09-15-2018, 11:27 AM   #2139
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.1, Slackware64_14.2, Slackware64_current
Posts: 110

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
IMHO, the other files you patched shouldn't be involved in the build process...
Wanted the build suite to be pristine, ImageProcessor wise.
 
Old 09-15-2018, 12:03 PM   #2140
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,374

Rep: Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309Reputation: 2309
Quote:
Originally Posted by alex14641 View Post
Wanted the build suite to be pristine, ImageProcessor wise.
as I've seen this, this should be a temporal fix hoping it get addressed upstream soon: other distributions just kept at 3.18.6.
but it's HP that created this mess so it's up to them to fix it.
 
Old 09-15-2018, 12:23 PM   #2141
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.1, Slackware64_14.2, Slackware64_current
Posts: 110

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
as I've seen this, this should be a temporal fix hoping it get addressed upstream soon: other distributions just kept at 3.18.6.
but it's HP that created this mess so it's up to them to fix it.
Agreed.
 
Old 09-15-2018, 12:31 PM   #2142
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 391

Rep: Reputation: 132Reputation: 132
Quote:
Originally Posted by SCerovec View Post
Refind is a boot manager, and many users still run multi boot with Slackware for one reason or the other.

Since i tried refind on this UEFI only laptop, i am very pleased with how it fares.

Could the next Slackware ship with refind in /extra at least?
It's on SlackBuilds.org...
 
Old 09-15-2018, 02:13 PM   #2143
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,269
Blog Entries: 2

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by sombragris View Post
It's on SlackBuilds.org...
Yes, and my build is from right there.

But considered it is mature, maintained and current, and it "just works", i wondered if it should become endorsed, at least in */extra* ?

no?

One way or the other i will continue to use it.

pro: just put the right kernel in /boot and make sure refind is installed on EFI partition.

contra: TBD
 
Old 09-15-2018, 03:24 PM   #2144
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 701

Rep: Reputation: Disabled
Are there any technical reasons not to enable apparmor/selinux in the kernel?
 
Old 09-15-2018, 04:04 PM   #2145
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,214

Rep: Reputation: 5219Reputation: 5219Reputation: 5219Reputation: 5219Reputation: 5219Reputation: 5219Reputation: 5219Reputation: 5219Reputation: 5219Reputation: 5219Reputation: 5219
Quote:
Originally Posted by upnort View Post
Are there any technical reasons not to enable apparmor/selinux in the kernel?
It requires a userspace component that Slackware does not ship.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration