summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2022-08-16 00:06:44 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-20 09:14:21 +0700
commit5adc25164241f7313600699fc5702d9ee34fd9a1 (patch)
tree3743df0a8bb8ce94024f2617d16aa7ac35fc99f5 /graphics
parentfe913794bb192bac46ea71aad5adde6ac8214223 (diff)
downloadslackbuilds-5adc25164241f7313600699fc5702d9ee34fd9a1.tar.gz
graphics/pdf2png: Updated for version 0.5.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pdf2png/README12
-rw-r--r--graphics/pdf2png/pdf2png.SlackBuild12
-rw-r--r--graphics/pdf2png/pdf2png.info6
-rw-r--r--graphics/pdf2png/slack-desc3
4 files changed, 14 insertions, 19 deletions
diff --git a/graphics/pdf2png/README b/graphics/pdf2png/README
index df727b452a..866e73657c 100644
--- a/graphics/pdf2png/README
+++ b/graphics/pdf2png/README
@@ -1,15 +1,15 @@
-pdf2png converts PDF files to image format with a simple graphical
-interface based on python, using ghostscript.
+pdf2png converts PDF files to image format with a simple
+graphical interface based on python, using ghostscript.
-It supports up to 4 different image extensions like PNG, JPEG, BMP
+It supports up to 4 different image extensions like PNG, JPEG, BMP,
and TIFF.
How To-
Increasing or decreasing the resolution will change the image quality.
-Once given correct numbers for the From page and To page, click on
-Select PDF file to open a dialog window to browse and select the
-wanted PDF book, and click on Convert to convert the selected pages.
+Once given correct numbers for the From page and To page,
+click on Select PDF file to open a dialog window to browse and select
+the wanted PDF book, and click on Convert to convert the selected pages.
It would convert the pdf and output the image(s) in the same directory
where the pdf resides.
diff --git a/graphics/pdf2png/pdf2png.SlackBuild b/graphics/pdf2png/pdf2png.SlackBuild
index 520c94b3a9..63c23c022f 100644
--- a/graphics/pdf2png/pdf2png.SlackBuild
+++ b/graphics/pdf2png/pdf2png.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pdf2png
-# Copyright 2014 Aaditya Bagga <aaditya_gnulinux@zoho.com>
+# Copyright 2014-2022 Aaditya Bagga <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,14 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pdf2png
-VERSION=${VERSION:-0.5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.5.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -59,9 +56,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Patch for using python3 in header
-sed -i 's|#!/usr/bin/python3|#!/usr/bin/python|' bin/$PRGNAM.py
-
make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/pdf2png/pdf2png.info b/graphics/pdf2png/pdf2png.info
index 5376403ab3..69a0e5a761 100644
--- a/graphics/pdf2png/pdf2png.info
+++ b/graphics/pdf2png/pdf2png.info
@@ -1,8 +1,8 @@
PRGNAM="pdf2png"
-VERSION="0.5"
+VERSION="0.5.3"
HOMEPAGE="https://github.com/aadityabagga/pdf2png"
-DOWNLOAD="https://github.com/aadityabagga/pdf2png/archive/0.5.tar.gz"
-MD5SUM="f7cb3d67d5acb978e6ce910dfd213937"
+DOWNLOAD="https://github.com/aadityabagga/pdf2png/archive/0.5.3.tar.gz"
+MD5SUM="473eb4da10a52eafe265831ff0f06ce7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/pdf2png/slack-desc b/graphics/pdf2png/slack-desc
index e793ba64af..530381f4f7 100644
--- a/graphics/pdf2png/slack-desc
+++ b/graphics/pdf2png/slack-desc
@@ -14,6 +14,7 @@ pdf2png:
pdf2png: It supports up to 4 different image extensions like PNG, JPEG,
pdf2png: BMP and TIFF.
pdf2png:
-pdf2png: Homepage: https://github.com/aadityabagga/pdf2png
+pdf2png: Homepage: https://github.com/abchk1234/pdf2png
+pdf2png:
pdf2png:
pdf2png: