svn commit: r506808 - in head: . textproc textproc/goldendict textproc/goldendict/files

Alexey Dokuchaev danfe at FreeBSD.org
Wed Jul 17 17:24:43 UTC 2019


Author: danfe
Date: Wed Jul 17 17:24:41 2019
New Revision: 506808
URL: https://svnweb.freebsd.org/changeset/ports/506808

Log:
  - Resurrect and update to the latest GitHub version (1.5.0-g20190709)
  - Allow for more granular builds by introducing EPWING (Japanese
    dictionary format support), FFMPEG, and OPENCC (Chinese conversion
    support) options; enable them by default for feature-rich package
  - Reword the COMMENT and the port description text while I'm here

Added:
  head/textproc/goldendict/
     - copied from r495966, head/textproc/goldendict/
Deleted:
  head/textproc/goldendict/files/
Modified:
  head/MOVED
  head/textproc/Makefile
  head/textproc/goldendict/Makefile
  head/textproc/goldendict/distinfo
  head/textproc/goldendict/pkg-descr
  head/textproc/goldendict/pkg-plist

Modified: head/MOVED
==============================================================================
--- head/MOVED	Wed Jul 17 16:30:35 2019	(r506807)
+++ head/MOVED	Wed Jul 17 17:24:41 2019	(r506808)
@@ -11913,7 +11913,6 @@ sysutils/qzeitgeist||2019-03-16|Has expired: Qt4 has b
 sysutils/searchmonkey||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 textproc/beediff||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 textproc/dixit||2019-03-16|Has expired: Qt4 has been EOL since december 2015
-textproc/goldendict||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 textproc/ibus-qt||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 textproc/py-qt4-xml||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 textproc/py-qt4-xmlpatterns||2019-03-16|Has expired: Qt4 has been EOL since december 2015

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Wed Jul 17 16:30:35 2019	(r506807)
+++ head/textproc/Makefile	Wed Jul 17 17:24:41 2019	(r506808)
@@ -221,6 +221,7 @@
     SUBDIR += gmetadom
     SUBDIR += gnome-doc-utils
     SUBDIR += gnugrep
+    SUBDIR += goldendict
     SUBDIR += google-ctemplate
     SUBDIR += google-translate-cli
     SUBDIR += gpp

Modified: head/textproc/goldendict/Makefile
==============================================================================
--- head/textproc/goldendict/Makefile	Sat Mar 16 21:52:35 2019	(r495966)
+++ head/textproc/goldendict/Makefile	Wed Jul 17 17:24:41 2019	(r506808)
@@ -2,34 +2,43 @@
 # $FreeBSD$
 
 PORTNAME=	goldendict
-PORTVERSION=	1.0.1
-PORTREVISION=	16
+DISTVERSION=	1.5.0-g20190709
 CATEGORIES=	textproc
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:C|(.*)\.[0-9]*$|\1|}/
-DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
 MAINTAINER=	bsam at FreeBSD.org
-COMMENT=	Feature-rich Qt4 based dictionary lookup program
+COMMENT=	Feature-rich dictionary lookup program
 
 LICENSE=	GPLv3
 
-DEPRECATED=		Qt4 has been EOL since december 2015
-EXPIRATION_DATE=	2019-03-15
-
 LIB_DEPENDS=	libhunspell-1.7.so:textproc/hunspell \
+		liblzo2.so:archivers/lzo2 \
 		libvorbis.so:audio/libvorbis
 
-NO_WRKSUBDIR=	yes
-USES=		compiler:c++11-lang dos2unix iconv:wchar_t pkgconfig qmake qt:4 tar:bzip2
-DOS2UNIX_FILES=	processwrapper.cc
+USES=		compiler:c++11-lang gnome iconv:wchar_t pkgconfig \
+		qmake qt:5
+USE_GITHUB=	yes
+GH_TAGNAME=	05bfc35
 USE_XORG=	xtst
-USE_QT=		corelib gui webkit phonon \
-		linguist_build moc_build rcc_build script_build uic_build
-LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
+USE_QT=		buildtools_build linguisttools_build core gui help \
+		multimedia network printsupport sql svg webkit widgets \
+		x11extras xml
 INSTALLS_ICONS=	yes
+QMAKE_ARGS=	${PORTNAME}.pro CONFIG+="zim_support"
 
-post-patch:
-	@${REINPLACE_CMD} 's:/usr:${PREFIX}:' ${WRKSRC}/redist/goldendict.desktop
+OPTIONS_DEFINE=	EPWING FFMPEG OPENCC
+OPTIONS_DEFAULT=	EPWING FFMPEG OPENCC
+
+EPWING_DESC=		Japanese EPWING dictionary format support
+EPWING_LIB_DEPENDS=	libeb.so:japanese/eb
+EPWING_QMAKE_OFF=	CONFIG+="no_epwing_support"
+
+FFMPEG_LIB_DEPENDS=	libao.so:audio/libao \
+			libavutil.so:multimedia/ffmpeg
+FFMPEG_QMAKE_OFF=	CONFIG+="no_ffmpeg_player"
+
+OPENCC_DESC=		Chinese conversion support via OpenCC
+OPENCC_LIB_DEPENDS=	libopencc.so:chinese/opencc
+OPENCC_QMAKE_ON=	CONFIG+="chinese_conversion_support"
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}/locale

