SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not a build problem so much as a packaging/documentation problem with cups-pdf-3.0.1.
The package builds without issue, but with the Ghostscript 9.54.0 now in -current, there is a default that uses a deprecated operator that is now removed.
In /etc/cups/cups-pdf.conf I now have:
Not a build problem so much as a packaging/documentation problem with cups-pdf-3.0.1.
The package builds without issue, but with the Ghostscript 9.54.0 now in -current, there is a default that uses a deprecated operator that is now removed.
In /etc/cups/cups-pdf.conf I now have:
About encfs, the VERSION line of the info file hasn't been updated with the 1.9.5 update.
About ufraw:
1. The dcraw package dependency is an error.
2. Compatibility with lensfun from Slackware 15.0 seems to be broken.
If someone want to test, open a raw file, try to make a correction like modify k1 in the 1st attachment.
I've added a command to modify configure.ac so the lensfun detection fails.
3. Some icons have a larger version in the source.
I've added a command to generate bigger pixmaps (48px instead of 24).
It's looks better with bigger button sizes required by HiDPI screens and it doesn't seem to hurt default button sizes (see attachment 2), so I think it can be the default.
4.Updates to the README
I propose a tip to configure icon sizes but this makes a long line.
Thanks
Edit: the incompatibility with lensfun is not new and not related to the new source.
Code:
--- ufraw.repo/README 2021-09-19 21:09:23.698641821 +0200
+++ ufraw/README 2021-09-21 03:03:25.075905355 +0200
@@ -6,3 +6,20 @@
UFRaw requires gtkimageview to include the image preview window. You can
build it without gtkimageview (run with GTK=no) but you'll only have
command line interface to UFRaw.
+
+UFRaw developpement has stopped in 2015 with version 0.22. Original source
+requires several patches to be build with Slackware 15.0.
+This script uses a repository created by someone who has collected this patches,
+thanks to him.
+However, compatibility with lensfun from Slackware 15.0 seems to be broken and
+has been deactivated.
+The original project homepage is http://ufraw.sourceforge.net/.
+
+Apart from font size, UFRaw UI doesn't scale automatically with dpi settings.
+Size of buttons can be configured via Gtk2 settings (/etc/gtk-2.0/gtkrc) like:
+gtk-icon-sizes = "gtk-menu=32,32:gtk-large-toolbar=48,48:gtk-small-toolbar=48,48:gtk-button=48,48"
+
+You can also adjust pixmap size of some icons at build time with
+UFRAW_ICON_RESIZE=<n>
+Default is 48. This affects the quality, not the display size.
+
diff -u ufraw.repo/ufraw.info ufraw/ufraw.info
--- ufraw.repo/ufraw.info 2021-09-19 21:09:23.698641821 +0200
+++ ufraw/ufraw.info 2021-09-19 22:33:17.326723232 +0200
@@ -5,6 +5,6 @@
MD5SUM="29b30593cd9e466a09e3bd926abaa271"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="dcraw gtkimageview"
+REQUIRES="gtkimageview"
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
diff -u ufraw.repo/ufraw.SlackBuild ufraw/ufraw.SlackBuild
--- ufraw.repo/ufraw.SlackBuild 2021-09-19 21:09:23.698641821 +0200
+++ ufraw/ufraw.SlackBuild 2021-09-20 12:29:07.001534324 +0200
@@ -87,6 +87,17 @@
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# PNG icons included in the source are 24x24 px. Since some SVG are provided, we can generate bigger icons.
+# This doesn't seem to hurt default button sizes and is better with bigger sizes.
+# To disable, run the script with UFRAW_ICON_RESIZE=0
+UFRAW_ICON_RESIZE=${UFRAW_ICON_RESIZE:-48}
+[ $UFRAW_ICON_RESIZE -gt 0 ] && for f in icons/*.svg; do
+ convert -background none -resize ${UFRAW_ICON_RESIZE}x$UFRAW_ICON_RESIZE $f ${f%.svg}-24.png
+done
+
+# lensfun 0.3.95 doesn't seem to be compatible
+sed -i 's/lensfun >.*/lensfun >= 0.2.5 lensfun < 0.3.95,/' configure.ac
+
autoreconf -fi
CFLAGS="$SLKCFLAGS" \
[ 38%] Building CXX object CMakeFiles/libslim.dir/log.cpp.o
[ 38%] Building CXX object CMakeFiles/libslim.dir/util.cpp.o
/usr/bin/c++ -DHAVE_SHADOW -DPACKAGE=\"slim\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.3.6\" -Dlibslim_EXPORTS -I/tmp/SBo/slim-1.3.6/build -I/tmp/SBo/slim-1.3.6 -I/usr/include/freetype2 -O2 -fPIC -Wall -g -O2 -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/libslim.dir/log.cpp.o -MF CMakeFiles/libslim.dir/log.cpp.o.d -o CMakeFiles/libslim.dir/log.cpp.o -c /tmp/SBo/slim-1.3.6/log.cpp
/usr/bin/c++ -DHAVE_SHADOW -DPACKAGE=\"slim\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.3.6\" -Dlibslim_EXPORTS -I/tmp/SBo/slim-1.3.6/build -I/tmp/SBo/slim-1.3.6 -I/usr/include/freetype2 -O2 -fPIC -Wall -g -O2 -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/libslim.dir/util.cpp.o -MF CMakeFiles/libslim.dir/util.cpp.o.d -o CMakeFiles/libslim.dir/util.cpp.o -c /tmp/SBo/slim-1.3.6/util.cpp
/tmp/SBo/slim-1.3.6/panel.cpp: In constructor ‘Panel::Panel(Display*, int, Window, Cfg*, const string&, Panel::PanelType)’:
/tmp/SBo/slim-1.3.6/panel.cpp:51:27: error: ordered comparison of pointer with integer zero (‘GC’ {aka ‘_XGC*’} and ‘int’)
51 | if (WinGC < 0) {
| ~~~~~~^~~
make[2]: *** [CMakeFiles/libslim.dir/build.make:121: CMakeFiles/libslim.dir/panel.cpp.o] Errore 1
make[2]: *** Attesa per i processi non terminati....
make[2]: uscita dalla directory «/tmp/SBo/slim-1.3.6/build»
make[1]: *** [CMakeFiles/Makefile2:146: CMakeFiles/libslim.dir/all] Errore 2
make[1]: uscita dalla directory «/tmp/SBo/slim-1.3.6/build»
make: *** [Makefile:139: all] Errore 2
slim:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?: No (as specified with '-e')
yaz
If building ver. 5.31.0
yaz.SlackBuild line 101:
cp -a LICENSE NEWS README ChangeLog
to
cp -a LICENSE NEWS README.md ChangeLog
And of course, change of version #
Else from that it builds fine
Installed as recommended optional for tellico 3.4.1 in my case,
together with yaz
3. Some icons have a larger version in the source.
I've added a command to generate bigger pixmaps (48px instead of 24).
It's looks better with bigger button sizes required by HiDPI screens and it doesn't seem to hurt default button sizes (see attachment 2), so I think it can be the default.
4.Updates to the README
I propose a tip to configure icon sizes but this makes a long line.
Thanks
Edit: the incompatibility with lensfun is not new and not related to the new source.
Code:
--- ufraw.repo/README 2021-09-19 21:09:23.698641821 +0200
+++ ufraw/README 2021-09-21 03:03:25.075905355 +0200
@@ -6,3 +6,20 @@
UFRaw requires gtkimageview to include the image preview window. You can
build it without gtkimageview (run with GTK=no) but you'll only have
command line interface to UFRaw.
+
+UFRaw developpement has stopped in 2015 with version 0.22. Original source
+requires several patches to be build with Slackware 15.0.
+This script uses a repository created by someone who has collected this patches,
+thanks to him.
+However, compatibility with lensfun from Slackware 15.0 seems to be broken and
+has been deactivated.
+The original project homepage is http://ufraw.sourceforge.net/.
+
+Apart from font size, UFRaw UI doesn't scale automatically with dpi settings.
+Size of buttons can be configured via Gtk2 settings (/etc/gtk-2.0/gtkrc) like:
+gtk-icon-sizes = "gtk-menu=32,32:gtk-large-toolbar=48,48:gtk-small-toolbar=48,48:gtk-button=48,48"
+
+You can also adjust pixmap size of some icons at build time with
+UFRAW_ICON_RESIZE=<n>
+Default is 48. This affects the quality, not the display size.
+
diff -u ufraw.repo/ufraw.info ufraw/ufraw.info
--- ufraw.repo/ufraw.info 2021-09-19 21:09:23.698641821 +0200
+++ ufraw/ufraw.info 2021-09-19 22:33:17.326723232 +0200
@@ -5,6 +5,6 @@
MD5SUM="29b30593cd9e466a09e3bd926abaa271"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="dcraw gtkimageview"
+REQUIRES="gtkimageview"
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
diff -u ufraw.repo/ufraw.SlackBuild ufraw/ufraw.SlackBuild
--- ufraw.repo/ufraw.SlackBuild 2021-09-19 21:09:23.698641821 +0200
+++ ufraw/ufraw.SlackBuild 2021-09-20 12:29:07.001534324 +0200
@@ -87,6 +87,17 @@
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# PNG icons included in the source are 24x24 px. Since some SVG are provided, we can generate bigger icons.
+# This doesn't seem to hurt default button sizes and is better with bigger sizes.
+# To disable, run the script with UFRAW_ICON_RESIZE=0
+UFRAW_ICON_RESIZE=${UFRAW_ICON_RESIZE:-48}
+[ $UFRAW_ICON_RESIZE -gt 0 ] && for f in icons/*.svg; do
+ convert -background none -resize ${UFRAW_ICON_RESIZE}x$UFRAW_ICON_RESIZE $f ${f%.svg}-24.png
+done
+
+# lensfun 0.3.95 doesn't seem to be compatible
+sed -i 's/lensfun >.*/lensfun >= 0.2.5 lensfun < 0.3.95,/' configure.ac
+
autoreconf -fi
CFLAGS="$SLKCFLAGS" \
here it seems to segfault lots of times so I'm not able to really test it...
please get in touch with the maintainer on SBo and propose him the changes.
[ 38%] Building CXX object CMakeFiles/libslim.dir/log.cpp.o
[ 38%] Building CXX object CMakeFiles/libslim.dir/util.cpp.o
/usr/bin/c++ -DHAVE_SHADOW -DPACKAGE=\"slim\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.3.6\" -Dlibslim_EXPORTS -I/tmp/SBo/slim-1.3.6/build -I/tmp/SBo/slim-1.3.6 -I/usr/include/freetype2 -O2 -fPIC -Wall -g -O2 -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/libslim.dir/log.cpp.o -MF CMakeFiles/libslim.dir/log.cpp.o.d -o CMakeFiles/libslim.dir/log.cpp.o -c /tmp/SBo/slim-1.3.6/log.cpp
/usr/bin/c++ -DHAVE_SHADOW -DPACKAGE=\"slim\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.3.6\" -Dlibslim_EXPORTS -I/tmp/SBo/slim-1.3.6/build -I/tmp/SBo/slim-1.3.6 -I/usr/include/freetype2 -O2 -fPIC -Wall -g -O2 -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/libslim.dir/util.cpp.o -MF CMakeFiles/libslim.dir/util.cpp.o.d -o CMakeFiles/libslim.dir/util.cpp.o -c /tmp/SBo/slim-1.3.6/util.cpp
/tmp/SBo/slim-1.3.6/panel.cpp: In constructor ‘Panel::Panel(Display*, int, Window, Cfg*, const string&, Panel::PanelType)’:
/tmp/SBo/slim-1.3.6/panel.cpp:51:27: error: ordered comparison of pointer with integer zero (‘GC’ {aka ‘_XGC*’} and ‘int’)
51 | if (WinGC < 0) {
| ~~~~~~^~~
make[2]: *** [CMakeFiles/libslim.dir/build.make:121: CMakeFiles/libslim.dir/panel.cpp.o] Errore 1
make[2]: *** Attesa per i processi non terminati....
make[2]: uscita dalla directory «/tmp/SBo/slim-1.3.6/build»
make[1]: *** [CMakeFiles/Makefile2:146: CMakeFiles/libslim.dir/all] Errore 2
make[1]: uscita dalla directory «/tmp/SBo/slim-1.3.6/build»
make: *** [Makefile:139: all] Errore 2
slim:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?: No (as specified with '-e')
I actually modified the SlackBuild a lot: check here for a patch
if [ ! \( "$cmd" = "toolbox" -a "yes" = "no" \) ]; then \
ln -sf ../share/hplip/$i /usr/local/bin/hp-$cmd; \
fi \
done
if [ "yes" = "yes" ]; then \
mv /usr/lib/cups/backend/hpfax.py /usr/lib/cups/backend/hpfax; \
chmod 700 /usr/lib/cups/backend/hpfax; \
fi
if [ "no" = "yes" ];then \
chmod 644 /usr.share.hplip;\
chmod 644 /abstractions/hplip;\
fi
chmod 700 /usr/lib/cups/backend/hp
make[2]: Leaving directory '/home/roman/Distributions/hplip-3.21.8'
make[1]: Leaving directory '/home/roman/Distributions/hplip-3.21.8'
bash-5.1$ hplip
bash: hplip: command not found
bash-5.1$ hplip-plugin
bash: hplip-plugin: command not found
bash-5.1$ ls /usr/local
bin etc games include info lib lib64 man sbin share src
bash-5.1$ ls /usr/
X11 adm dict games info lib libexec man sbin spool tmp
X11R6 bin doc include java lib64 local plasma share src x86_64-slackware-linux
bash-5.1$ ls /usr/local/bin
hp-align hp-devicesettings hp-faxsetup hp-logcapture hp-pqdiag hp-scan hp-timedate hp-upgrade
hp-check hp-diagnose_plugin hp-firmware hp-makecopies hp-print hp-sendfax hp-toolbox hp-wificonfig
hp-clean hp-diagnose_queues hp-info hp-makeuri hp-printsettings hp-setup hp-uiscan oolite
hp-colorcal hp-doctor hp-levels hp-pkservice hp-probe hp-systray hp-uninstall oolite-update
hp-config_usb_printer hp-fab hp-linefeedcal hp-plugin hp-query hp-testpage hp-unload
bash-5.1$ ls /usr/local/bin/hp-systray
/usr/local/bin/hp-systray
bash-5.1$ ls /usr/local/bin/hp-probe
/usr/local/bin/hp-probe
bash-5.1$ /usr/local/bin/hp-systray
Traceback (most recent call last):
File "/usr/local/bin/hp-systray", line 35, in <module>
from base import utils, module
File "/usr/local/share/hplip/base/module.py", line 30, in <module>
from . import tui, utils, device
File "/usr/local/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/usr/local/share/hplip/base/status.py", line 33, in <module>
import cupsext
ImportError: No module named cupsext
bash-5.1$ /usr/local/bin/hp-info
Traceback (most recent call last):
File "/usr/local/bin/hp-info", line 38, in <module>
from base import device, status, utils, tui, module
File "/usr/local/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/usr/local/share/hplip/base/status.py", line 33, in <module>
import cupsext
ImportError: No module named cupsext
bash-5.1$
google-earth (it TXZ was build from RPM - external compilation):
reason: i was recompile kernel for best my cpu support
and today after:
Code:
Thu Sep 23 19:15:14 UTC 2021
a/kernel-firmware-20210923_0268c1b-noarch-1.txz: Upgraded.
d/parallel-20210922-noarch-1.txz: Upgraded.
l/pipewire-0.3.37-x86_64-1.txz: Upgraded.
l/python-urllib3-1.26.7-x86_64-1.txz: Upgraded.
xap/freerdp-2.4.0-x86_64-1.txz: Added.
This is needed for krdc to use RDP. Thanks to max242.
xfce/mousepad-0.5.7-x86_64-1.txz: Upgraded.
I think it should be better be bumped to version 6.0.8, but unfortunately that need sgmllib not yet in SBo: please notify the build error to the maintainer...
I think it should be better be bumped to version 6.0.8, but unfortunately that need sgmllib not yet in SBo: please notify the build error to the maintainer...
Its strange , but archlinux have this freezed under same version 5.2.1 , thats for a good reason , arch only freeze when upgrade break things.
But i go write mantainer , to see where we go whit this.
EDIT: I write the mantainer , we wait for see what direction goes this.
Thanks!
Last edited by USUARIONUEVO; 09-25-2021 at 03:57 PM.
I think it should be better be bumped to version 6.0.8, but unfortunately that need sgmllib not yet in SBo: please notify the build error to the maintainer...
I've had an update to 6.0.8 ready for some time but held it back because some other SlackBuilds were broken by the update. However since the existing 5.2.1 version not no longer builds on -current, then those other SlackBuilds are also broken anyway. Therefore I just now submitted the update for feedparser-6.0.8.
When building feedparser-6.0.8, I did not notice any problem with sgmlib. Could you elaborate on the problem?
I've had an update to 6.0.8 ready for some time but held it back because some other SlackBuilds were broken by the update. However since the existing 5.2.1 version not no longer builds on -current, then those other SlackBuilds are also broken anyway. Therefore I just now submitted the update for feedparser-6.0.8.
When building feedparser-6.0.8, I did not notice any problem with sgmlib. Could you elaborate on the problem?
chris
Hi , i install the new one, pip3 says missing dependency.
pip2 says all is okey.
Quote:
pip3 check
feedparser 6.0.8 requires sgmllib3k, which is not installed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.