summaryrefslogtreecommitdiff
path: root/graphics/djview4
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2020-12-09 15:08:29 +0000
committerryoon <ryoon@pkgsrc.org>2020-12-09 15:08:29 +0000
commit3895c4e2de37e715836652e5ade78226c7c16024 (patch)
tree7bbfc98d0cf2d931fc2e5494efeccedf7805305b /graphics/djview4
parentd460ae2c72b08a8a12b822b0a9985d46aa8d463b (diff)
downloadpkgsrc-3895c4e2de37e715836652e5ade78226c7c16024.tar.gz
djview4: Update to 4.12
Changelog: NEW IN VERSION 4.12 ------------------- - Fixes for recent compilers - Fixes for Qt-5.15 - Fixes in tiff2pdf.c - Updated documentation (most browsers no longer support plugins) - Spanish localization (from Mike Molina) NEW IN VERSION 4.11 ------------------- - Support for pinch gestures - New shortcuts on mac - Support for high dpi displays - Spanish translations - Bug fixes - Workaround for qt5.5 embed bug - Fixed annotation display bugs revealed by qt5 - Urls in outline are now opened by djview if mime type is djvu.
Diffstat (limited to 'graphics/djview4')
-rw-r--r--graphics/djview4/Makefile10
-rw-r--r--graphics/djview4/PLIST6
-rw-r--r--graphics/djview4/distinfo12
-rw-r--r--graphics/djview4/patches/patch-configure13
-rw-r--r--graphics/djview4/patches/patch-src_Makefile.in22
5 files changed, 14 insertions, 49 deletions
diff --git a/graphics/djview4/Makefile b/graphics/djview4/Makefile
index 91f3d35a462..7303464554d 100644
--- a/graphics/djview4/Makefile
+++ b/graphics/djview4/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.50 2020/11/05 09:08:19 ryoon Exp $
+# $NetBSD: Makefile,v 1.51 2020/12/09 15:08:29 ryoon Exp $
#
-DISTNAME= djview-4.10.6
+DISTNAME= djview-4.12
PKGNAME= ${DISTNAME:S/djview/djview4/}
-PKGREVISION= 10
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=djvu/}
@@ -12,10 +11,13 @@ HOMEPAGE= http://djvu.sourceforge.net/
COMMENT= Portable DjVu viewer and browser plugin
LICENSE= gnu-gpl-v2
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
GNU_CONFIGURE= yes
+CONFIGURE_SCRIPT= autogen.sh
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
-USE_TOOLS+= gmake pkg-config
+USE_TOOLS+= automake gmake pkg-config
SUBST_CLASSES+= nsdejavu
SUBST_STAGE.nsdejavu= pre-configure
diff --git a/graphics/djview4/PLIST b/graphics/djview4/PLIST
index e80c371f276..85ab0e18eba 100644
--- a/graphics/djview4/PLIST
+++ b/graphics/djview4/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.5 2016/01/31 07:27:04 ryoon Exp $
-bin/djview4
+@comment $NetBSD: PLIST,v 1.6 2020/12/09 15:08:29 ryoon Exp $
+bin/djview
lib/mozilla/plugins/nsdejavu.la
-man/man1/djview4.1
+man/man1/djview.1
man/man1/nsdejavu.1
share/applications/djvulibre-djview4.desktop
share/djvu/djview4/djview_cs.qm
diff --git a/graphics/djview4/distinfo b/graphics/djview4/distinfo
index bae12b8e0ff..2193e8b8e9b 100644
--- a/graphics/djview4/distinfo
+++ b/graphics/djview4/distinfo
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.8 2016/05/04 10:29:17 ryoon Exp $
+$NetBSD: distinfo,v 1.9 2020/12/09 15:08:29 ryoon Exp $
-SHA1 (djview-4.10.6.tar.gz) = 9d2790f208fea45f5cd31cfd5ab6b24a3ba91415
-RMD160 (djview-4.10.6.tar.gz) = 9c8a5d878a594e4f87d3c1a392674148076061ee
-SHA512 (djview-4.10.6.tar.gz) = c06b9c4c7addd9dededdc9d441094bca685c4d23744e3d1208eab33d9d341a85f120176bf9f1b879ac6620f591eefe05ac774870b1ba3215c43baf1eaf9d14f8
-Size (djview-4.10.6.tar.gz) = 1113072 bytes
-SHA1 (patch-configure) = 184199fb193c3eba562fc1fca336bcefe70eacde
-SHA1 (patch-src_Makefile.in) = 041fb914c6c7cc6b574fe06f4af97d1e4c9f2664
+SHA1 (djview-4.12.tar.gz) = 66dca4f966b9e50b160ff2b0b6e05b9ac1bdb09f
+RMD160 (djview-4.12.tar.gz) = 92108c2c92b2593cb85dc288a578ed7440671838
+SHA512 (djview-4.12.tar.gz) = 0314c409b5474bb5bbe81aa2dc44b24507dac6f7cfde8d275a9d3bb1c2046b6ce2173543618ab7cbb702dbe94d7b2d85d3e19df09fafea73bb8662ee2ba89a01
+Size (djview-4.12.tar.gz) = 713842 bytes
diff --git a/graphics/djview4/patches/patch-configure b/graphics/djview4/patches/patch-configure
deleted file mode 100644
index 479d45fdd17..00000000000
--- a/graphics/djview4/patches/patch-configure
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-configure,v 1.2 2016/01/31 07:27:04 ryoon Exp $
-
---- configure.orig 2016-01-07 12:28:36.000000000 +0000
-+++ configure
-@@ -20132,7 +20132,7 @@ $as_echo "$as_me: WARNING: Disabling plu
- fi
- fi
-
--if test "$ac_nsdejavu" != no && test "$qtversion" == "qt4" ; then
-+if test "$ac_nsdejavu" != no && test "$qtversion" = "qt4" ; then
- ac_qt_x11=no
- ac_ext=cpp
- ac_cpp='$CXXCPP $CPPFLAGS'
diff --git a/graphics/djview4/patches/patch-src_Makefile.in b/graphics/djview4/patches/patch-src_Makefile.in
deleted file mode 100644
index b5d81448c2d..00000000000
--- a/graphics/djview4/patches/patch-src_Makefile.in
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-src_Makefile.in,v 1.1 2016/01/31 07:27:04 ryoon Exp $
-
---- src/Makefile.in.orig 2016-01-07 12:28:37.000000000 +0000
-+++ src/Makefile.in
-@@ -410,7 +410,7 @@ install-binSCRIPTS: $(bin_SCRIPTS)
- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
- test -z "$$files" || { \
- echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
-- $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
-+ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir/djview4" || exit $$?; \
- } \
- ; done
-
-@@ -457,7 +457,7 @@ install-man1: $(dist_man1_MANS)
- while read files; do \
- test -z "$$files" || { \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
-- $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
-+ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)/djview4.1" || exit $$?; }; \
- done; }
-
- uninstall-man1: