summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-02-20 00:26:32 +0100
committer Eric Hameleers <alien@slackware.com>2020-02-20 00:26:32 +0100
commit6dd435b71505b13f2d1d56fabf9d4242b7e059c5 (patch)
treec0db39a4a32575bd8a8cb2e371cfecd2cc1bf2f2
parentd4be8fc997b1ae2e2950320d050b34097decc2b5 (diff)
downloadliveslak-6dd435b71505b13f2d1d56fabf9d4242b7e059c5.tar.gz
liveslak-6dd435b71505b13f2d1d56fabf9d4242b7e059c5.tar.xz
Allow direct scanning via xsane (no temporary intermediate files) in Gimp
This was fixed in Slackware as well in the meantime, but it does not harm to keep it in here.
-rwxr-xr-xmake_slackware_live.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 05a7398..2759c7b 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1763,6 +1763,12 @@ cat << EOT > ${LIVE_ROOTDIR}/etc/fonts/local.conf
EOT
chroot ${LIVE_ROOTDIR} fc-cache -f
+# Allow direct scanning via xsane (no temporary intermediate files) in Gimp:
+if [ ! -L ${LIVE_ROOTDIR}/usr/lib${DIRSUFFIX}/gimp/2.0/plug-ins/xsane ]; then
+ mkdir -p ${LIVE_ROOTDIR}/usr/lib${DIRSUFFIX}/gimp/2.0/plug-ins
+ ln -s /usr/bin/xsane \
+ ${LIVE_ROOTDIR}/usr/lib${DIRSUFFIX}/gimp/2.0/plug-ins/xsane
+fi
# -------------------------------------------------------------------------- #
echo "-- Configuring XFCE."