aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMichel Begue <mab974@gmail.com>2021-02-26 00:50:03 +0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-03-05 13:37:50 +0700
commit6b766abbd839f7f23f87781d3cf678a9e0461293 (patch)
treeaf31f62d841b2e6b99fa5d9019d45f0a91bcefec /graphics
parentde2ce3b0284f72131f1d16bb2207998910885070 (diff)
graphics/gscan2pdf: Updated for version 2.11.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gscan2pdf/README3
-rw-r--r--graphics/gscan2pdf/gscan2pdf.SlackBuild7
-rw-r--r--graphics/gscan2pdf/gscan2pdf.info8
3 files changed, 11 insertions, 7 deletions
diff --git a/graphics/gscan2pdf/README b/graphics/gscan2pdf/README
index a8925e3b54aa..c2cbdf489c73 100644
--- a/graphics/gscan2pdf/README
+++ b/graphics/gscan2pdf/README
@@ -5,3 +5,6 @@ gscan2pdf should work on almost any Linux/BSD machine.
-> Scan one or several pages in with File/Scan,
-> Create PDF of selected pages with File/Save.
+
+Run the tests with:
+ MAKETEST=yes ./gscan2pdf.SlackBuild
diff --git a/graphics/gscan2pdf/gscan2pdf.SlackBuild b/graphics/gscan2pdf/gscan2pdf.SlackBuild
index e64600333b9a..2f27d18337d1 100644
--- a/graphics/gscan2pdf/gscan2pdf.SlackBuild
+++ b/graphics/gscan2pdf/gscan2pdf.SlackBuild
@@ -22,10 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-## !!!!!!!!! 'make test' commented out !!!!!!!!
-
PRGNAM=gscan2pdf
-VERSION=${VERSION:-2.6.3}
+VERSION=${VERSION:-2.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,6 +78,9 @@ perl Makefile.PL \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
+if [ "${MAKETEST:-no}" = "yes" ]; then
+ make test
+fi
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/graphics/gscan2pdf/gscan2pdf.info b/graphics/gscan2pdf/gscan2pdf.info
index 73539fb9f252..e1ae9c9c6adb 100644
--- a/graphics/gscan2pdf/gscan2pdf.info
+++ b/graphics/gscan2pdf/gscan2pdf.info
@@ -1,10 +1,10 @@
PRGNAM="gscan2pdf"
-VERSION="2.6.3"
+VERSION="2.11.0"
HOMEPAGE="http://gscan2pdf.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/gscan2pdf/files/gscan2pdf/2.6.3/gscan2pdf-2.6.3.tar.xz"
-MD5SUM="d9326a7cc51bf37fbd10e3cc5f1e79fb"
+DOWNLOAD="https://sourceforge.net/projects/gscan2pdf/files/gscan2pdf/2.11.0/gscan2pdf-2.11.0.tar.xz"
+MD5SUM="8cab16574dd95cab3d7d7c3b5c43ea60"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-Image-Sane perl-Image-Magick perl-Log-Log4perl perl-Date-Calc perl-GooCanvas2 perl-config-general"
+REQUIRES="perl-glib perl-Gtk3 perl-Image-Sane perl-Image-Magick perl-IPC-System-Simple perl-Date-Calc perl-HTML-Parser perl-Log-Log4perl perl-Try-Tiny perl-Carp-Clan perl-Sub-Override perl-PDF-Builder perl-Proc-ProcessTable perl-Gtk3-SimpleList perl-Set-IntSpan perl-List-MoreUtils perl-Filesys-Df"
MAINTAINER="Michel A. BEGUE"
EMAIL="mab974@gmail.com"