Index: chinese/Makefile =================================================================== --- chinese/Makefile +++ chinese/Makefile @@ -37,6 +37,8 @@ SUBDIR += fcitx-sunpinyin SUBDIR += fcitx-table-extra SUBDIR += fcitx-ui-light + SUBDIR += fcitx5-chewing + SUBDIR += fcitx5-rime SUBDIR += fireflyttf SUBDIR += font-std SUBDIR += fortunetw Index: chinese/fcitx/Makefile =================================================================== --- chinese/fcitx/Makefile +++ chinese/fcitx/Makefile @@ -38,7 +38,7 @@ SUB_FILES= pkg-message SUB_LIST+= PORTSDIR=${PORTSDIR} -CONFLICTS= zh-scim-fcitx-3.* +CONFLICTS= zh-scim-fcitx-3.* fcitx5 USE_GNOME= pango intltool libxml2 introspection USE_KDE= ecm Index: chinese/fcitx5-chewing/Makefile =================================================================== --- /dev/null +++ chinese/fcitx5-chewing/Makefile @@ -0,0 +1,24 @@ +# Created by: Ka Ho Ng +# $FreeBSD$ + +PORTNAME= fcitx5-chewing +DISTVERSION= 5.0.2 +CATEGORIES= chinese textproc + +MAINTAINER= khng300@gmail.com +COMMENT= Chewing support for Fcitx5 + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt + +LIB_DEPENDS= libchewing.so:chinese/libchewing \ + libFcitx5Core.so:textproc/fcitx5 + +USES= compiler:c++17-lang gettext-tools cmake kde:5 pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= fcitx + +USE_KDE= ecm + +.include Index: chinese/fcitx5-chewing/distinfo =================================================================== --- /dev/null +++ chinese/fcitx5-chewing/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1608388686 +SHA256 (fcitx-fcitx5-chewing-5.0.2_GH0.tar.gz) = acf4a18ccbc815dfbb28bc92fc1d4552133c15c355ca41052d01b1b1e6d5301b +SIZE (fcitx-fcitx5-chewing-5.0.2_GH0.tar.gz) = 19701 Index: chinese/fcitx5-chewing/pkg-descr =================================================================== --- /dev/null +++ chinese/fcitx5-chewing/pkg-descr @@ -0,0 +1,4 @@ +Chewing intelligent phonetic input method library support for +Fcitx5 input method framework. + +WWW: https://github.com/fcitx/fcitx5-chewing Index: chinese/fcitx5-chewing/pkg-plist =================================================================== --- /dev/null +++ chinese/fcitx5-chewing/pkg-plist @@ -0,0 +1,16 @@ +lib/fcitx5/chewing.so +share/fcitx5/addon/chewing.conf +share/fcitx5/inputmethod/chewing.conf +share/icons/hicolor/48x48/apps/fcitx-chewing.png +share/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-chewing.png +share/locale/ca/LC_MESSAGES/fcitx5-chewing.mo +share/locale/da/LC_MESSAGES/fcitx5-chewing.mo +share/locale/de/LC_MESSAGES/fcitx5-chewing.mo +share/locale/he/LC_MESSAGES/fcitx5-chewing.mo +share/locale/ja/LC_MESSAGES/fcitx5-chewing.mo +share/locale/ko/LC_MESSAGES/fcitx5-chewing.mo +share/locale/ru/LC_MESSAGES/fcitx5-chewing.mo +share/locale/tr/LC_MESSAGES/fcitx5-chewing.mo +share/locale/zh_CN/LC_MESSAGES/fcitx5-chewing.mo +share/locale/zh_TW/LC_MESSAGES/fcitx5-chewing.mo +share/metainfo/org.fcitx.Fcitx5.Addon.Chewing.metainfo.xml Index: chinese/fcitx5-rime/Makefile =================================================================== --- /dev/null +++ chinese/fcitx5-rime/Makefile @@ -0,0 +1,26 @@ +# Created by: Ka Ho Ng +# $FreeBSD$ + +PORTNAME= fcitx5-rime +DISTVERSION= 5.0.2 +CATEGORIES= chinese textproc + +MAINTAINER= khng300@gmail.com +COMMENT= RIME support for Fcitx5 + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt + +BUILD_DEPENDS= zh-rime-data>=g0:chinese/rime-data +LIB_DEPENDS= librime.so:chinese/librime \ + libFcitx5Core.so:textproc/fcitx5 +RUN_DEPENDS= zh-rime-data>=g0:chinese/rime-data + +USES= compiler:c++17-lang gettext-tools cmake kde:5 pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= fcitx + +USE_KDE= ecm + +.include Index: chinese/fcitx5-rime/distinfo =================================================================== --- /dev/null +++ chinese/fcitx5-rime/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1608288386 +SHA256 (fcitx-fcitx5-rime-5.0.2_GH0.tar.gz) = d3c2663c483a04fc5fbb0490a0de53220903314faa642d0c921815e8a1c28094 +SIZE (fcitx-fcitx5-rime-5.0.2_GH0.tar.gz) = 45722 Index: chinese/fcitx5-rime/pkg-descr =================================================================== --- /dev/null +++ chinese/fcitx5-rime/pkg-descr @@ -0,0 +1,3 @@ +RIME support for Fcitx5 input method framework. + +WWW: https://github.com/fcitx/fcitx5-rime Index: chinese/fcitx5-rime/pkg-plist =================================================================== --- /dev/null +++ chinese/fcitx5-rime/pkg-plist @@ -0,0 +1,39 @@ +lib/fcitx5/rime.so +share/fcitx5/addon/rime.conf +share/fcitx5/inputmethod/rime.conf +share/icons/hicolor/48x48/apps/fcitx-rime-deploy.png +share/icons/hicolor/48x48/apps/fcitx-rime-disable.png +share/icons/hicolor/48x48/apps/fcitx-rime-im.png +share/icons/hicolor/48x48/apps/fcitx-rime-latin.png +share/icons/hicolor/48x48/apps/fcitx-rime-sync.png +share/icons/hicolor/48x48/apps/fcitx-rime.png +share/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-rime-deploy.png +share/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-rime-disable.png +share/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-rime-im.png +share/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-rime-latin.png +share/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-rime-sync.png +share/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.fcitx-rime.png +share/icons/hicolor/scalable/apps/fcitx-rime-deploy.svg +share/icons/hicolor/scalable/apps/fcitx-rime-disable.svg +share/icons/hicolor/scalable/apps/fcitx-rime-im.svg +share/icons/hicolor/scalable/apps/fcitx-rime-latin.svg +share/icons/hicolor/scalable/apps/fcitx-rime-sync.svg +share/icons/hicolor/scalable/apps/fcitx-rime.svg +share/icons/hicolor/scalable/apps/org.fcitx.Fcitx5.fcitx-rime-deploy.svg +share/icons/hicolor/scalable/apps/org.fcitx.Fcitx5.fcitx-rime-disable.svg +share/icons/hicolor/scalable/apps/org.fcitx.Fcitx5.fcitx-rime-im.svg +share/icons/hicolor/scalable/apps/org.fcitx.Fcitx5.fcitx-rime-latin.svg +share/icons/hicolor/scalable/apps/org.fcitx.Fcitx5.fcitx-rime-sync.svg +share/icons/hicolor/scalable/apps/org.fcitx.Fcitx5.fcitx-rime.svg +share/locale/ca/LC_MESSAGES/fcitx5-rime.mo +share/locale/da/LC_MESSAGES/fcitx5-rime.mo +share/locale/de/LC_MESSAGES/fcitx5-rime.mo +share/locale/he/LC_MESSAGES/fcitx5-rime.mo +share/locale/ja/LC_MESSAGES/fcitx5-rime.mo +share/locale/ko/LC_MESSAGES/fcitx5-rime.mo +share/locale/ru/LC_MESSAGES/fcitx5-rime.mo +share/locale/tr/LC_MESSAGES/fcitx5-rime.mo +share/locale/vi/LC_MESSAGES/fcitx5-rime.mo +share/locale/zh_CN/LC_MESSAGES/fcitx5-rime.mo +share/locale/zh_TW/LC_MESSAGES/fcitx5-rime.mo +share/metainfo/org.fcitx.Fcitx5.Addon.Rime.metainfo.xml Index: japanese/Makefile =================================================================== --- japanese/Makefile +++ japanese/Makefile @@ -58,6 +58,7 @@ SUBDIR += fcitx-anthy SUBDIR += fcitx-mozc SUBDIR += fcitx-skk + SUBDIR += fcitx5-anthy SUBDIR += flower-fpw SUBDIR += foldoc-fpw SUBDIR += font-aozoramincho Index: japanese/fcitx5-anthy/Makefile =================================================================== --- /dev/null +++ japanese/fcitx5-anthy/Makefile @@ -0,0 +1,24 @@ +# Created by: Ka Ho Ng +# $FreeBSD$ + +PORTNAME= fcitx5-anthy +DISTVERSION= 5.0.1 +CATEGORIES= japanese textproc + +MAINTAINER= khng300@gmail.com +COMMENT= Anthy support for Fcitx5 + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt + +LIB_DEPENDS= libanthy.so:japanese/anthy \ + libFcitx5Core.so:textproc/fcitx5 + +USES= compiler:c++17-lang gettext-tools cmake kde:5 pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= fcitx + +USE_KDE= ecm + +.include Index: japanese/fcitx5-anthy/distinfo =================================================================== --- /dev/null +++ japanese/fcitx5-anthy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1608388045 +SHA256 (fcitx-fcitx5-anthy-5.0.1_GH0.tar.gz) = 73edfa4b69e21cf368ac70bc6c08aa75c9bb8cb482f1e998928fc581067efc22 +SIZE (fcitx-fcitx5-anthy-5.0.1_GH0.tar.gz) = 96840 Index: japanese/fcitx5-anthy/pkg-descr =================================================================== --- /dev/null +++ japanese/fcitx5-anthy/pkg-descr @@ -0,0 +1,3 @@ +Anthy support for Fcitx5 input method framework. + +WWW: https://github.com/fcitx/fcitx5-anthy Index: japanese/fcitx5-anthy/pkg-plist =================================================================== --- /dev/null +++ japanese/fcitx5-anthy/pkg-plist @@ -0,0 +1,42 @@ +lib/fcitx5/anthy.so +share/fcitx5/addon/anthy.conf +share/fcitx5/anthy/101kana.sty +share/fcitx5/anthy/atok.sty +share/fcitx5/anthy/azik.sty +share/fcitx5/anthy/canna.sty +share/fcitx5/anthy/msime.sty +share/fcitx5/anthy/nicola-a.sty +share/fcitx5/anthy/nicola-f.sty +share/fcitx5/anthy/nicola-j.sty +share/fcitx5/anthy/oasys100j.sty +share/fcitx5/anthy/qkana.sty +share/fcitx5/anthy/tron-dvorak.sty +share/fcitx5/anthy/tron-qwerty-jp.sty +share/fcitx5/anthy/tsuki-2-203-101.sty +share/fcitx5/anthy/tsuki-2-203-106.sty +share/fcitx5/anthy/vje-delta.sty +share/fcitx5/anthy/wnn.sty +share/fcitx5/inputmethod/anthy.conf +share/icons/hicolor/22x22/status/fcitx-anthy-symbol.png +share/icons/hicolor/22x22/status/org.fcitx.Fcitx5.fcitx-anthy-symbol.png +share/icons/hicolor/48x48/status/fcitx-anthy.png +share/icons/hicolor/48x48/status/org.fcitx.Fcitx5.fcitx-anthy.png +share/icons/hicolor/scalable/status/fcitx-anthy-period-japanese.svg +share/icons/hicolor/scalable/status/fcitx-anthy-period-latin.svg +share/icons/hicolor/scalable/status/fcitx-anthy-period-wide-japanese.svg +share/icons/hicolor/scalable/status/fcitx-anthy-period-wide-latin.svg +share/icons/hicolor/scalable/status/fcitx-anthy-symbol.svg +share/icons/hicolor/scalable/status/org.fcitx.Fcitx5.fcitx-anthy-period-japanese.svg +share/icons/hicolor/scalable/status/org.fcitx.Fcitx5.fcitx-anthy-period-latin.svg +share/icons/hicolor/scalable/status/org.fcitx.Fcitx5.fcitx-anthy-period-wide-japanese.svg +share/icons/hicolor/scalable/status/org.fcitx.Fcitx5.fcitx-anthy-period-wide-latin.svg +share/icons/hicolor/scalable/status/org.fcitx.Fcitx5.fcitx-anthy-symbol.svg +share/locale/ca/LC_MESSAGES/fcitx5-anthy.mo +share/locale/da/LC_MESSAGES/fcitx5-anthy.mo +share/locale/de/LC_MESSAGES/fcitx5-anthy.mo +share/locale/ja/LC_MESSAGES/fcitx5-anthy.mo +share/locale/ko/LC_MESSAGES/fcitx5-anthy.mo +share/locale/ru/LC_MESSAGES/fcitx5-anthy.mo +share/locale/zh_CN/LC_MESSAGES/fcitx5-anthy.mo +share/locale/zh_TW/LC_MESSAGES/fcitx5-anthy.mo +share/metainfo/org.fcitx.Fcitx5.Addon.Anthy.metainfo.xml Index: textproc/Makefile =================================================================== --- textproc/Makefile +++ textproc/Makefile @@ -196,6 +196,10 @@ SUBDIR += fcitx-m17n SUBDIR += fcitx-qt5 SUBDIR += fcitx-table-other + SUBDIR += fcitx5 + SUBDIR += fcitx5-configtool + SUBDIR += fcitx5-gtk + SUBDIR += fcitx5-qt SUBDIR += fex SUBDIR += ffe SUBDIR += fi-aspell Index: textproc/fcitx5-configtool/Makefile =================================================================== --- /dev/null +++ textproc/fcitx5-configtool/Makefile @@ -0,0 +1,35 @@ +# Created by: Ka Ho Ng +# $FreeBSD$ + +PORTNAME= fcitx5-configtool +DISTVERSION= 5.0.1-20 +CATEGORIES= textproc x11 + +MAINTAINER= khng300@gmail.com +COMMENT= Fcitx5 IM framework configuration tool + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt + +BUILD_DEPENDS= iso-codes>=0:misc/iso-codes +LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon \ + libFcitx5Core.so:textproc/fcitx5 \ + libFcitx5Qt5DBusAddons.so:textproc/fcitx5-qt +RUN_DEPENDS= xkeyboard-config>=0:x11/xkeyboard-config \ + iso-codes>=0:misc/iso-codes + +USES= compiler:c++17-lang gettext-tools cmake kde:5 pkgconfig qt:5 xorg + +USE_GITHUB= yes +GH_ACCOUNT= fcitx +GH_TAGNAME= b4fbd81 + +USE_KDE= ecm coreaddons kdeclarative i18n itemviews kirigami2 package widgetsaddons +USE_QT= concurrent core gui quickcontrols2 widgets x11extras buildtools_build qmake_build +USE_XORG= x11 xkbfile +USE_LDCONFIG= yes + +CMAKE_ON= ENABLE_KCM ENABLE_CONFIG_QT +CMAKE_OFF= ENABLE_TEST + +.include Index: textproc/fcitx5-configtool/distinfo =================================================================== --- /dev/null +++ textproc/fcitx5-configtool/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1608287204 +SHA256 (fcitx-fcitx5-configtool-5.0.1-20-b4fbd81_GH0.tar.gz) = d9699d05c1d8cfdb864c7040d3300394efa2ceb1159063a41a323e07d46e4d09 +SIZE (fcitx-fcitx5-configtool-5.0.1-20-b4fbd81_GH0.tar.gz) = 130607 Index: textproc/fcitx5-configtool/pkg-descr =================================================================== --- /dev/null +++ textproc/fcitx5-configtool/pkg-descr @@ -0,0 +1,4 @@ +This is Fcitx5 IM framework configuration tool. +It comes with fcitx5-config-qt which provides a GUI for configuring Fcitx5. + +WWW: https://github.com/fcitx/fcitx5-configtool Index: textproc/fcitx5-configtool/pkg-plist =================================================================== --- /dev/null +++ textproc/fcitx5-configtool/pkg-plist @@ -0,0 +1,53 @@ +bin/fcitx5-config-qt +bin/fcitx5-migrator +bin/kbd-layout-viewer5 +lib/libFcitx5Migrator.so +lib/libFcitx5Migrator.so.5 +lib/libFcitx5Migrator.so.5.0.1 +%%QT_PLUGINDIR%%/kcms/kcm_fcitx5.so +share/applications/kbd-layout-viewer5.desktop +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/AddIMPage.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/AddonPage.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/BoolOption.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/ColorOption.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/ConfigGroup.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/ConfigPage.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/EnumOption.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/ExternalOption.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/FontOption.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/IntegerOption.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/KeyListOption.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/KeyOption.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/ListOption.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/OptionLoader.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/SaveWarningDialog.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/SelectLayoutSheet.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/StringOption.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/main.qml +share/kpackage/kcms/org.fcitx.fcitx5.kcm/contents/ui/utils.js +share/kpackage/kcms/org.fcitx.fcitx5.kcm/metadata.desktop +share/kpackage/kcms/org.fcitx.fcitx5.kcm/metadata.json +share/kservices5/kcm_fcitx5.desktop +share/locale/ca/LC_MESSAGES/fcitx5-configtool.mo +share/locale/ca/LC_MESSAGES/org.fcitx.fcitx5.kcm.mo +share/locale/da/LC_MESSAGES/fcitx5-configtool.mo +share/locale/da/LC_MESSAGES/org.fcitx.fcitx5.kcm.mo +share/locale/de/LC_MESSAGES/fcitx5-configtool.mo +share/locale/de/LC_MESSAGES/org.fcitx.fcitx5.kcm.mo +share/locale/he/LC_MESSAGES/fcitx5-configtool.mo +share/locale/he/LC_MESSAGES/org.fcitx.fcitx5.kcm.mo +share/locale/ja/LC_MESSAGES/fcitx5-configtool.mo +share/locale/ja/LC_MESSAGES/org.fcitx.fcitx5.kcm.mo +share/locale/ko/LC_MESSAGES/fcitx5-configtool.mo +share/locale/ko/LC_MESSAGES/org.fcitx.fcitx5.kcm.mo +share/locale/ru/LC_MESSAGES/fcitx5-configtool.mo +share/locale/ru/LC_MESSAGES/org.fcitx.fcitx5.kcm.mo +share/locale/tr/LC_MESSAGES/fcitx5-configtool.mo +share/locale/tr/LC_MESSAGES/org.fcitx.fcitx5.kcm.mo +share/locale/vi/LC_MESSAGES/fcitx5-configtool.mo +share/locale/vi/LC_MESSAGES/org.fcitx.fcitx5.kcm.mo +share/locale/zh_CN/LC_MESSAGES/fcitx5-configtool.mo +share/locale/zh_CN/LC_MESSAGES/org.fcitx.fcitx5.kcm.mo +share/locale/zh_TW/LC_MESSAGES/fcitx5-configtool.mo +share/locale/zh_TW/LC_MESSAGES/org.fcitx.fcitx5.kcm.mo +share/metainfo/org.fcitx.fcitx5.kcm.appdata.xml Index: textproc/fcitx5-gtk/Makefile =================================================================== --- /dev/null +++ textproc/fcitx5-gtk/Makefile @@ -0,0 +1,28 @@ +# Created by: Ka Ho Ng +# $FreeBSD$ + +PORTNAME= fcitx5-gtk +DISTVERSION= 5.0.1 +CATEGORIES= textproc + +MAINTAINER= khng300@gmail.com +COMMENT= Fcitx support for GTK+ 2/3 + +LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt + +LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon + +USES= compiler:c++17-lang gettext-tools cmake gnome kde:5 pkgconfig xorg + +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= fcitx +USE_GNOME= introspection glib20 gtk20 gtk30 +USE_KDE= ecm +USE_XORG= x11 + +CMAKE_OFF= ENABLE_GTK4_IM_MODULE + +.include Index: textproc/fcitx5-gtk/distinfo =================================================================== --- /dev/null +++ textproc/fcitx5-gtk/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1608282030 +SHA256 (fcitx-fcitx5-gtk-5.0.1_GH0.tar.gz) = 464645a9445e0d301b2274f4b86bcdec3a2d0ecc3ff993f59985927a39b17bb9 +SIZE (fcitx-fcitx5-gtk-5.0.1_GH0.tar.gz) = 37195 Index: textproc/fcitx5-gtk/pkg-descr =================================================================== --- /dev/null +++ textproc/fcitx5-gtk/pkg-descr @@ -0,0 +1,3 @@ +Fcitx5 support for GTK+ applications. + +WWW: https://github.com/fcitx/fcitx5-gtk Index: textproc/fcitx5-gtk/pkg-plist =================================================================== --- /dev/null +++ textproc/fcitx5-gtk/pkg-plist @@ -0,0 +1,14 @@ +include/Fcitx5/GClient/fcitx-gclient/fcitxgclient.h +include/Fcitx5/GClient/fcitx-gclient/fcitxgwatcher.h +lib/cmake/Fcitx5GClient/Fcitx5GClientConfig.cmake +lib/cmake/Fcitx5GClient/Fcitx5GClientConfigVersion.cmake +lib/cmake/Fcitx5GClient/Fcitx5GClientTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Fcitx5GClient/Fcitx5GClientTargets.cmake +lib/girepository-1.0/FcitxG-1.0.typelib +lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-fcitx5.so +lib/gtk-3.0/%%GTK3_VERSION%%/immodules/im-fcitx5.so +lib/libFcitx5GClient.so +lib/libFcitx5GClient.so.1 +lib/libFcitx5GClient.so.5.0.1 +libdata/pkgconfig/Fcitx5GClient.pc +share/gir-1.0/FcitxG-1.0.gir Index: textproc/fcitx5-qt/Makefile =================================================================== --- /dev/null +++ textproc/fcitx5-qt/Makefile @@ -0,0 +1,31 @@ +# Created by: Ka Ho Ng +# $FreeBSD$ + +PORTNAME= fcitx5-qt +DISTVERSION= 5.0.1 +CATEGORIES= textproc + +MAINTAINER= khng300@gmail.com +COMMENT= Fcitx support for Qt5 + +LICENSE= LGPL21+ BSD3CLAUSE +LICENSE_COMB= multi +LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt +LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSES/BSD-3-Clause.txt + +LIB_DEPENDS= libFcitx5Utils.so:textproc/fcitx5 \ + libxkbcommon.so:x11/libxkbcommon + +USES= compiler:c++17-lang gettext-tools cmake kde:5 pkgconfig qt:5 xorg + +USE_GITHUB= yes +GH_ACCOUNT= fcitx +USE_KDE= ecm +USE_QT= concurrent core dbus widgets buildtools_build qmake_build +USE_XORG= x11 xcb +USE_LDCONFIG= yes + +CMAKE_ON= ENABLE_QT5 +CMAKE_OFF= ENABLE_QT4 ENABLE_QT6 + +.include Index: textproc/fcitx5-qt/distinfo =================================================================== --- /dev/null +++ textproc/fcitx5-qt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1608279898 +SHA256 (fcitx-fcitx5-qt-5.0.1_GH0.tar.gz) = 15f3ea902dba2d9a1f368e3ad2efd6e7fde120e49c647452ad136fec8fd92046 +SIZE (fcitx-fcitx5-qt-5.0.1_GH0.tar.gz) = 107323 Index: textproc/fcitx5-qt/pkg-descr =================================================================== --- /dev/null +++ textproc/fcitx5-qt/pkg-descr @@ -0,0 +1,3 @@ +Fcitx5 support for Qt5 applications. + +WWW: https://github.com/fcitx/fcitx5-qt Index: textproc/fcitx5-qt/pkg-plist =================================================================== --- /dev/null +++ textproc/fcitx5-qt/pkg-plist @@ -0,0 +1,42 @@ +include/Fcitx5Qt5/Fcitx5Qt5DBusAddons/fcitx5qt5dbusaddons_export.h +include/Fcitx5Qt5/Fcitx5Qt5DBusAddons/fcitxqtcontrollerproxy.h +include/Fcitx5Qt5/Fcitx5Qt5DBusAddons/fcitxqtdbustypes.h +include/Fcitx5Qt5/Fcitx5Qt5DBusAddons/fcitxqtinputcontextproxy.h +include/Fcitx5Qt5/Fcitx5Qt5DBusAddons/fcitxqtinputmethodproxy.h +include/Fcitx5Qt5/Fcitx5Qt5DBusAddons/fcitxqtwatcher.h +include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitx5qt5widgetsaddons_export.h +include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtconfiguifactory.h +include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtconfiguiplugin.h +include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtconfiguiwidget.h +include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqti18nhelper.h +include/Fcitx5Qt5/Fcitx5QtWidgetsAddons/fcitxqtkeysequencewidget.h +include/Fcitx5Qt5/fcitx5qt5dbusaddons_version.h +include/Fcitx5Qt5/fcitx5qt5widgetsaddons_version.h +lib/cmake/Fcitx5Qt5DBusAddons/Fcitx5Qt5DBusAddonsConfig.cmake +lib/cmake/Fcitx5Qt5DBusAddons/Fcitx5Qt5DBusAddonsConfigVersion.cmake +lib/cmake/Fcitx5Qt5DBusAddons/Fcitx5Qt5DBusAddonsTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Fcitx5Qt5DBusAddons/Fcitx5Qt5DBusAddonsTargets.cmake +lib/cmake/Fcitx5Qt5WidgetsAddons/Fcitx5Qt5WidgetsAddonsConfig.cmake +lib/cmake/Fcitx5Qt5WidgetsAddons/Fcitx5Qt5WidgetsAddonsConfigVersion.cmake +lib/cmake/Fcitx5Qt5WidgetsAddons/Fcitx5Qt5WidgetsAddonsTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Fcitx5Qt5WidgetsAddons/Fcitx5Qt5WidgetsAddonsTargets.cmake +lib/fcitx5/libexec/fcitx5-qt5-gui-wrapper +lib/fcitx5/qt5/libfcitx-quickphrase-editor5.so +lib/libFcitx5Qt5DBusAddons.so +lib/libFcitx5Qt5DBusAddons.so.1 +lib/libFcitx5Qt5DBusAddons.so.5.0.1 +lib/libFcitx5Qt5WidgetsAddons.so +lib/libFcitx5Qt5WidgetsAddons.so.2 +lib/libFcitx5Qt5WidgetsAddons.so.5.0.1 +%%QT_PLUGINDIR%%/platforminputcontexts/libfcitx5platforminputcontextplugin.so +share/locale/ca/LC_MESSAGES/fcitx5-qt.mo +share/locale/da/LC_MESSAGES/fcitx5-qt.mo +share/locale/de/LC_MESSAGES/fcitx5-qt.mo +share/locale/es/LC_MESSAGES/fcitx5-qt.mo +share/locale/fr/LC_MESSAGES/fcitx5-qt.mo +share/locale/he/LC_MESSAGES/fcitx5-qt.mo +share/locale/ja/LC_MESSAGES/fcitx5-qt.mo +share/locale/ko/LC_MESSAGES/fcitx5-qt.mo +share/locale/ru/LC_MESSAGES/fcitx5-qt.mo +share/locale/zh_CN/LC_MESSAGES/fcitx5-qt.mo +share/locale/zh_TW/LC_MESSAGES/fcitx5-qt.mo Index: textproc/fcitx5/Makefile =================================================================== --- /dev/null +++ textproc/fcitx5/Makefile @@ -0,0 +1,78 @@ +# Created by: Ka Ho Ng +# $FreeBSD$ + +PORTNAME= fcitx5 +DISTVERSION= 5.0.3-31 +CATEGORIES= textproc +MASTER_SITES= https://download.fcitx-im.org/data/:dict +DISTFILES= ${SPELL_EN_DICT_TAR}:dict +DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= khng300@gmail.com +COMMENT= New implementation of the Fcitx IME framework + +LICENSE= LGPL21+ + +BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ + uthash>=0:devel/uthash +LIB_DEPENDS= libdbus-1.so:devel/dbus \ + libevent.so:devel/libevent \ + libuuid.so:misc/e2fsprogs-libuuid \ + libfmt.so:devel/libfmt \ + libxkbcommon.so:x11/libxkbcommon \ + libexpat.so:textproc/expat2 \ + libjson-c.so:devel/json-c +RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ + xkeyboard-config>=0:x11/xkeyboard-config + +# gettext-tools for both build-time hard requirement and Fcitx5 helper shell scripts +USES= cmake compiler:c++17-lang gettext-runtime gettext-tools:build,run gl gnome kde:5 pkgconfig + +CONFLICTS= zh-fcitx + +OPTIONS_DEFINE= X11 WAYLAND ENCHANT +OPTIONS_DEFAULT= X11 WAYLAND ENCHANT +OPTIONS_SUB= yes + +SUB_FILES= pkg-message + +X11_USES= xorg +X11_USE= xorg=xcb,xkbfile +X11_LIB_DEPENDS= libxcb-util.so:x11/xcb-util \ + libxcb-keysyms.so:x11/xcb-util-keysyms \ + libxcb-ewmh.so:x11/xcb-util-wm \ + libxcb-icccm.so:x11/xcb-util-wm \ + libxcb-imdkit.so:x11/xcb-imdkit + +WAYLAND_BUILD_DEPENDS= wayland-scanner:graphics/wayland \ + wayland-protocols>=0:graphics/wayland-protocols +WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ + libwayland-egl.so:graphics/wayland + +ENCHANT_DESC= Dictionary/spellchecking framework +ENCHANT_LIB_DEPENDS= libenchant-2.so:textproc/enchant2 +ENCHANT_CMAKE_BOOL= ENABLE_ENCHANT + +CMAKE_ON= SYSTEM_USE_UTHASH FCITX5_DOWNLOAD_DISALLOWED +CMAKE_OFF= ENABLE_TEST +MAKE_ENV= FCITX5_DOWNLOAD_DISALLOWED=TRUE + +USE_GL= egl +USE_GNOME= cairo glib20 gdkpixbuf2 pango +USE_KDE= ecm +INSTALLS_ICONS= yes + +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= fcitx +GH_TAGNAME= 49c79b4 + +SPELL_EN_DICT_VER= 20121020 # This must follow src/modules/spell/dict/CMakeLists.txt0 +SPELL_EN_DICT_TAR= en_dict-${SPELL_EN_DICT_VER}.tar.gz + +post-extract: + ${CP} ${DISTDIR}/${DIST_SUBDIR}/${SPELL_EN_DICT_TAR} ${WRKSRC}/src/modules/spell/dict + +.include Index: textproc/fcitx5/distinfo =================================================================== --- /dev/null +++ textproc/fcitx5/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1608311668 +SHA256 (fcitx5/en_dict-20121020.tar.gz) = c44a5d7847925eea9e4d2d04748d442cd28dd9299a0b572ef7d91eac4f5a6ceb +SIZE (fcitx5/en_dict-20121020.tar.gz) = 630491 +SHA256 (fcitx5/fcitx-fcitx5-5.0.3-31-49c79b4_GH0.tar.gz) = 57b52a91ad39b500fd33ab6f348b7db3cbeaa713bb23b2cf86959b0bbc297b4a +SIZE (fcitx5/fcitx-fcitx5-5.0.3-31-49c79b4_GH0.tar.gz) = 1902713 Index: textproc/fcitx5/files/patch-src_lib_fcitx-utils_Fcitx5Download.cmake.in =================================================================== --- /dev/null +++ textproc/fcitx5/files/patch-src_lib_fcitx-utils_Fcitx5Download.cmake.in @@ -0,0 +1,25 @@ +--- src/lib/fcitx-utils/Fcitx5Download.cmake.in.orig 2020-12-04 23:50:28 UTC ++++ src/lib/fcitx-utils/Fcitx5Download.cmake.in +@@ -1,11 +1,16 @@ ++SET(FCITX5_DOWNLOAD_DISALLOWED $ENV{FCITX5_DOWNLOAD_DISALLOWED}) + if (NOT EXISTS "@FCITX5_DOWNLOAD_DEST@") + message(STATUS "Downloading '@FCITX5_DOWNLOAD_URL@' to '@FCITX5_DOWNLOAD_DEST@'...") +- file(DOWNLOAD +- "@FCITX5_DOWNLOAD_URL@" +- "@FCITX5_DOWNLOAD_DEST@" +- EXPECTED_HASH SHA256=@FCITX5_DOWNLOAD_SHA256@ +- TLS_VERIFY ON +- SHOW_PROGRESS) ++ if (NOT FCITX5_DOWNLOAD_DISALLOWED) ++ file(DOWNLOAD ++ "@FCITX5_DOWNLOAD_URL@" ++ "@FCITX5_DOWNLOAD_DEST@" ++ EXPECTED_HASH SHA256=@FCITX5_DOWNLOAD_SHA256@ ++ TLS_VERIFY ON ++ SHOW_PROGRESS) ++ else() ++ message(FATAL_ERROR "Downloading is disallowed") ++ endif() + else() + file(SHA256 "@FCITX5_DOWNLOAD_DEST@" actual_value) + if(NOT "${actual_value}" STREQUAL "@FCITX5_DOWNLOAD_SHA256@") Index: textproc/fcitx5/files/pkg-message.in =================================================================== --- /dev/null +++ textproc/fcitx5/files/pkg-message.in @@ -0,0 +1,25 @@ +[ +{ type: install + message: < +# $FreeBSD$ + +PORTNAME= xcb-imdkit +DISTVERSION= 1.0.1 +CATEGORIES= x11 textproc + +MAINTAINER= khng300@gmail.com +COMMENT= Input method development support for XCB + +LICENSE= LGPL21+ + +BUILD_DEPENDS= uthash>=0:devel/uthash +LIB_DEPENDS= libxcb-util.so:x11/xcb-util \ + libxcb-keysyms.so:x11/xcb-util-keysyms + +USES= compiler:c11 cmake pkgconfig kde:5 xorg + +CMAKE_ON= SYSTEM_USE_UTHASH + +USE_KDE= ecm +USE_XORG= xcb + +USE_GITHUB= yes +GH_ACCOUNT= fcitx + +.include Index: x11/xcb-imdkit/distinfo =================================================================== --- /dev/null +++ x11/xcb-imdkit/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1608195071 +SHA256 (fcitx-xcb-imdkit-1.0.1_GH0.tar.gz) = 78572cc37f16fed62b9e8749d8919b7b6834fe71819847d88b16db7646481e71 +SIZE (fcitx-xcb-imdkit-1.0.1_GH0.tar.gz) = 659473 Index: x11/xcb-imdkit/pkg-descr =================================================================== --- /dev/null +++ x11/xcb-imdkit/pkg-descr @@ -0,0 +1,3 @@ +An input method development support library for XCB. + +WWW: https://github.com/fcitx/xcb-imdkit Index: x11/xcb-imdkit/pkg-plist =================================================================== --- /dev/null +++ x11/xcb-imdkit/pkg-plist @@ -0,0 +1,14 @@ +include/xcb-imdkit/encoding.h +include/xcb-imdkit/imclient.h +include/xcb-imdkit/imdkit.h +include/xcb-imdkit/ximcommon.h +include/xcb-imdkit/ximproto-gen.h +include/xcb-imdkit/ximproto.h +lib/cmake/XCBImdkit/XCBImdkitConfig.cmake +lib/cmake/XCBImdkit/XCBImdkitConfigVersion.cmake +lib/cmake/XCBImdkit/XCBImdkitLibraryTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/XCBImdkit/XCBImdkitLibraryTargets.cmake +lib/libxcb-imdkit.so +lib/libxcb-imdkit.so.1 +lib/libxcb-imdkit.so.1.0.1 +libdata/pkgconfig/xcb-imdkit.pc