Date: Fri, 30 Dec 2022 10:01:12 GMT From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: aa17ba01c99c - main - Add chinese/fcitx5-mcbopomofo: McBopomofo for Fcitx5 Message-ID: <202212301001.2BUA1Cc5098637@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=aa17ba01c99c79ec9ebfa4af466fae1631bacfd5 commit aa17ba01c99c79ec9ebfa4af466fae1631bacfd5 Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2022-12-30 10:00:29 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2022-12-30 10:00:29 +0000 Add chinese/fcitx5-mcbopomofo: McBopomofo for Fcitx5 --- chinese/Makefile | 1 + chinese/fcitx5-mcbopomofo/Makefile | 24 ++++++++++++++++++++++ chinese/fcitx5-mcbopomofo/distinfo | 3 +++ .../files/patch-src_McBopomofo.cpp | 10 +++++++++ chinese/fcitx5-mcbopomofo/pkg-descr | 1 + chinese/fcitx5-mcbopomofo/pkg-plist | 16 +++++++++++++++ 6 files changed, 55 insertions(+) diff --git a/chinese/Makefile b/chinese/Makefile index 4f521a2331f5..8328f021341d 100644 --- a/chinese/Makefile +++ b/chinese/Makefile @@ -35,6 +35,7 @@ SUBDIR += fcitx-ui-light SUBDIR += fcitx5-chewing SUBDIR += fcitx5-chinese-addons + SUBDIR += fcitx5-mcbopomofo SUBDIR += fcitx5-rime SUBDIR += fcitx5-table-extra SUBDIR += fcitx5-table-other diff --git a/chinese/fcitx5-mcbopomofo/Makefile b/chinese/fcitx5-mcbopomofo/Makefile new file mode 100644 index 000000000000..ce72f17f33fe --- /dev/null +++ b/chinese/fcitx5-mcbopomofo/Makefile @@ -0,0 +1,24 @@ +PORTNAME= fcitx5-mcbopomofo +DISTVERSION= 2.4.2 +CATEGORIES= chinese textproc + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= McBopomofo for Fcitx5 +WWW= https://github.com/openvanilla/fcitx5-mcbopomofo + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \ + libfmt.so:devel/libfmt + +USES= cmake compiler:c++17-lang gettext-tools kde:5 pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= openvanilla + +USE_KDE= ecm + +CMAKE_ARGS= -DENABLE_TEST=Off + +.include <bsd.port.mk> diff --git a/chinese/fcitx5-mcbopomofo/distinfo b/chinese/fcitx5-mcbopomofo/distinfo new file mode 100644 index 000000000000..42ac2733a5bc --- /dev/null +++ b/chinese/fcitx5-mcbopomofo/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672392270 +SHA256 (openvanilla-fcitx5-mcbopomofo-2.4.2_GH0.tar.gz) = 90061879b11db13b8fe1397888e7d100656de8cc6107fccddd4ab2bd8e8ad85d +SIZE (openvanilla-fcitx5-mcbopomofo-2.4.2_GH0.tar.gz) = 1858726 diff --git a/chinese/fcitx5-mcbopomofo/files/patch-src_McBopomofo.cpp b/chinese/fcitx5-mcbopomofo/files/patch-src_McBopomofo.cpp new file mode 100644 index 000000000000..c3a90e397bdc --- /dev/null +++ b/chinese/fcitx5-mcbopomofo/files/patch-src_McBopomofo.cpp @@ -0,0 +1,10 @@ +--- src/McBopomofo.cpp.orig 2022-12-30 09:01:33 UTC ++++ src/McBopomofo.cpp +@@ -31,6 +31,7 @@ + #include <fmt/format.h> + + #include <memory> ++#include <sstream> + #include <unordered_map> + #include <utility> + diff --git a/chinese/fcitx5-mcbopomofo/pkg-descr b/chinese/fcitx5-mcbopomofo/pkg-descr new file mode 100644 index 000000000000..f007a3752ae6 --- /dev/null +++ b/chinese/fcitx5-mcbopomofo/pkg-descr @@ -0,0 +1 @@ +McBopomofo support for Fcitx5 input method framework. diff --git a/chinese/fcitx5-mcbopomofo/pkg-plist b/chinese/fcitx5-mcbopomofo/pkg-plist new file mode 100644 index 000000000000..91430a34d614 --- /dev/null +++ b/chinese/fcitx5-mcbopomofo/pkg-plist @@ -0,0 +1,16 @@ +lib/fcitx5/mcbopomofo.so +share/fcitx5/addon/mcbopomofo.conf +share/fcitx5/data/mcbopomofo-add-phrase-hook.sh +share/fcitx5/data/mcbopomofo-data-plain-bpmf.txt +share/fcitx5/data/mcbopomofo-data.txt +share/fcitx5/inputmethod/mcbopomofo-plain.conf +share/fcitx5/inputmethod/mcbopomofo.conf +share/icons/hicolor/24x24/apps/fcitx-mcbopomofo.png +share/icons/hicolor/24x24/apps/org.fcitx.Fcitx5.fcitx-mcbopomofo.png +share/icons/hicolor/32x32/apps/fcitx-mcbopomofo.png +share/icons/hicolor/32x32/apps/org.fcitx.Fcitx5.fcitx-mcbopomofo.png +share/icons/hicolor/64x64/apps/fcitx-mcbopomofo.png +share/icons/hicolor/64x64/apps/org.fcitx.Fcitx5.fcitx-mcbopomofo.png +share/locale/en/LC_MESSAGES/fcitx5-mcbopomofo.mo +share/locale/zh_TW/LC_MESSAGES/fcitx5-mcbopomofo.mo +share/metainfo/org.fcitx.Fcitx5.Addon.McBopomofo.metainfo.xml
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212301001.2BUA1Cc5098637>