On Fri, Aug 24, 2012 at 12:40:18AM +0600, Alexandr Shadchin wrote:
> On Sat, Jul 07, 2012 at 04:20:28PM +0600, Alexandr Shadchin wrote:
> > On Tue, May 01, 2012 at 01:46:57AM +0600, Alexandr Shadchin wrote:
> > > Hi,
> > >
> > > This update package djview4 to the latest release 4.9.
> > > Tested on amd64.
> > >
> > > Change:
> > > - Added language selection in preference.
> > > - Added option to override printing and saving restrictions.
> > > - Automatic reloading of djvu documents when the file is changed.
> > > - New chinese translations.
> > > - Improved network code (needs Qt>=4.4.)
> > > - Remember the last visited position for the last 50 documents.
> > >
> > > Comments ? OK ?
> > >
> >
> > Update diff. OK ?
> >
>
> Regen distinfo. Ping.
>
Ping
--
Alexandr Shadchin
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/djview4/Makefile,v
retrieving revision 1.17
diff -u -p -w -r1.17 Makefile
--- Makefile 23 Dec 2012 13:25:11 -0000 1.17
+++ Makefile 31 Dec 2012 15:20:09 -0000
@@ -2,10 +2,9 @@
COMMENT= portable DjVu viewer and browser plugin
-DISTNAME= djview-4.8
+DISTNAME= djview-4.9
PKGNAME= ${DISTNAME:S/djview/djview4/}
CATEGORIES= graphics print
-REVISION= 3
HOMEPAGE= http://djvu.sourceforge.net/djview4.html
@@ -17,8 +16,8 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-WANTLIB += QtGui QtNetwork X11 Xext c djvulibre m pthread stdc++ tiff
-WANTLIB += ICE SM Xi Xinerama Xrender fontconfig freetype
+WANTLIB += ICE QtGui QtNetwork SM X11 Xext Xi Xinerama Xrender
+WANTLIB += c djvulibre fontconfig freetype m pthread stdc++ tiff
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=djvu/}
@@ -38,5 +37,7 @@ CONFIGURE_ENV+= QTDIR="${MODQT4_QTDIR}"
CPPFLAGS="-I${X11BASE}/include"
NO_REGRESS= Yes
+
+WRKDIST= ${WRKDIR}/${DISTNAME:S/djview/djview4/}
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/djview4/distinfo,v
retrieving revision 1.5
diff -u -p -w -r1.5 distinfo
--- distinfo 1 Oct 2011 19:12:32 -0000 1.5
+++ distinfo 31 Dec 2012 15:20:09 -0000
@@ -1,5 +1,2 @@
-MD5 (djview-4.8.tar.gz) = cO+PQWx9aJLMDPASv9CuBw==
-RMD160 (djview-4.8.tar.gz) = oa5yRA0TxtpXMlVxzzBIgt44Jbc=
-SHA1 (djview-4.8.tar.gz) = Jm0gevtjoe5j7tBUGQv4iIj9pXI=
-SHA256 (djview-4.8.tar.gz) = jHRufClFym4IBGtJ0NCuypXTidgjZc1xERAludeWyJ8=
-SIZE (djview-4.8.tar.gz) = 883481
+SHA256 (djview-4.9.tar.gz) = 0VD1V6qgczVtd8H15WampWYoHfX5I5W2giE58OXJDgw=
+SIZE (djview-4.9.tar.gz) = 930676
Index: patches/patch-desktopfiles_Makefile_in
===================================================================
RCS file: /cvs/ports/graphics/djview4/patches/patch-desktopfiles_Makefile_in,v
retrieving revision 1.1
diff -u -p -w -r1.1 patch-desktopfiles_Makefile_in
--- patches/patch-desktopfiles_Makefile_in 18 Sep 2010 11:19:24 -0000
1.1
+++ patches/patch-desktopfiles_Makefile_in 31 Dec 2012 15:20:09 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-desktopfiles_Makefile_in,v 1.1 2010/09/18 11:19:24 steven Exp $
---- desktopfiles/Makefile.in.orig Sat Mar 20 21:38:33 2010
-+++ desktopfiles/Makefile.in Sun Aug 29 21:11:01 2010
-@@ -39,6 +39,8 @@ XDG_DESKTOP_MENU = @XDG_DESKTOP_MENU@
+--- desktopfiles/Makefile.in.orig Tue Apr 10 09:56:55 2012
++++ desktopfiles/Makefile.in Sun Apr 15 22:10:40 2012
+@@ -40,6 +40,8 @@ XDG_DESKTOP_MENU = @XDG_DESKTOP_MENU@
RM = @RM@
datadir_djview = ${datadir}/djvu/djview4/desktop
@@ -10,7 +10,7 @@ $OpenBSD: patch-desktopfiles_Makefile_in
# -------- all
-@@ -70,13 +72,14 @@ register-djview-menu: register-djview-menu.in
+@@ -73,13 +75,14 @@ register-djview-menu: register-djview-menu.in
install: install-djview-files
install-djview-files: FORCE
Index: patches/patch-src_qdjvuwidget_cpp
===================================================================
RCS file: patches/patch-src_qdjvuwidget_cpp
diff -N patches/patch-src_qdjvuwidget_cpp
--- patches/patch-src_qdjvuwidget_cpp 18 Jun 2012 10:14:38 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,25 +0,0 @@
-$OpenBSD: patch-src_qdjvuwidget_cpp,v 1.2 2012/06/18 10:14:38 espie Exp $
---- src/qdjvuwidget.cpp.orig Wed Aug 17 16:24:20 2011
-+++ src/qdjvuwidget.cpp Mon Jun 18 12:13:54 2012
-@@ -152,20 +152,12 @@ all_numbers(const char *s)
- return true;
- }
-
--template<class T> static inline void
--swap(T& x, T& y)
--{
-- T tmp;
-- tmp = x;
-- x = y;
-- y = tmp;
--}
--
- template<class T> static inline int
- ksmallest(T *v, int n, int k)
- {
- int lo = 0;
- int hi = n-1;
-+ using std::swap;
- while (lo<hi)
- {
- int m,l,h;
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/djview4/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -w -r1.5 PLIST
--- pkg/PLIST 15 Jun 2012 08:32:16 -0000 1.5
+++ pkg/PLIST 31 Dec 2012 15:20:09 -0000
@@ -15,6 +15,8 @@ share/djvu/djview4/djview_de.qm
share/djvu/djview4/djview_fr.qm
share/djvu/djview4/djview_ru.qm
share/djvu/djview4/djview_uk.qm
+share/djvu/djview4/djview_zh_cn.qm
+share/djvu/djview4/djview_zh_tw.qm
share/icons/hicolor/32x32/apps/djvulibre-djview4.png
share/icons/hicolor/64x64/apps/djvulibre-djview4.png
share/icons/hicolor/scalable/apps/djvulibre-djview4.svg