summaryrefslogtreecommitdiff
path: root/graphics/djview4
diff options
context:
space:
mode:
authorVladimir Yatsemirski <7catssmile@gmail.com>2015-05-15 07:41:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-15 07:41:47 +0700
commitddbf14d3ee1321e479e821667df3afaf0c8dc7e0 (patch)
tree1ae413d129289d0bed5ac0df3e61c3f7e23725cb /graphics/djview4
parent26c287254f4f09792a100611d5dadcfa411a8a57 (diff)
downloadslackbuilds-ddbf14d3ee1321e479e821667df3afaf0c8dc7e0.tar.gz
graphics/djview4: Updated for version 4.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/djview4')
-rw-r--r--graphics/djview4/README2
-rw-r--r--graphics/djview4/djview4.SlackBuild20
-rw-r--r--graphics/djview4/djview4.info6
3 files changed, 12 insertions, 16 deletions
diff --git a/graphics/djview4/README b/graphics/djview4/README
index 786d869304..c42b6373f8 100644
--- a/graphics/djview4/README
+++ b/graphics/djview4/README
@@ -1,6 +1,7 @@
DjView4 is a portable DjVu viewer and browser plugin.
- Entirely based on the public djvulibre api.
+- Entirely written in portable Qt4.
- Continuous scrolling of pages
- Side-by-side display of pages
- Ability to specify a url to the djview command
@@ -10,3 +11,4 @@ DjView4 is a portable DjVu viewer and browser plugin.
- Display outlines
- Page names supported (see djvused command set-page-title)
- Metadata dialog (see djvused command set-meta)
+- Implemented as reusable Qt widgets
diff --git a/graphics/djview4/djview4.SlackBuild b/graphics/djview4/djview4.SlackBuild
index 5fc7d50849..a60ec996c5 100644
--- a/graphics/djview4/djview4.SlackBuild
+++ b/graphics/djview4/djview4.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2008-2010 Murat D. Kadirov <banderols@gmail.com>
# Copyright 2012 Binh Nguyen <binhvng@gmail.com>
-# Copyright 2014 Vladimir Yatsemirski <7catssmile@gmail.com>
+# Copyright 2015 Vladimir Yatsemirski <7catssmile@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Thanks Jean-Pierre Moreau.
+
PRGNAM=djview4
-VERSION=${VERSION:-4.9}
+VERSION=${VERSION:-4.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,6 +65,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/djview-$VERSION.tar.gz
+mv djview-$VERSION djview4-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -89,17 +92,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-# This plugin *should* work with Mozilla-based browsers
-if [ "$ARCH" = "x86_64" ]; then
- mv $PKG/usr/lib$LIBDIRSUFFIX/netscape $PKG/usr/lib$LIBDIRSUFFIX/mozilla
-else
- mv $PKG/usr/lib/netscape $PKG/usr/lib/mozilla
-fi
-
-mkdir -p $PKG/usr/share/{applications,pixmaps,}
-cp $PKG/usr/share/djvu/djview4/desktop/*.desktop \
- $PKG/usr/share/applications
-cp $PKG/usr/share/djvu/djview4/desktop/hi32-djview4.png \
+mkdir -p $PKG/usr/share/pixmaps
+cp $PKG/usr/share/icons/hicolor/32x32/mimetypes/djvulibre-djview4.png \
$PKG/usr/share/pixmaps/djvulibre-djview4.png
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/graphics/djview4/djview4.info b/graphics/djview4/djview4.info
index 7e6580e573..8af9c0553f 100644
--- a/graphics/djview4/djview4.info
+++ b/graphics/djview4/djview4.info
@@ -1,8 +1,8 @@
PRGNAM="djview4"
-VERSION="4.9"
+VERSION="4.10"
HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
-DOWNLOAD="http://downloads.sourceforge.net/djvu/djview-4.9.tar.gz"
-MD5SUM="0390cb133ffc7d3054f2184629e5b336"
+DOWNLOAD="http://downloads.sourceforge.net/djvu/djview-4.10.tar.gz"
+MD5SUM="eaa55a94ca03f0cf39d6a4b384179241"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""