Import fcitx5-5.0.15

Fcitx5 is an input method framework with support for many languages and
scripts.

From Yifei Zhan
This commit is contained in:
kevlo 2022-05-13 01:34:31 +00:00
parent 693cf352e3
commit 1749f79a9a
7 changed files with 512 additions and 0 deletions

View File

@ -0,0 +1,69 @@
COMMENT = flexible input method framework
DISTNAME = fcitx5-5.0.15
SHARED_LIBS += Fcitx5Config 0.0 # 0.0
SHARED_LIBS += Fcitx5Core 0.0 # 0.0
SHARED_LIBS += Fcitx5Utils 0.0 # 0.0
CATEGORIES = inputmethods chinese japanese korean
HOMEPAGE = https://fcitx-im.org/
MAINTAINER = Yifei Zhan <openbsd@zhan.science>
# LGPLv2.1+
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} c cairo dbus-1 enchant-2 event_core
WANTLIB += execinfo expat gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gobject-2.0 harfbuzz intl json-c kvm m pango-1.0
WANTLIB += pangocairo-1.0 pthread uuid xcb xcb-ewmh xcb-icccm
WANTLIB += xcb-imdkit xcb-keysyms xcb-randr xcb-render
WANTLIB += xcb-shape xcb-util xcb-xfixes xcb-xinerama xcb-xkb
WANTLIB += xkbcommon xkbcommon-x11 xkbfile
MASTER_SITES = https://download.fcitx-im.org/fcitx5/fcitx5/
MASTER_SITES0 = https://download.fcitx-im.org/data/
DISTFILES += ${DISTNAME}${EXTRACT_SUFX} \
en_dict-20121020.tar.gz:0
EXTRACT_SUFX = .tar.xz
DIST_SUBDIR = fcitx
COMPILER = base-clang ports-clang ports-gcc
MODULES = devel/kf5
MODQT5_DEPS = No
BUILD_DEPENDS = devel/gettext,-tools \
devel/iso-codes \
devel/fmt
# bash: for fcitx5-diagnose.sh
RUN_DEPENDS = devel/desktop-file-utils \
misc/shared-mime-info \
shells/bash \
x11/gtk+3,-guic
LIB_DEPENDS = devel/harfbuzz,-main \
devel/json-c \
devel/libevent2 \
devel/pango \
graphics/gdk-pixbuf2 \
inputmethods/xcb-imdkit \
sysutils/e2fsprogs \
textproc/enchant2 \
x11/dbus \
x11/xkbcommon
CONFIGURE_ARGS = -DENABLE_WAYLAND=OFF \
-DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/share/examples \
-DCMAKE_CXX_FLAGS="-I${X11BASE}/include \
-I${LOCALBASE}/include"
post-patch:
cp ${FULLDISTDIR}/en_dict-20121020.tar.gz \
${WRKSRC}/src/modules/spell/dict/
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
SHA256 (fcitx/en_dict-20121020.tar.gz) = xEpdeEeSXuqeTS0EdI1ELNKN2SmaC1cu99kerE9abOs=
SHA256 (fcitx/fcitx5-5.0.15.tar.xz) = ND3w8njcbbSv68d4Zk7kd9m9bAEchEblqonCC7F4bkE=
SIZE (fcitx/en_dict-20121020.tar.gz) = 630491
SIZE (fcitx/fcitx5-5.0.15.tar.xz) = 1329272

View File

@ -0,0 +1,12 @@
Index: cmake/Fcitx5CompilerSettings.cmake
--- cmake/Fcitx5CompilerSettings.cmake.orig
+++ cmake/Fcitx5CompilerSettings.cmake
@@ -7,8 +7,6 @@ set(CMAKE_C_STANDARD 99)
set(CMAKE_C_FLAGS "-Wall -Wextra ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "-Wall -Wextra ${CMAKE_CXX_FLAGS}")
-set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined -Wl,--as-needed ${CMAKE_SHARED_LINKER_FLAGS}")
-set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined -Wl,--as-needed ${CMAKE_MODULE_LINKER_FLAGS}")
set(CMAKE_C_VISIBILITY_PRESET hidden)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)

