aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2022-06-06 18:47:42 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2022-06-06 18:47:42 +0000
commite19c97fdc29aef956804ffbf82aa05751fae31a1 (patch)
tree7cd61a6b5a621b50796cf6452ae75a77f2e6c83d
parenta3ead318049980643a3ffe91fccf119a5c0a8da3 (diff)
downloadports-e19c97fdc29aef956804ffbf82aa05751fae31a1.tar.gz
ports-e19c97fdc29aef956804ffbf82aa05751fae31a1.zip
textproc/goldendict: the port had been updated and unbroken (+)
- Update to the latest GitHub commit (they're still not tagging any new releases) - Unbreak the build on recent -CURRENT by adding missing #include <locale.h> - Assume maintainership of the port for the time being Reported by: pkg-fallout
-rw-r--r--textproc/goldendict/Makefile8
-rw-r--r--textproc/goldendict/distinfo6
-rw-r--r--textproc/goldendict/pkg-plist5
3 files changed, 11 insertions, 8 deletions
diff --git a/textproc/goldendict/Makefile b/textproc/goldendict/Makefile
index a0c98682fee6..a8b51e958a7c 100644
--- a/textproc/goldendict/Makefile
+++ b/textproc/goldendict/Makefile
@@ -1,10 +1,10 @@
# Created by: Boris Samorodov <bsam@FreeBSD.org>
PORTNAME= goldendict
-DISTVERSION= 1.5.0-g20210115
+DISTVERSION= 1.5.0-g20220602
CATEGORIES= textproc
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danfe@FreeBSD.org
COMMENT= Feature-rich dictionary lookup program
LICENSE= GPLv3+
@@ -20,7 +20,7 @@ LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \
USES= compiler:c++11-lang gnome iconv:wchar_t pkgconfig \
qmake qt:5 xorg
USE_GITHUB= yes
-GH_TAGNAME= 73ec1b5
+GH_TAGNAME= 99982a1
USE_XORG= x11 xtst
USE_QT= buildtools_build linguisttools_build core gui help \
network printsupport sql svg webkit widgets \
@@ -49,6 +49,8 @@ OPENCC_QMAKE_ON= CONFIG+="chinese_conversion_support"
post-patch:
@${REINPLACE_CMD} -e '/^VERSION = /s,git,&${GH_TAGNAME},' \
${WRKSRC}/goldendict.pro
+ @${REINPLACE_CMD} -e '/^#include <stdio\.h>/ { x; \
+ s/^/#include <locale.h>/; G; }' ${WRKSRC}/main.cc
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/locale
diff --git a/textproc/goldendict/distinfo b/textproc/goldendict/distinfo
index 068179b29531..194fc3086c3e 100644
--- a/textproc/goldendict/distinfo
+++ b/textproc/goldendict/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1610723742
-SHA256 (goldendict-goldendict-1.5.0-g20210115-73ec1b5_GH0.tar.gz) = 48fc218976bd173418741b862d55b50c6f8bd6434cf586bb13e9786290bfcb64
-SIZE (goldendict-goldendict-1.5.0-g20210115-73ec1b5_GH0.tar.gz) = 20210581
+TIMESTAMP = 1654167073
+SHA256 (goldendict-goldendict-1.5.0-g20220602-99982a1_GH0.tar.gz) = 138ea766bb2260a2bcc75327c2c900080fef5cb82edbb94aed1977d46a4c41af
+SIZE (goldendict-goldendict-1.5.0-g20220602-99982a1_GH0.tar.gz) = 20351546
diff --git a/textproc/goldendict/pkg-plist b/textproc/goldendict/pkg-plist
index 543131623a22..b75a06aec55d 100644
--- a/textproc/goldendict/pkg-plist
+++ b/textproc/goldendict/pkg-plist
@@ -1,6 +1,6 @@
bin/goldendict
-share/applications/goldendict.desktop
-share/metainfo/goldendict.appdata.xml
+share/applications/org.goldendict.GoldenDict.desktop
+share/metainfo/org.goldendict.GoldenDict.metainfo.xml
share/pixmaps/goldendict.png
%%DATADIR%%/help/gdhelp_en.qch
%%DATADIR%%/help/gdhelp_ru.qch
@@ -19,6 +19,7 @@ share/pixmaps/goldendict.png
%%DATADIR%%/locale/fa_IR.qm
%%DATADIR%%/locale/fi_FI.qm
%%DATADIR%%/locale/fr_FR.qm
+%%DATADIR%%/locale/hi_IN.qm
%%DATADIR%%/locale/ie_001.qm
%%DATADIR%%/locale/it_IT.qm
%%DATADIR%%/locale/ja_JP.qm