aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2023-05-26 23:46:07 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-27 08:08:53 +0700
commitb9422ac9d65b05266d7d9f8d90c748047e6b4c49 (patch)
treeecaaba14d8cf2ecf1847a83d4a3a53b579cff0d2 /graphics
parentad6f41141431620c52792056e21119590e0e9dff (diff)
graphics/scantailor-advanced: Updated for version 1.0.18.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/scantailor-advanced/README10
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.SlackBuild7
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.info2
3 files changed, 16 insertions, 3 deletions
diff --git a/graphics/scantailor-advanced/README b/graphics/scantailor-advanced/README
index bc9f041e8e5e8..fc60888c42015 100644
--- a/graphics/scantailor-advanced/README
+++ b/graphics/scantailor-advanced/README
@@ -12,3 +12,13 @@ this project.
The ScanTailor version that merges the features of the ScanTailor
Featured and ScanTailor Enhanced versions, brings new ones and fixes.
+
+qt6 is an optional dependency and will be autodetected if it is present
+at build time. Otherwise, qt5 will be used.
+
+When using the qt6 version on a low-resolution monitor, the following
+settings can be needed
+
+export QT_ENABLE_HIGHDPI_SCALING=0
+
+in, for example, /etc/profile.d/qt6_disable_high-dpi_scaling.sh
diff --git a/graphics/scantailor-advanced/scantailor-advanced.SlackBuild b/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
index 6adf4bf352135..c36d86fa3129a 100644
--- a/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
+++ b/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for scantailor-advanced
-# Copyright 2019-2022, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2019-2023, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scantailor-advanced
VERSION=${VERSION:-1.0.18}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,6 +69,9 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+sed -i '1a#include<algorithm>' src/foundation/Proximity.cpp
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/graphics/scantailor-advanced/scantailor-advanced.info b/graphics/scantailor-advanced/scantailor-advanced.info
index e8300600d072a..9e4b72c578a1e 100644
--- a/graphics/scantailor-advanced/scantailor-advanced.info
+++ b/graphics/scantailor-advanced/scantailor-advanced.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/vigri/scantailor-advanced/archive/v1.0.18/scantailo
MD5SUM="b329669d87b56da73385c92d765bd167"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="%README%"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"