View File

@ -0,0 +1,12 @@
Index: src/lib/fcitx-utils/misc.cpp
--- src/lib/fcitx-utils/misc.cpp.orig
+++ src/lib/fcitx-utils/misc.cpp
@@ -86,7 +86,7 @@ std::string getProcessName(pid_t pid) {
struct kinfo_proc2 *kp = kvm_getproc2(vm, KERN_PROC_PID, pid,
sizeof(struct kinfo_proc2), &cnt);
#else
- struct kinfo_proc *kp = kvm_getprocs(vm, KERN_PROC_PID, pid, &cnt);
+ struct kinfo_proc *kp = kvm_getprocs(vm, KERN_PROC_PID, pid, sizeof(struct kinfo_proc), &cnt);
#endif
if ((cnt != 1) || (kp == 0)) {
break;

View File

@ -0,0 +1,2 @@
Fcitx5 is an input method framework with support for many languages and
scripts.

View File

@ -0,0 +1,332 @@
@bin bin/fcitx5
bin/fcitx5-configtool
bin/fcitx5-diagnose
@bin bin/fcitx5-remote
include/Fcitx5/
include/Fcitx5/Config/
include/Fcitx5/Config/fcitx-config/
include/Fcitx5/Config/fcitx-config/configuration.h
include/Fcitx5/Config/fcitx-config/dbushelper.h
include/Fcitx5/Config/fcitx-config/enum.h
include/Fcitx5/Config/fcitx-config/fcitxconfig_export.h
include/Fcitx5/Config/fcitx-config/iniparser.h
include/Fcitx5/Config/fcitx-config/marshallfunction.h
include/Fcitx5/Config/fcitx-config/option.h
include/Fcitx5/Config/fcitx-config/option_details.h
include/Fcitx5/Config/fcitx-config/optiontypename.h
include/Fcitx5/Config/fcitx-config/rawconfig.h
include/Fcitx5/Core/
include/Fcitx5/Core/fcitx/
include/Fcitx5/Core/fcitx/action.h
include/Fcitx5/Core/fcitx/addonfactory.h
include/Fcitx5/Core/fcitx/addoninfo.h
include/Fcitx5/Core/fcitx/addoninstance.h
include/Fcitx5/Core/fcitx/addoninstance_details.h
include/Fcitx5/Core/fcitx/addonloader.h
include/Fcitx5/Core/fcitx/addonmanager.h
include/Fcitx5/Core/fcitx/candidatelist.h
include/Fcitx5/Core/fcitx/event.h
include/Fcitx5/Core/fcitx/fcitxcore_export.h
include/Fcitx5/Core/fcitx/focusgroup.h
include/Fcitx5/Core/fcitx/globalconfig.h
include/Fcitx5/Core/fcitx/icontheme.h
include/Fcitx5/Core/fcitx/inputcontext.h
include/Fcitx5/Core/fcitx/inputcontextmanager.h
include/Fcitx5/Core/fcitx/inputcontextproperty.h
include/Fcitx5/Core/fcitx/inputmethodengine.h
include/Fcitx5/Core/fcitx/inputmethodentry.h
include/Fcitx5/Core/fcitx/inputmethodgroup.h
include/Fcitx5/Core/fcitx/inputmethodmanager.h
include/Fcitx5/Core/fcitx/inputpanel.h
include/Fcitx5/Core/fcitx/instance.h
include/Fcitx5/Core/fcitx/menu.h
include/Fcitx5/Core/fcitx/statusarea.h
include/Fcitx5/Core/fcitx/surroundingtext.h
include/Fcitx5/Core/fcitx/text.h
include/Fcitx5/Core/fcitx/userinterface.h
include/Fcitx5/Core/fcitx/userinterfacemanager.h
include/Fcitx5/Module/
include/Fcitx5/Module/fcitx-module/
include/Fcitx5/Module/fcitx-module/clipboard/
include/Fcitx5/Module/fcitx-module/clipboard/clipboard_public.h
include/Fcitx5/Module/fcitx-module/dbus/
include/Fcitx5/Module/fcitx-module/dbus/dbus_public.h
include/Fcitx5/Module/fcitx-module/emoji/
include/Fcitx5/Module/fcitx-module/emoji/emoji_public.h
include/Fcitx5/Module/fcitx-module/notificationitem/
include/Fcitx5/Module/fcitx-module/notificationitem/notificationitem_public.h
include/Fcitx5/Module/fcitx-module/notifications/
include/Fcitx5/Module/fcitx-module/notifications/notifications_public.h
include/Fcitx5/Module/fcitx-module/quickphrase/
include/Fcitx5/Module/fcitx-module/quickphrase/quickphrase_public.h
include/Fcitx5/Module/fcitx-module/spell/
include/Fcitx5/Module/fcitx-module/spell/spell_public.h
include/Fcitx5/Module/fcitx-module/testfrontend/
include/Fcitx5/Module/fcitx-module/testfrontend/testfrontend_public.h
include/Fcitx5/Module/fcitx-module/testim/
include/Fcitx5/Module/fcitx-module/testim/testim_public.h
include/Fcitx5/Module/fcitx-module/unicode/
include/Fcitx5/Module/fcitx-module/unicode/unicode_public.h
include/Fcitx5/Module/fcitx-module/xcb/
include/Fcitx5/Module/fcitx-module/xcb/xcb_public.h
include/Fcitx5/Utils/
include/Fcitx5/Utils/fcitx-utils/
include/Fcitx5/Utils/fcitx-utils/capabilityflags.h
include/Fcitx5/Utils/fcitx-utils/charutils.h
include/Fcitx5/Utils/fcitx-utils/color.h
include/Fcitx5/Utils/fcitx-utils/connectableobject.h
include/Fcitx5/Utils/fcitx-utils/cutf8.h
include/Fcitx5/Utils/fcitx-utils/dbus/
include/Fcitx5/Utils/fcitx-utils/dbus/bus.h
include/Fcitx5/Utils/fcitx-utils/dbus/matchrule.h
include/Fcitx5/Utils/fcitx-utils/dbus/message.h
include/Fcitx5/Utils/fcitx-utils/dbus/message_details.h
include/Fcitx5/Utils/fcitx-utils/dbus/objectvtable.h
include/Fcitx5/Utils/fcitx-utils/dbus/servicewatcher.h
include/Fcitx5/Utils/fcitx-utils/element.h
include/Fcitx5/Utils/fcitx-utils/event.h
include/Fcitx5/Utils/fcitx-utils/eventdispatcher.h
include/Fcitx5/Utils/fcitx-utils/fcitxutils_export.h
include/Fcitx5/Utils/fcitx-utils/flags.h
include/Fcitx5/Utils/fcitx-utils/fs.h
include/Fcitx5/Utils/fcitx-utils/handlertable.h
include/Fcitx5/Utils/fcitx-utils/handlertable_details.h
include/Fcitx5/Utils/fcitx-utils/i18n.h
include/Fcitx5/Utils/fcitx-utils/i18nstring.h
include/Fcitx5/Utils/fcitx-utils/inputbuffer.h
include/Fcitx5/Utils/fcitx-utils/intrusivelist.h
include/Fcitx5/Utils/fcitx-utils/key.h
include/Fcitx5/Utils/fcitx-utils/keysym.h
include/Fcitx5/Utils/fcitx-utils/keysymgen.h
include/Fcitx5/Utils/fcitx-utils/library.h
include/Fcitx5/Utils/fcitx-utils/log.h
include/Fcitx5/Utils/fcitx-utils/macros.h
include/Fcitx5/Utils/fcitx-utils/metastring.h
include/Fcitx5/Utils/fcitx-utils/misc.h
include/Fcitx5/Utils/fcitx-utils/rect.h
include/Fcitx5/Utils/fcitx-utils/semver.h
include/Fcitx5/Utils/fcitx-utils/signals.h
include/Fcitx5/Utils/fcitx-utils/signals_details.h
include/Fcitx5/Utils/fcitx-utils/standardpath.h
include/Fcitx5/Utils/fcitx-utils/stringutils.h
include/Fcitx5/Utils/fcitx-utils/stringutils_details.h
include/Fcitx5/Utils/fcitx-utils/testing.h
include/Fcitx5/Utils/fcitx-utils/textformatflags.h
include/Fcitx5/Utils/fcitx-utils/trackableobject.h
include/Fcitx5/Utils/fcitx-utils/tuplehelpers.h
include/Fcitx5/Utils/fcitx-utils/unixfd.h
include/Fcitx5/Utils/fcitx-utils/utf8.h
lib/cmake/Fcitx5Config/
lib/cmake/Fcitx5Config/Fcitx5ConfigConfig.cmake
lib/cmake/Fcitx5Config/Fcitx5ConfigConfigVersion.cmake
lib/cmake/Fcitx5Config/Fcitx5ConfigTargets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/Fcitx5Config/Fcitx5ConfigTargets.cmake
lib/cmake/Fcitx5Core/
lib/cmake/Fcitx5Core/Fcitx5CoreConfig.cmake
lib/cmake/Fcitx5Core/Fcitx5CoreConfigVersion.cmake
lib/cmake/Fcitx5Core/Fcitx5CoreTargets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/Fcitx5Core/Fcitx5CoreTargets.cmake
lib/cmake/Fcitx5Module/
lib/cmake/Fcitx5Module/Fcitx5ModuleConfig.cmake
lib/cmake/Fcitx5Module/Fcitx5ModuleConfigVersion.cmake
lib/cmake/Fcitx5ModuleClipboard/
lib/cmake/Fcitx5ModuleClipboard/Fcitx5ModuleClipboardConfig.cmake
lib/cmake/Fcitx5ModuleClipboard/Fcitx5ModuleClipboardConfigVersion.cmake
lib/cmake/Fcitx5ModuleDBus/
lib/cmake/Fcitx5ModuleDBus/Fcitx5ModuleDBusConfig.cmake
lib/cmake/Fcitx5ModuleDBus/Fcitx5ModuleDBusConfigVersion.cmake
lib/cmake/Fcitx5ModuleEmoji/
lib/cmake/Fcitx5ModuleEmoji/Fcitx5ModuleEmojiConfig.cmake
lib/cmake/Fcitx5ModuleEmoji/Fcitx5ModuleEmojiConfigVersion.cmake
lib/cmake/Fcitx5ModuleNotificationItem/
lib/cmake/Fcitx5ModuleNotificationItem/Fcitx5ModuleNotificationItemConfig.cmake
lib/cmake/Fcitx5ModuleNotificationItem/Fcitx5ModuleNotificationItemConfigVersion.cmake
lib/cmake/Fcitx5ModuleNotifications/
lib/cmake/Fcitx5ModuleNotifications/Fcitx5ModuleNotificationsConfig.cmake
lib/cmake/Fcitx5ModuleNotifications/Fcitx5ModuleNotificationsConfigVersion.cmake
lib/cmake/Fcitx5ModuleQuickPhrase/
lib/cmake/Fcitx5ModuleQuickPhrase/Fcitx5ModuleQuickPhraseConfig.cmake
lib/cmake/Fcitx5ModuleQuickPhrase/Fcitx5ModuleQuickPhraseConfigVersion.cmake
lib/cmake/Fcitx5ModuleSpell/
lib/cmake/Fcitx5ModuleSpell/Fcitx5ModuleSpellConfig.cmake
lib/cmake/Fcitx5ModuleSpell/Fcitx5ModuleSpellConfigVersion.cmake
lib/cmake/Fcitx5ModuleTestFrontend/
lib/cmake/Fcitx5ModuleTestFrontend/Fcitx5ModuleTestFrontendConfig.cmake
lib/cmake/Fcitx5ModuleTestFrontend/Fcitx5ModuleTestFrontendConfigVersion.cmake
lib/cmake/Fcitx5ModuleTestIM/
lib/cmake/Fcitx5ModuleTestIM/Fcitx5ModuleTestIMConfig.cmake
lib/cmake/Fcitx5ModuleTestIM/Fcitx5ModuleTestIMConfigVersion.cmake
lib/cmake/Fcitx5ModuleUnicode/
lib/cmake/Fcitx5ModuleUnicode/Fcitx5ModuleUnicodeConfig.cmake
lib/cmake/Fcitx5ModuleUnicode/Fcitx5ModuleUnicodeConfigVersion.cmake
lib/cmake/Fcitx5ModuleXCB/
lib/cmake/Fcitx5ModuleXCB/Fcitx5ModuleXCBConfig.cmake
lib/cmake/Fcitx5ModuleXCB/Fcitx5ModuleXCBConfigVersion.cmake
lib/cmake/Fcitx5Utils/
lib/cmake/Fcitx5Utils/Fcitx5CompilerSettings.cmake
lib/cmake/Fcitx5Utils/Fcitx5Download.cmake.in
lib/cmake/Fcitx5Utils/Fcitx5Macros.cmake
lib/cmake/Fcitx5Utils/Fcitx5ModuleTemplate.cmake.in
lib/cmake/Fcitx5Utils/Fcitx5UtilsConfig.cmake
lib/cmake/Fcitx5Utils/Fcitx5UtilsConfigVersion.cmake
lib/cmake/Fcitx5Utils/Fcitx5UtilsTargets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/Fcitx5Utils/Fcitx5UtilsTargets.cmake
lib/fcitx5/
@so lib/fcitx5/libclassicui.so
@so lib/fcitx5/libclipboard.so
@so lib/fcitx5/libdbus.so
@so lib/fcitx5/libdbusfrontend.so
lib/fcitx5/libexec/
@bin lib/fcitx5/libexec/comp-spell-dict
@so lib/fcitx5/libfcitx4frontend.so
@so lib/fcitx5/libibusfrontend.so
@so lib/fcitx5/libimselector.so
@so lib/fcitx5/libkimpanel.so
@so lib/fcitx5/libnotificationitem.so
@so lib/fcitx5/libnotifications.so
@so lib/fcitx5/libquickphrase.so
@so lib/fcitx5/libspell.so
@so lib/fcitx5/libtestfrontend.so
@so lib/fcitx5/libtestim.so
@so lib/fcitx5/libtestui.so
@so lib/fcitx5/libunicode.so
@so lib/fcitx5/libxcb.so
@so lib/fcitx5/libxim.so
@lib lib/libFcitx5Config.so.${LIBFcitx5Config_VERSION}
@lib lib/libFcitx5Core.so.${LIBFcitx5Core_VERSION}
@lib lib/libFcitx5Utils.so.${LIBFcitx5Utils_VERSION}
lib/pkgconfig/Fcitx5Config.pc
lib/pkgconfig/Fcitx5Core.pc
lib/pkgconfig/Fcitx5Module.pc
lib/pkgconfig/Fcitx5Utils.pc
@bin libexec/fcitx5-wayland-launcher
share/applications/fcitx5-configtool.desktop
share/applications/org.fcitx.Fcitx5.desktop
share/dbus-1/services/org.fcitx.Fcitx5.service
share/doc/pkg-readmes/${PKGSTEM}
share/examples/xdg/
@sample ${SYSCONFDIR}/xdg/
share/examples/xdg/autostart/
@sample ${SYSCONFDIR}/xdg/autostart/
share/examples/xdg/autostart/org.fcitx.Fcitx5.desktop
@sample ${SYSCONFDIR}/xdg/autostart/org.fcitx.Fcitx5.desktop
share/fcitx5/
share/fcitx5/addon/
share/fcitx5/addon/classicui.conf
share/fcitx5/addon/clipboard.conf
share/fcitx5/addon/dbus.conf
share/fcitx5/addon/dbusfrontend.conf
share/fcitx5/addon/fcitx4frontend.conf
share/fcitx5/addon/ibusfrontend.conf
share/fcitx5/addon/imselector.conf
share/fcitx5/addon/keyboard.conf
share/fcitx5/addon/kimpanel.conf
share/fcitx5/addon/notificationitem.conf
share/fcitx5/addon/notifications.conf
share/fcitx5/addon/quickphrase.conf
share/fcitx5/addon/spell.conf
share/fcitx5/addon/unicode.conf
share/fcitx5/addon/xcb.conf
share/fcitx5/addon/xim.conf
share/fcitx5/data/
share/fcitx5/data/quickphrase.d/
share/fcitx5/data/quickphrase.d/emoji-eac.mb
share/fcitx5/data/quickphrase.d/emoji.mb
share/fcitx5/data/quickphrase.d/latex.mb
share/fcitx5/default/
share/fcitx5/default/ar_DZ
share/fcitx5/default/as_IN
share/fcitx5/default/ast_ES
share/fcitx5/default/az_AZ
share/fcitx5/default/be_BY
share/fcitx5/default/bg_BG
share/fcitx5/default/bn_IN
share/fcitx5/default/cat_ES
share/fcitx5/default/cs_CZ
share/fcitx5/default/de_CH
share/fcitx5/default/de_DE
share/fcitx5/default/el_CY
share/fcitx5/default/el_GR
share/fcitx5/default/en_GB
share/fcitx5/default/en_US
share/fcitx5/default/en_ZA
share/fcitx5/default/es_ES
share/fcitx5/default/es_GT
share/fcitx5/default/es_MX
share/fcitx5/default/fr_BE
share/fcitx5/default/fr_CH
share/fcitx5/default/fr_FR
share/fcitx5/default/gl_ES
share/fcitx5/default/gu_IN
share/fcitx5/default/he_IL
share/fcitx5/default/hi_IN
share/fcitx5/default/id_ID
share/fcitx5/default/it_IT
share/fcitx5/default/ja_JP
share/fcitx5/default/kn_IN
share/fcitx5/default/ko_KR
share/fcitx5/default/mai_IN
share/fcitx5/default/ml_IN
share/fcitx5/default/mr_IN
share/fcitx5/default/nl_NL
share/fcitx5/default/or_IN
share/fcitx5/default/pa_IN
share/fcitx5/default/pl_PL
share/fcitx5/default/pt_BR
share/fcitx5/default/pt_PT
share/fcitx5/default/ru_RU
share/fcitx5/default/sd_IN
share/fcitx5/default/sk_SK
share/fcitx5/default/ta_IN
share/fcitx5/default/te_IN
share/fcitx5/default/ur_IN
share/fcitx5/default/zh_CN
share/fcitx5/default/zh_HK
share/fcitx5/default/zh_TW
share/fcitx5/spell/
share/fcitx5/spell/en_dict.fscd
share/fcitx5/testing/
share/fcitx5/testing/addon/
share/fcitx5/testing/addon/testfrontend.conf
share/fcitx5/testing/addon/testim.conf
share/fcitx5/testing/addon/testui.conf
share/fcitx5/themes/
share/fcitx5/themes/default/
share/fcitx5/themes/default/arrow.png
share/fcitx5/themes/default/highlight.png
share/fcitx5/themes/default/next.png
share/fcitx5/themes/default/panel.png
share/fcitx5/themes/default/prev.png
share/fcitx5/themes/default/radio.png
share/fcitx5/themes/default/theme.conf
share/fcitx5/unicode/
share/fcitx5/unicode/charselectdata
share/icons/hicolor/128x128/apps/fcitx.png
share/icons/hicolor/128x128/apps/org.fcitx.Fcitx5.png
share/icons/hicolor/16x16/apps/fcitx.png
share/icons/hicolor/16x16/apps/org.fcitx.Fcitx5.png
share/icons/hicolor/22x22/apps/fcitx.png
share/icons/hicolor/22x22/apps/org.fcitx.Fcitx5.png
share/icons/hicolor/24x24/apps/fcitx.png
share/icons/hicolor/24x24/apps/org.fcitx.Fcitx5.png
share/icons/hicolor/32x32/apps/fcitx.png
share/icons/hicolor/32x32/apps/org.fcitx.Fcitx5.png
share/icons/hicolor/48x48/apps/fcitx.png
share/icons/hicolor/48x48/apps/org.fcitx.Fcitx5.png
share/icons/hicolor/scalable/apps/fcitx.svg
share/icons/hicolor/scalable/apps/org.fcitx.Fcitx5.svg
share/locale/ca/LC_MESSAGES/fcitx5.mo
share/locale/da/LC_MESSAGES/fcitx5.mo
share/locale/de/LC_MESSAGES/fcitx5.mo
share/locale/es/LC_MESSAGES/fcitx5.mo
share/locale/fr/LC_MESSAGES/fcitx5.mo
share/locale/he/LC_MESSAGES/fcitx5.mo
share/locale/ja/LC_MESSAGES/fcitx5.mo
share/locale/ko/LC_MESSAGES/fcitx5.mo
share/locale/ru/LC_MESSAGES/fcitx5.mo
share/locale/zh_CN/LC_MESSAGES/fcitx5.mo
share/locale/zh_TW/LC_MESSAGES/fcitx5.mo
share/metainfo/
share/metainfo/org.fcitx.Fcitx5.metainfo.xml
@tag gtk-update-icon-cache %D/share/icons/hicolor
@tag update-desktop-database

View File

@ -0,0 +1,81 @@
+-----------------------------------------------------------------------
| Setting up and running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------
The "fcitx5" package on its own focused on providing a framework for
typing with many languages all over the world with a large number of
engines. To make fcitx5 useful, the corresponding engines for your
languages as well as supporting modules for your graphical environment
(e.g. GTK/QT) need to be installed.
A basic installation of fcitx5 would be:
# pkg_add fcitx5 fcitx5-config-qt fcitx5-gtk fcitx5-qt
# pkg_add $YOUR_PREFERED_INPUT_METHOD
then configure fcitx5 to start with your DE/WM and setup your IM
engine. For Chinese/Japanese/Korean user, remember to install a font
with CJK support. To install noto-cjk:
# pkg_add noto-cjk
|=============================================================|
| Language/Method | Language engine package to install |
|=============================================================|
| M17N | fcitx5-m17n |
| Vietnamese Telex | fcitx5-unikey |
| Korean | fcitx5-hangul |
| Japanese | fcitx5-skk / fcitx5-kkc / fcitx5-anthy |
| Symbols (e.g. IPA) | fcitx5-table-other |
| Other tables [1] | fcitx5-table-other |
|=============================================================|
[1]: https://github.com/fcitx/fcitx5-table-other/tree/master/tables
Chinese Method
==============
For PinYin / CangJie / ShuangPin / WuBi / ErBi / ZiRanMa, install
fcitx5-chinese-addons.
For ZhengMa / Boshiamy / Quick and other WuBi / CangJie tables,
install fcitx5-table-extra.
For ZhuYin, install fcitx5-chewing.
Starting fcitx5
===============
You need to start fcitx5 with your desktop environment/window manager
for it to be useful, if your desktop environment supports XDG Autostart,
fcitx should start automatically. Otherwise, adding the following lines
to ~/.xsession *BEFORE INVOKING YOUR DE/WM* and then login again:
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
${TRUEPREFIX}/bin/fcitx5 &
Setting up input engines
========================
To setup input engine, run fcitx5-configtool after starting fcitx5,
then select and add your prefered input method from the Avaliable
Input Method panel. You might need to uncheck 'Only Show Current
Language' to find your prefered input method.
Troubleshooting
===============
Fcitx5 bundles with fcitx5-diagnose, a tool to help you troubleshoot,
in case of sending bug report to upstream or openbsd-ports mailing
list, remember to attach a copy of its output, with sensitive
information removed.
Migrating from fcitx4
=====================
Pinyin and table input method engines that are previous bundled inside
fcitx4 are now packaged separately as "fcitx5-chinese-addons", install
it to use those methods.