pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/inputmethod/fcitx5
Module Name: pkgsrc
Committed By: ryoon
Date: Wed Feb 17 15:16:25 UTC 2021
Added Files:
pkgsrc/inputmethod/fcitx5: DESCR Makefile PLIST buildlink3.mk distinfo
pkgsrc/inputmethod/fcitx5/patches: patch-src_lib_fcitx-utils_misc.cpp
patch-src_modules_spell_dict_CMakeLists.txt
Log Message:
inputmethod/fcitx5: import fcitx5-5.0.4
Fcitx 5 is a generic input method framework released under LGPL-2.1+.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/inputmethod/fcitx5/DESCR \
pkgsrc/inputmethod/fcitx5/Makefile pkgsrc/inputmethod/fcitx5/PLIST \
pkgsrc/inputmethod/fcitx5/buildlink3.mk \
pkgsrc/inputmethod/fcitx5/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/inputmethod/fcitx5/patches/patch-src_lib_fcitx-utils_misc.cpp \
pkgsrc/inputmethod/fcitx5/patches/patch-src_modules_spell_dict_CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/inputmethod/fcitx5/DESCR
diff -u /dev/null pkgsrc/inputmethod/fcitx5/DESCR:1.1
--- /dev/null Wed Feb 17 15:16:25 2021
+++ pkgsrc/inputmethod/fcitx5/DESCR Wed Feb 17 15:16:25 2021
@@ -0,0 +1 @@
+Fcitx 5 is a generic input method framework released under LGPL-2.1+.
Index: pkgsrc/inputmethod/fcitx5/Makefile
diff -u /dev/null pkgsrc/inputmethod/fcitx5/Makefile:1.1
--- /dev/null Wed Feb 17 15:16:25 2021
+++ pkgsrc/inputmethod/fcitx5/Makefile Wed Feb 17 15:16:25 2021
@@ -0,0 +1,78 @@
+# $NetBSD: Makefile,v 1.1 2021/02/17 15:16:25 ryoon Exp $
+
+DISTNAME= fcitx5-5.0.4
+CATEGORIES= inputmethod
+MASTER_SITES= https://download.fcitx-im.org/fcitx5/fcitx5/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= ryoon%NetBSD.org@localhost
+HOMEPAGE= https://download.fcitx-im.org/fcitx5/fcitx5/
+COMMENT= Input method framework with extension support
+LICENSE= gnu-lgpl-v2.1
+
+DATAFILES+= en_dict-20121020.tar.gz
+EXTRACT_ONLY= ${DEFAULT_DISTFILES}
+DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
+
+.for f in ${DATAFILES}
+SITES.${f}= https://download.fcitx-im.org/data/
+DISTFILES+= ${f}
+.endfor
+
+SUBST_CLASSES+= fix-machine-id
+SUBST_STAGE.fix-machine-id= pre-configure
+SUBST_MESSAGE.fix-machine-id= Fixing machine-id path
+SUBST_FILES.fix-machine-id+= src/lib/fcitx/misc_p.h
+SUBST_SED.fix-machine-id+= -e 's,/var/lib/dbus/machine-id,${VARBASE}/db/dbus/machine-id,g'
+
+CONFLICTS+= fcitx-[0-9]*
+
+USE_CMAKE= yes
+USE_TOOLS+= bash:run pkg-config
+USE_PKGLOCALEDIR= yes
+USE_LANGUAGES= c c++
+
+REPLACE_BASH+= data/fcitx5-diagnose.sh
+
+BUILD_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
+
+CMAKE_ARGS+= -DENABLE_WAYLAND=off # cairo-egl is required.
+CMAKE_ARGS+= -DUSE_SYSTEMD=off
+
+CXXFLAGS.NetBSD+= -DLIBKVM_FOUND
+
+PKGCONFIG_OVERRIDE+= src/lib/fcitx-config/Fcitx5Config.pc.in
+PKGCONFIG_OVERRIDE+= src/lib/fcitx-utils/Fcitx5Utils.pc.in
+PKGCONFIG_OVERRIDE+= src/lib/fcitx/Fcitx5Core.pc.in
+PKGCONFIG_OVERRIDE+= src/modules/Fcitx5Module.pc.in
+
+pre-configure:
+ ${LN} -s ${DISTDIR}/en_dict-20121020.tar.gz \
+ ${WRKSRC}/src/modules/spell/dict
+
+.include "../../devel/gettext-tools/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libevent/buildlink3.mk"
+.include "../../devel/libexecinfo/buildlink3.mk"
+.include "../../devel/libuuid/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../textproc/cldr-emoji-annotation/buildlink3.mk"
+.include "../../textproc/enchant2/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../textproc/fmtlib/buildlink3.mk"
+.include "../../textproc/iso-codes/buildlink3.mk"
+.include "../../textproc/json-c/buildlink3.mk"
+.include "../../x11/libxcb/buildlink3.mk"
+.include "../../x11/libxkbcommon/buildlink3.mk"
+.include "../../x11/libxkbfile/buildlink3.mk"
+.include "../../x11/xcb-imdkit/buildlink3.mk"
+.include "../../x11/xcb-util/buildlink3.mk"
+.include "../../x11/xcb-util-keysyms/buildlink3.mk"
+.include "../../x11/xcb-util-wm/buildlink3.mk"
+.include "../../x11/xkeyboard-config/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/inputmethod/fcitx5/PLIST
diff -u /dev/null pkgsrc/inputmethod/fcitx5/PLIST:1.1
--- /dev/null Wed Feb 17 15:16:25 2021
+++ pkgsrc/inputmethod/fcitx5/PLIST Wed Feb 17 15:16:25 2021
@@ -0,0 +1,278 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/17 15:16:25 ryoon Exp $
+bin/fcitx5
+bin/fcitx5-configtool
+bin/fcitx5-diagnose
+bin/fcitx5-remote
+etc/xdg/autostart/org.fcitx.Fcitx5.desktop
+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/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/fcitx-module/clipboard/clipboard_public.h
+include/Fcitx5/Module/fcitx-module/dbus/dbus_public.h
+include/Fcitx5/Module/fcitx-module/emoji/emoji_public.h
+include/Fcitx5/Module/fcitx-module/notificationitem/notificationitem_public.h
+include/Fcitx5/Module/fcitx-module/notifications/notifications_public.h
+include/Fcitx5/Module/fcitx-module/quickphrase/quickphrase_public.h
+include/Fcitx5/Module/fcitx-module/spell/spell_public.h
+include/Fcitx5/Module/fcitx-module/testfrontend/testfrontend_public.h
+include/Fcitx5/Module/fcitx-module/testim/testim_public.h
+include/Fcitx5/Module/fcitx-module/xcb/xcb_public.h
+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/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/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/Fcitx5ConfigConfig.cmake
+lib/cmake/Fcitx5Config/Fcitx5ConfigConfigVersion.cmake
+lib/cmake/Fcitx5Config/Fcitx5ConfigTargets-noconfig.cmake
+lib/cmake/Fcitx5Config/Fcitx5ConfigTargets.cmake
+lib/cmake/Fcitx5Core/Fcitx5CoreConfig.cmake
+lib/cmake/Fcitx5Core/Fcitx5CoreConfigVersion.cmake
+lib/cmake/Fcitx5Core/Fcitx5CoreTargets-noconfig.cmake
+lib/cmake/Fcitx5Core/Fcitx5CoreTargets.cmake
+lib/cmake/Fcitx5Module/Fcitx5ModuleConfig.cmake
+lib/cmake/Fcitx5Module/Fcitx5ModuleConfigVersion.cmake
+lib/cmake/Fcitx5ModuleClipboard/Fcitx5ModuleClipboardConfig.cmake
+lib/cmake/Fcitx5ModuleClipboard/Fcitx5ModuleClipboardConfigVersion.cmake
+lib/cmake/Fcitx5ModuleDBus/Fcitx5ModuleDBusConfig.cmake
+lib/cmake/Fcitx5ModuleDBus/Fcitx5ModuleDBusConfigVersion.cmake
+lib/cmake/Fcitx5ModuleEmoji/Fcitx5ModuleEmojiConfig.cmake
+lib/cmake/Fcitx5ModuleEmoji/Fcitx5ModuleEmojiConfigVersion.cmake
+lib/cmake/Fcitx5ModuleNotificationItem/Fcitx5ModuleNotificationItemConfig.cmake
+lib/cmake/Fcitx5ModuleNotificationItem/Fcitx5ModuleNotificationItemConfigVersion.cmake
+lib/cmake/Fcitx5ModuleNotifications/Fcitx5ModuleNotificationsConfig.cmake
+lib/cmake/Fcitx5ModuleNotifications/Fcitx5ModuleNotificationsConfigVersion.cmake
+lib/cmake/Fcitx5ModuleQuickPhrase/Fcitx5ModuleQuickPhraseConfig.cmake
+lib/cmake/Fcitx5ModuleQuickPhrase/Fcitx5ModuleQuickPhraseConfigVersion.cmake
+lib/cmake/Fcitx5ModuleSpell/Fcitx5ModuleSpellConfig.cmake
+lib/cmake/Fcitx5ModuleSpell/Fcitx5ModuleSpellConfigVersion.cmake
+lib/cmake/Fcitx5ModuleTestFrontend/Fcitx5ModuleTestFrontendConfig.cmake
+lib/cmake/Fcitx5ModuleTestFrontend/Fcitx5ModuleTestFrontendConfigVersion.cmake
+lib/cmake/Fcitx5ModuleTestIM/Fcitx5ModuleTestIMConfig.cmake
+lib/cmake/Fcitx5ModuleTestIM/Fcitx5ModuleTestIMConfigVersion.cmake
+lib/cmake/Fcitx5ModuleXCB/Fcitx5ModuleXCBConfig.cmake
+lib/cmake/Fcitx5ModuleXCB/Fcitx5ModuleXCBConfigVersion.cmake
+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-noconfig.cmake
+lib/cmake/Fcitx5Utils/Fcitx5UtilsTargets.cmake
+lib/fcitx5/classicui.so
+lib/fcitx5/clipboard.so
+lib/fcitx5/dbus.so
+lib/fcitx5/dbusfrontend.so
+lib/fcitx5/emoji.so
+lib/fcitx5/fcitx4frontend.so
+lib/fcitx5/ibusfrontend.so
+lib/fcitx5/imselector.so
+lib/fcitx5/kimpanel.so
+lib/fcitx5/libexec/comp-spell-dict
+lib/fcitx5/notificationitem.so
+lib/fcitx5/notifications.so
+lib/fcitx5/quickphrase.so
+lib/fcitx5/spell.so
+lib/fcitx5/testfrontend.so
+lib/fcitx5/testim.so
+lib/fcitx5/testui.so
+lib/fcitx5/unicode.so
+lib/fcitx5/xcb.so
+lib/fcitx5/xim.so
+lib/libFcitx5Config.so
+lib/libFcitx5Config.so.${PKGVERSION}
+lib/libFcitx5Config.so.6
+lib/libFcitx5Core.so
+lib/libFcitx5Core.so.${PKGVERSION}
+lib/libFcitx5Core.so.7
+lib/libFcitx5Utils.so
+lib/libFcitx5Utils.so.2
+lib/libFcitx5Utils.so.${PKGVERSION}
+lib/pkgconfig/Fcitx5Config.pc
+lib/pkgconfig/Fcitx5Core.pc
+lib/pkgconfig/Fcitx5Module.pc
+lib/pkgconfig/Fcitx5Utils.pc
+share/applications/fcitx5-configtool.desktop
+share/applications/org.fcitx.Fcitx5.desktop
+share/dbus-1/services/org.fcitx.Fcitx5.service
+share/fcitx5/addon/classicui.conf
+share/fcitx5/addon/clipboard.conf
+share/fcitx5/addon/dbus.conf
+share/fcitx5/addon/dbusfrontend.conf
+share/fcitx5/addon/emoji.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/quickphrase.d/emoji-eac.mb
+share/fcitx5/data/quickphrase.d/emoji.mb
+share/fcitx5/data/quickphrase.d/latex.mb
+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/en_dict.fscd
+share/fcitx5/testing/addon/testfrontend.conf
+share/fcitx5/testing/addon/testim.conf
+share/fcitx5/testing/addon/testui.conf
+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/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/org.fcitx.Fcitx5.metainfo.xml
Index: pkgsrc/inputmethod/fcitx5/buildlink3.mk
diff -u /dev/null pkgsrc/inputmethod/fcitx5/buildlink3.mk:1.1
--- /dev/null Wed Feb 17 15:16:25 2021
+++ pkgsrc/inputmethod/fcitx5/buildlink3.mk Wed Feb 17 15:16:25 2021
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/02/17 15:16:25 ryoon Exp $
+
+BUILDLINK_TREE+= fcitx5
+
+.if !defined(FCITX5_BUILDLINK3_MK)
+FCITX5_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.fcitx5+= fcitx5>=5.0.1
+BUILDLINK_PKGSRCDIR.fcitx5?= ../../inputmethod/fcitx5
+
+.endif # FCITX5_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -fcitx5
Index: pkgsrc/inputmethod/fcitx5/distinfo
diff -u /dev/null pkgsrc/inputmethod/fcitx5/distinfo:1.1
--- /dev/null Wed Feb 17 15:16:25 2021
+++ pkgsrc/inputmethod/fcitx5/distinfo Wed Feb 17 15:16:25 2021
@@ -0,0 +1,12 @@
+$NetBSD: distinfo,v 1.1 2021/02/17 15:16:25 ryoon Exp $
+
+SHA1 (en_dict-20121020.tar.gz) = 3d6b85cbede261b3703b916e6a1a3303f6cba9a6
+RMD160 (en_dict-20121020.tar.gz) = ae6a1fcf214b9ba1b9d300edeec4d61ad62caf18
+SHA512 (en_dict-20121020.tar.gz) = 8418bd02492bfd786c0fab93be4400ef027ec8e9fac02220cc1f653f5eb67f54573a6a84a15baba19bb34ab892745c87df16499d6304ea75009131e2ab3b97f2
+Size (en_dict-20121020.tar.gz) = 630491 bytes
+SHA1 (fcitx5-5.0.4.tar.xz) = f3c26dca1937803100991a0e4a3664cd7730d74e
+RMD160 (fcitx5-5.0.4.tar.xz) = cc71fb544275c1b2faa317c36778fae9b84bcbb3
+SHA512 (fcitx5-5.0.4.tar.xz) = 88a3ce133b7e07b8fc4b2dc32004a67cb9c6aa09cd80a709c1f8a05cccf40865e5446b8d4e7f6f1c6f613083b0da52e1be131c2243f155e3a59002929fc122f1
+Size (fcitx5-5.0.4.tar.xz) = 1291856 bytes
+SHA1 (patch-src_lib_fcitx-utils_misc.cpp) = 3f7b13bea6fba8d59935465b3ede3732b1571c26
+SHA1 (patch-src_modules_spell_dict_CMakeLists.txt) = 3bbb67be4209af3d0cc50687c1f1be2ab8757c66
Index: pkgsrc/inputmethod/fcitx5/patches/patch-src_lib_fcitx-utils_misc.cpp
diff -u /dev/null pkgsrc/inputmethod/fcitx5/patches/patch-src_lib_fcitx-utils_misc.cpp:1.1
--- /dev/null Wed Feb 17 15:16:25 2021
+++ pkgsrc/inputmethod/fcitx5/patches/patch-src_lib_fcitx-utils_misc.cpp Wed Feb 17 15:16:25 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_lib_fcitx-utils_misc.cpp,v 1.1 2021/02/17 15:16:25 ryoon Exp $
+
+* NetBSD has no sys/user.h.
+
+--- src/lib/fcitx-utils/misc.cpp.orig 2020-12-25 17:51:34.717115200 +0000
++++ src/lib/fcitx-utils/misc.cpp
+@@ -16,7 +16,9 @@
+ #include <kvm.h>
+ #include <sys/param.h>
+ #include <sys/sysctl.h>
++#if !defined(__NetBSD__)
+ #include <sys/user.h>
++#endif
+ #elif defined(__APPLE__)
+ #include <libproc.h>
+ #endif
Index: pkgsrc/inputmethod/fcitx5/patches/patch-src_modules_spell_dict_CMakeLists.txt
diff -u /dev/null pkgsrc/inputmethod/fcitx5/patches/patch-src_modules_spell_dict_CMakeLists.txt:1.1
--- /dev/null Wed Feb 17 15:16:25 2021
+++ pkgsrc/inputmethod/fcitx5/patches/patch-src_modules_spell_dict_CMakeLists.txt Wed Feb 17 15:16:25 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_modules_spell_dict_CMakeLists.txt,v 1.1 2021/02/17 15:16:25 ryoon Exp $
+
+* pkgsrc drops $ORIGIN and use LD_LIBRARY_PATH to run tool during build.
+
+--- src/modules/spell/dict/CMakeLists.txt.orig 2019-08-26 01:11:04.000000000 +0000
++++ src/modules/spell/dict/CMakeLists.txt
+@@ -23,7 +23,7 @@ fcitx5_extract(spell-en-extract "${SPELL
+ add_custom_command(
+ OUTPUT "${SPELL_EN_DICT}"
+ DEPENDS "${SPELL_EN_DICT_SRC}" Fcitx5::comp-spell-dict spell-en-extract
+- COMMAND Fcitx5::comp-spell-dict --comp-dict
++ COMMAND "${CMAKE_COMMAND}" -E env "LD_LIBRARY_PATH=${PROJECT_BINARY_DIR}/src/lib/fcitx-utils" ./comp-spell-dict --comp-dict
+ "${SPELL_EN_DICT_SRC}" "${SPELL_EN_DICT}")
+ add_custom_target(spell_en_dict ALL DEPENDS "${SPELL_EN_DICT}")
+ install(FILES "${SPELL_EN_DICT}" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/spell")
Home |
Main Index |
Thread Index |
Old Index