git: 3b89aa332947 - main - graphics/djview4: Udptate to 4.12.3 and switch to qt6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Jan 2026 07:16:16 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3b89aa3329471f7e518b1f14d6d61c8a517ee877
commit 3b89aa3329471f7e518b1f14d6d61c8a517ee877
Author: mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2026-01-19 17:43:50 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2026-01-20 07:15:49 +0000
graphics/djview4: Udptate to 4.12.3 and switch to qt6
ChangeLog:
https://sourceforge.net/p/djvu/djview-git/ci/af9de8009475d17d3340ec780256a118be6270f6/log/
Submitter takes maintainership. Already maintaining several ports
PR: 292586
---
graphics/djview4/Makefile | 29 +++++++++++------------------
graphics/djview4/distinfo | 6 +++---
graphics/djview4/pkg-plist | 1 +
3 files changed, 15 insertions(+), 21 deletions(-)
diff --git a/graphics/djview4/Makefile b/graphics/djview4/Makefile
index bf791afb2c93..248e386c717f 100644
--- a/graphics/djview4/Makefile
+++ b/graphics/djview4/Makefile
@@ -1,38 +1,31 @@
PORTNAME= djview
-PORTVERSION= 4.12
-PORTREVISION= 4
+DISTVERSION= 4.12.3
CATEGORIES= graphics
-MASTER_SITES= SF/djvu/DjView/${PORTVERSION}
+MASTER_SITES= SF/djvu/DjView/${DISTVERSION:R}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mew14930xvi@inbox.lv
COMMENT= Standalone Djvu viewer and plugin based on Qt toolkit
-WWW= https://djvu.sourceforge.net/
+WWW= https://djvu.sourceforge.net/djview4.html
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_riscv64= fails to build: ./npsdk/prcpucfg.h:751:2: Unknown CPU architecture
+BROKEN_riscv64= fails to build: ./nsdejavu/npsdk/prcpucfg.h:751:2: Unknown CPU architecture
LIB_DEPENDS= libdjvulibre.so:graphics/djvulibre \
libtiff.so:graphics/tiff
USES= autoreconf desktop-file-utils gettext-runtime gl gmake gnome \
- libtool localbase pkgconfig qt:5 webplugin:native xorg
-USE_GL= gl
+ libtool localbase pkgconfig qt:6 xorg
+USE_GL= opengl
USE_GNOME= glib20
-USE_QT= core gui network opengl printsupport widgets \
- buildtools:build linguisttools:build qmake:build
-USE_XORG= sm ice xext xt
+USE_QT= 5compat base tools:build
+USE_XORG= xext xorgproto xt
GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ENV= LRELEASE="${LRELEASE}" LUPDATE="${LUPDATE}"
INSTALL_TARGET= install-strip
-WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R}-${PORTVERSION}
-
-WEBPLUGIN_DIR= ${PREFIX}/lib/djview4/plugins
-WEBPLUGIN_FILES= nsdejavu.so
BINARY_ALIAS= qmake=${QMAKE}
@@ -54,8 +47,8 @@ post-patch:
${WRKSRC}/nsdejavu/Makefile.am
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/djview
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/djview
# Create a symbolic link to match desktop file exec name
- ${LN} -sf djview ${STAGEDIR}${PREFIX}/bin/djview4
+ ${RLN} djview ${STAGEDIR}${PREFIX}/bin/djview4
.include <bsd.port.mk>
diff --git a/graphics/djview4/distinfo b/graphics/djview4/distinfo
index 95568c7abd09..734789fc5ff9 100644
--- a/graphics/djview4/distinfo
+++ b/graphics/djview4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1613156599
-SHA256 (djview-4.12.tar.gz) = 5673c6a8b7e195b91a1720b24091915b8145de34879db1158bc936b100eaf3e3
-SIZE (djview-4.12.tar.gz) = 713842
+TIMESTAMP = 1768649032
+SHA256 (djview-4.12.3.tar.gz) = 17bfb9731ab8070e01235381f08e57b1231ffb5f49eb031873ebfa189cdaf47d
+SIZE (djview-4.12.3.tar.gz) = 1986642
diff --git a/graphics/djview4/pkg-plist b/graphics/djview4/pkg-plist
index 5afbab8101c0..a56a50d29c5c 100644
--- a/graphics/djview4/pkg-plist
+++ b/graphics/djview4/pkg-plist
@@ -6,6 +6,7 @@ share/djvu/djview4/djview_cs.qm
share/djvu/djview4/djview_de.qm
share/djvu/djview4/djview_es.qm
share/djvu/djview4/djview_fr.qm
+share/djvu/djview4/djview_pl.qm
share/djvu/djview4/djview_ru.qm
share/djvu/djview4/djview_uk.qm
share/djvu/djview4/djview_zh_cn.qm