From nobody Tue Dec 17 00:58:58 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YBz364YGyz5gpQW; Tue, 17 Dec 2024 00:58:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBz363MLdz4PDj; Tue, 17 Dec 2024 00:58:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734397138; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wpgfAgdkf6F11+Rx2+B0gb42UyA0rEMmdtgFK/rKpqc=; b=Je2otPpmylGrLGZ5I7wGJ/JHUZjQ4APoiep2lb/e3JzmkyBDb7LACA6qOqiVUMmxsrbG94 ZZvf9G51yyO2l1aOLa1+jTwFuVj5z6jbfMt8MSzL8wq0Yt0cydH7BQ2aZRdpBBkLezS+Cg 0DIUs9eJrXfJrJ30MzKC5aTCSwpM/GWHkkaGOqQbifjN3wTAcs7aKmzsK8QpA/CPVbkeBT TQ3x3kd++0sqvCu+c0XhEEq5yf8fCsjT7i9qkXPLy356JY1dBr1uO5YYJ+eYyMBEDqB58t tuTjCF3yPscmOEEvwUKVTNm/254YKDD1FmRsOzmylcY7hNEna8oT3wcTi6/sYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734397138; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wpgfAgdkf6F11+Rx2+B0gb42UyA0rEMmdtgFK/rKpqc=; b=Koryha1Fehlqo/7gPsyREHE2Ji+XHvhsjSAt6cEBQeeRi5BXxtl//qV01mWaX4+MunoXTa v9prOZBhxvyHUOrMkldDRYsDjApHh+MJyO2wv0xyv+iQhSuUbDQ5uQ91ncS3O0Uc7qjPeM YVznU6FmnBZ3ydGyRP817xwwTBq42VirCrJVM7xb/JglO025OHr6SPI4lv6B6gB65j06KP 81XvYi1skj73PxE5d4PFnp0bbCPr9hzxS8bIYdX3EUMe40aqvFoGK13Qk/V1+7SheMo9Do wqUmh9/qWwx+s75LUifXTQxYwVDAp96IMSYzgW9M9W+KJWVqWP6D1x7BsvSBKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734397138; a=rsa-sha256; cv=none; b=WU7VLNHwe3bDd+4XESgzMxSN7/FM0hiFx0qDkEcg7MUnwTpTGSqYwmLLBnRJqUO6m0CPKf hw3odWeFY8M56RqJOiS3mQ+namL9OarxooaX+WfG7DVacoi8q9Uc5svYa2Mix/ic/xb6PD WDQ7lmKrIqlrAQwjYiy4jOozpg0zdCf2nINa1yEHHlcSQHLKuaZlB9498g26znhEq4c7K/ KrsxJm+YsEqmb8a/5g8h3CxERFsZcliOyNgjz0pbSkz3YjpM2pTsnjsR8Z79nkTGxO3yU8 h7nrnDXVLN4uFk2uw9v7mwpo0fh7apayN2cPKxarqjtpZMU/VjtLxOj5lIhZfg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YBz362zv5z1FwV; Tue, 17 Dec 2024 00:58:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BH0ww9H094807; Tue, 17 Dec 2024 00:58:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BH0wwRv094804; Tue, 17 Dec 2024 00:58:58 GMT (envelope-from git) Date: Tue, 17 Dec 2024 00:58:58 GMT Message-Id: <202412170058.4BH0wwRv094804@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 90396abe6ba1 - main - textproc/goldendict-ng: Advanced dictionary lookup program, supporting many formats List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 90396abe6ba1d754808eac9286e372650e11ac7d Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=90396abe6ba1d754808eac9286e372650e11ac7d commit 90396abe6ba1d754808eac9286e372650e11ac7d Author: mew14930xvi AuthorDate: 2024-12-11 15:21:52 +0000 Commit: Robert Clausecker CommitDate: 2024-12-17 00:31:51 +0000 textproc/goldendict-ng: Advanced dictionary lookup program, supporting many formats GoldenDict-ng is an advanced dictionary lookup program. Supports many dictionary formats, such as MDX, DSL, StarDict, Zim... Presents lookup results of multiple dictionaries in the same page. Supports special types of "dictionaries", such as external program, website, audio files... WWW: https://xiaoyifang.github.io/goldendict-ng/ --- textproc/Makefile | 1 + textproc/goldendict-ng/Makefile | 45 ++++++++++++++++++++++++++++++++++++ textproc/goldendict-ng/distinfo | 3 +++ textproc/goldendict-ng/pkg-descr | 6 +++++ textproc/goldendict-ng/pkg-plist | 50 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 105 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 3ad9aad24141..175c553b9f2a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -254,6 +254,7 @@ SUBDIR += go-yq SUBDIR += gojq SUBDIR += goldendict + SUBDIR += goldendict-ng SUBDIR += google-ctemplate SUBDIR += gpp SUBDIR += grap diff --git a/textproc/goldendict-ng/Makefile b/textproc/goldendict-ng/Makefile new file mode 100644 index 000000000000..fbdceeb9d829 --- /dev/null +++ b/textproc/goldendict-ng/Makefile @@ -0,0 +1,45 @@ +PORTNAME= goldendict-ng +DISTVERSIONPREFIX= v +DISTVERSION= 24.09.1 +CATEGORIES= textproc + +MAINTAINER= mew14930xvi@inbox.lv +COMMENT= Advanced dictionary lookup program, supporting many formats +WWW= https://xiaoyifang.github.io/goldendict-ng/ + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ + libfmt.so:devel/libfmt \ + libhunspell-1.7.so:textproc/hunspell \ + libicui18n.so:devel/icu \ + liblzo2.so:archivers/lzo2 \ + libopencc.so:chinese/opencc \ + libtomlplusplus.so:devel/tomlplusplus \ + libvorbis.so:audio/libvorbis \ + libxapian.so:databases/xapian-core \ + libzim.so:devel/libzim \ + libzstd.so:archivers/zstd + +USES= cmake compiler:c++17-lang desktop-file-utils gl pkgconfig qt:6 \ + xorg +USE_GITHUB= yes +GH_ACCOUNT= xiaoyifang +GH_TAGNAME= ca9dd13 +USE_GL= opengl +USE_QT= 5compat base declarative multimedia positioning svg webchannel \ + webengine tools:build +USE_XORG= ice sm x11 xext xtst + +CMAKE_ON= USE_ALTERNATIVE_NAME USE_SYSTEM_FMT USE_SYSTEM_TOML +CONFIGURE_WRKSRC= ${WRKSRC}/build_dir + +OPTIONS_DEFINE= EPWING +OPTIONS_DEFAULT= EPWING + +EPWING_DESC= Japanese EPWING dictionary format support +EPWING_LIB_DEPENDS= libeb.so:japanese/eb +EPWING_CMAKE_OFF= -DWITH_EPWING_SUPPORT=OFF + +.include diff --git a/textproc/goldendict-ng/distinfo b/textproc/goldendict-ng/distinfo new file mode 100644 index 000000000000..cc68c6ac997a --- /dev/null +++ b/textproc/goldendict-ng/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1731954321 +SHA256 (xiaoyifang-goldendict-ng-v24.09.1-ca9dd13_GH0.tar.gz) = dd3a26b9c596f7cde98e93ee58b8f3e68200b363e34723c0ed5b41a8e2369260 +SIZE (xiaoyifang-goldendict-ng-v24.09.1-ca9dd13_GH0.tar.gz) = 5701341 diff --git a/textproc/goldendict-ng/pkg-descr b/textproc/goldendict-ng/pkg-descr new file mode 100644 index 000000000000..ec3c96c0d145 --- /dev/null +++ b/textproc/goldendict-ng/pkg-descr @@ -0,0 +1,6 @@ +GoldenDict-ng is an advanced dictionary lookup program. + +Supports many dictionary formats, such as MDX, DSL, StarDict, Zim... +Presents lookup results of multiple dictionaries in the same page. +Supports special types of "dictionaries", such as external program, +website, audio files... diff --git a/textproc/goldendict-ng/pkg-plist b/textproc/goldendict-ng/pkg-plist new file mode 100644 index 000000000000..6c2d0fa56529 --- /dev/null +++ b/textproc/goldendict-ng/pkg-plist @@ -0,0 +1,50 @@ +bin/goldendict-ng +share/applications/io.github.xiaoyifang.goldendict_ng.desktop +share/metainfo/io.github.xiaoyifang.goldendict_ng.metainfo.xml +share/pixmaps/goldendict-ng.png +%%DATADIR%%/locale/ar_SA.qm +%%DATADIR%%/locale/ay_BO.qm +%%DATADIR%%/locale/be_BY.qm +%%DATADIR%%/locale/bg_BG.qm +%%DATADIR%%/locale/crowdin.qm +%%DATADIR%%/locale/cs_CZ.qm +%%DATADIR%%/locale/de_CH.qm +%%DATADIR%%/locale/de_DE.qm +%%DATADIR%%/locale/el_GR.qm +%%DATADIR%%/locale/eo_UY.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/hi_IN.qm +%%DATADIR%%/locale/hu_HU.qm +%%DATADIR%%/locale/ie_001.qm +%%DATADIR%%/locale/it_IT.qm +%%DATADIR%%/locale/ja_JP.qm +%%DATADIR%%/locale/jbo_EN.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/pt_PT.qm +%%DATADIR%%/locale/qt_extra_es.qm +%%DATADIR%%/locale/qt_extra_it.qm +%%DATADIR%%/locale/qt_extra_lt.qm +%%DATADIR%%/locale/qtwebengine_zh_CN.qm +%%DATADIR%%/locale/qu_PE.qm +%%DATADIR%%/locale/ru_RU.qm +%%DATADIR%%/locale/sk_SK.qm +%%DATADIR%%/locale/sq_AL.qm +%%DATADIR%%/locale/sr_SP.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