Modified: head/textproc/goldendict/distinfo
==============================================================================
--- head/textproc/goldendict/distinfo	Sat Mar 16 21:52:35 2019	(r495966)
+++ head/textproc/goldendict/distinfo	Wed Jul 17 17:24:41 2019	(r506808)
@@ -1,2 +1,3 @@
-SHA256 (goldendict-1.0.1-src.tar.bz2) = b3fb0405a5edb38f02ef881b48c36e46e2eacf641b0caf8d99403f595a4be9a6
-SIZE (goldendict-1.0.1-src.tar.bz2) = 2705932
+TIMESTAMP = 1562684423
+SHA256 (goldendict-goldendict-1.5.0-g20190709-05bfc35_GH0.tar.gz) = 44e99110caec5edb942119459e49754a9ffaa6677eda983e94873f0e65bdfbda
+SIZE (goldendict-goldendict-1.5.0-g20190709-05bfc35_GH0.tar.gz) = 18694740

Modified: head/textproc/goldendict/pkg-descr
==============================================================================
--- head/textproc/goldendict/pkg-descr	Sat Mar 16 21:52:35 2019	(r495966)
+++ head/textproc/goldendict/pkg-descr	Wed Jul 17 17:24:41 2019	(r506808)
@@ -1,12 +1,7 @@
-The project aims to create a feature-rich dictionary lookup program.
-It supports:
-    * Babylon .BGL files, complete with images and resources;
-    * StarDict .ifo/.dict./.idx/.syn dictionaries;
-    * Dictd .index/.dict(.dz) dictionary files;
-    * ABBYY Lingvo .dsl source files, together with abbreviations.
-      The files can be optionally compressed with dictzip. Dictionary
-      resources can be packed together into a .zip file;
-    * ABBYY Lingvo .lsa/.dat audio archives. Those can be indexed
-      separately, or be referred to from .dsl files.
+A feature-rich dictionary lookup program, supporting multiple dictionary
+formats (StarDict/Babylon/Lingvo/Dictd) and online dictionaries, featuring
+perfect article rendering with the complete markup, illustrations and other
+content retained, and allowing you to type in words without any accents or
+correct case.
 
 WWW: http://goldendict.org/

Modified: head/textproc/goldendict/pkg-plist
==============================================================================
--- head/textproc/goldendict/pkg-plist	Sat Mar 16 21:52:35 2019	(r495966)
+++ head/textproc/goldendict/pkg-plist	Wed Jul 17 17:24:41 2019	(r506808)
@@ -1,14 +1,42 @@
 bin/goldendict
 share/applications/goldendict.desktop
+share/metainfo/goldendict.appdata.xml
 share/pixmaps/goldendict.png
+%%DATADIR%%/help/gdhelp_en.qch
+%%DATADIR%%/help/gdhelp_ru.qch
 %%DATADIR%%/locale/ar_SA.qm
+%%DATADIR%%/locale/ay_WI.qm
+%%DATADIR%%/locale/be_BY.qm
+%%DATADIR%%/locale/be_BY at latin.qm
 %%DATADIR%%/locale/bg_BG.qm
 %%DATADIR%%/locale/cs_CZ.qm
 %%DATADIR%%/locale/de_DE.qm
 %%DATADIR%%/locale/el_GR.qm
+%%DATADIR%%/locale/eo_EO.qm
+%%DATADIR%%/locale/es_AR.qm
+%%DATADIR%%/locale/es_BO.qm
+%%DATADIR%%/locale/es_ES.qm
+%%DATADIR%%/locale/fa_IR.qm
+%%DATADIR%%/locale/fi_FI.qm
+%%DATADIR%%/locale/fr_FR.qm
 %%DATADIR%%/locale/it_IT.qm
+%%DATADIR%%/locale/ja_JP.qm
+%%DATADIR%%/locale/ko_KR.qm
 %%DATADIR%%/locale/lt_LT.qm
+%%DATADIR%%/locale/mk_MK.qm
+%%DATADIR%%/locale/nl_NL.qm
+%%DATADIR%%/locale/pl_PL.qm
+%%DATADIR%%/locale/pt_BR.qm
+%%DATADIR%%/locale/qu_WI.qm
 %%DATADIR%%/locale/ru_RU.qm
+%%DATADIR%%/locale/sk_SK.qm
+%%DATADIR%%/locale/sq_AL.qm
+%%DATADIR%%/locale/sr_SR.qm
+%%DATADIR%%/locale/sv_SE.qm
+%%DATADIR%%/locale/tg_TJ.qm
+%%DATADIR%%/locale/tk_TM.qm
+%%DATADIR%%/locale/tr_TR.qm
 %%DATADIR%%/locale/uk_UA.qm
 %%DATADIR%%/locale/vi_VN.qm
 %%DATADIR%%/locale/zh_CN.qm
+%%DATADIR%%/locale/zh_TW.qm


More information about the svn-ports-head mailing list