Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163329643
D9236.id24174.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
15 KB
Referenced Files
None
Subscribers
None
D9236.id24174.diff
View Options
Index: textproc/ibus-typing-booster/Makefile
===================================================================
--- textproc/ibus-typing-booster/Makefile
+++ textproc/ibus-typing-booster/Makefile
@@ -0,0 +1,73 @@
+# Created by: Thierry Thomas <thierry@pompo.net>
+# $FreeBSD$
+
+PORTNAME= ibus-typing-booster
+PORTVERSION= 1.5.18
+CATEGORIES= textproc
+
+MAINTAINER= thierry@FreeBSD.org
+COMMENT= Faster typing by context sensitive completion
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gi/_gi.so:devel/py3-gobject3 \
+ ${PYTHON_LIBDIR}/lib-dynload/_sqlite3.so:databases/py35-sqlite3
+LIB_DEPENDS= libibus-1.0.so:textproc/ibus \
+ libm17n.so:devel/m17n-lib
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/bus.py:devel/py3-dbus \
+ ${PYTHON_SITELIBDIR}/hunspell.so:textproc/py3-hunspell \
+ ${PYTHON_SITELIBDIR}/gi/_gi.so:devel/py3-gobject3 \
+ ${LOCALBASE}/share/unicode/ucd/Index.txt:textproc/UCD \
+ ${PYTHON_LIBDIR}/lib-dynload/_sqlite3.so:databases/py35-sqlite3
+TEST_DEPENDS= ${LOCALBASE}/share/hunspell/de_DE.dic:german/hunspell \
+ ${LOCALBASE}/share/hunspell/ko_KR.aff:korean/hunspell \
+ ${LOCALBASE}/share/hunspell/en_US.aff:textproc/en-hunspell
+
+USE_GITHUB= yes
+GH_ACCOUNT= mike-fabian
+
+USES= autoreconf gettext gmake iconv pathfix python:3.3+
+GNU_CONFIGURE= yes
+NO_ARCH= yes
+TEST_TARGET= check
+
+OPTIONS_DEFINE= HUNSPELL
+OPTIONS_DEFAULT=HUNSPELL
+
+HUNSPELL_RUN_DEPENDS= hunspell:textproc/hunspell
+
+SPELL2FIX= engine/hunspell_suggest.py setup/user_transliteration.py \
+ setup/user_transliteration.py
+DATA2FIX= setup/main.py engine/tabsqlitedb.py engine/main.py
+M17N2FIX= setup/main.py
+SHR2FIX= engine/tabsqlitedb.py engine/itb_util.py engine/itb_emoji.py \
+ engine/hunspell_table.py engine/main.py setup/user_transliteration.py
+
+pre-configure:
+.for f in ${SPELL2FIX}
+ ${REINPLACE_CMD} -e 's|/usr/share/myspell|${LOCALBASE}/share/hunspell|' \
+ ${WRKSRC}/${f}
+.endfor
+.for f in ${DATA2FIX}
+ ${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/${f}
+.endfor
+.for f in ${M17N2FIX}
+ ${REINPLACE_CMD} -e 's|/usr/share/m17n|${LOCALBASE}/share/m17n|' \
+ ${WRKSRC}/${f}
+.endfor
+ ${REINPLACE_CMD} -e 's|/usr/libexec|${PREFIX}/libexec|' \
+ ${WRKSRC}/hunspell-tables/*.conf
+.for f in ${SHR2FIX}
+ ${REINPLACE_CMD} -e 's|/usr/share/ibus-typing-booster|${DATADIR}|' \
+ -e 's|/usr/share|${LOCALBASE}/share|' ${WRKSRC}/${f}
+.endfor
+
+post-install:
+ (cd ${STAGEDIR}${PREFIX} \
+ && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ -d ${PREFIX} -f ${DATADIR:S;${PREFIX}/;;} \
+ && ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
+ -d ${PREFIX} -f ${DATADIR:S;${PREFIX}/;;})
+
+.include <bsd.port.mk>
Index: textproc/ibus-typing-booster/distinfo
===================================================================
--- textproc/ibus-typing-booster/distinfo
+++ textproc/ibus-typing-booster/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1484685926
+SHA256 (mike-fabian-ibus-typing-booster-1.5.18_GH0.tar.gz) = e8aa6e3b43d246dd1a92e50f3c619e3802948f7a2f78eea84b040302b140ee1c
+SIZE (mike-fabian-ibus-typing-booster-1.5.18_GH0.tar.gz) = 4771345
Index: textproc/ibus-typing-booster/files/patch-setup_ibus-setup-typing-booster.desktop.in.in
===================================================================
--- textproc/ibus-typing-booster/files/patch-setup_ibus-setup-typing-booster.desktop.in.in
+++ textproc/ibus-typing-booster/files/patch-setup_ibus-setup-typing-booster.desktop.in.in
@@ -0,0 +1,10 @@
+--- setup/ibus-setup-typing-booster.desktop.in.in.orig 2016-12-14 02:45:06 UTC
++++ setup/ibus-setup-typing-booster.desktop.in.in
+@@ -5,4 +5,5 @@ Exec=${LIBEXECDIR}/ibus-setup-typing-boo
+ Icon=${PKGDATADIR}/icons/ibus-hunspell-table.svg
+ NoDisplay=true
+ Type=Application
+-StartupNotify=true
+\ No newline at end of file
++StartupNotify=true
++Categories=Settings;
Index: textproc/ibus-typing-booster/pkg-descr
===================================================================
--- textproc/ibus-typing-booster/pkg-descr
+++ textproc/ibus-typing-booster/pkg-descr
@@ -0,0 +1,24 @@
+Ibus-typing-booster is a completion input method to speedup typing.
+
+The original purpose was to make typing of Indic languages easier and faster by
+providing completion and spell checking suggestions. Originally it was forked
+from ibus-table. Since then ibus-typing-booster has been improved to support
+many other languages as well (most languages except Chinese and Japanese are
+supported). Recently the capapility to type different languages at the same time
+without having to switch between languages has been added.
+
+Features
+ - Context sensitive completions.
+ - Learns from user input.
+ - Can be trained by supplying files containing typical user input.
+ - If available, hunspell and hunspell dictionaries will also be used to
+ provide not only completion but also spellchecking suggestions (But it works
+ also without hunspell by learning only from user input).
+ - Can be used with any keyboard layout.
+ - Almost all input methods supplied by libm17n are supported (including the
+ inscript2 input methods).
+ - Several input methods and languages can be used at the same time without
+ switching.
+ - Predicts Unicode symbols and emoji as well.
+
+WWW: https://mike-fabian.github.io/ibus-typing-booster/
Index: textproc/ibus-typing-booster/pkg-plist
===================================================================
--- textproc/ibus-typing-booster/pkg-plist
+++ textproc/ibus-typing-booster/pkg-plist
@@ -0,0 +1,287 @@
+libexec/ibus-engine-typing-booster
+libexec/ibus-setup-typing-booster
+share/appdata/typing-booster.appdata.xml
+share/applications/ibus-setup-typing-booster.desktop
+%%DATADIR%%/data/UnicodeData.txt
+%%DATADIR%%/data/af.xml
+%%DATADIR%%/data/am.xml
+%%DATADIR%%/data/ar.xml
+%%DATADIR%%/data/as.xml
+%%DATADIR%%/data/az.xml
+%%DATADIR%%/data/be.xml
+%%DATADIR%%/data/bg.xml
+%%DATADIR%%/data/bn.xml
+%%DATADIR%%/data/bs.xml
+%%DATADIR%%/data/ca.xml
+%%DATADIR%%/data/cs.xml
+%%DATADIR%%/data/da.xml
+%%DATADIR%%/data/de.xml
+%%DATADIR%%/data/de_CH.xml
+%%DATADIR%%/data/el.xml
+%%DATADIR%%/data/emojione.json
+%%DATADIR%%/data/en.xml
+%%DATADIR%%/data/en_001.xml
+%%DATADIR%%/data/en_GB.xml
+%%DATADIR%%/data/es.xml
+%%DATADIR%%/data/es_419.xml
+%%DATADIR%%/data/et.xml
+%%DATADIR%%/data/eu.xml
+%%DATADIR%%/data/fa.xml
+%%DATADIR%%/data/fi.xml
+%%DATADIR%%/data/fil.xml
+%%DATADIR%%/data/fr.xml
+%%DATADIR%%/data/ga.xml
+%%DATADIR%%/data/gl.xml
+%%DATADIR%%/data/gu.xml
+%%DATADIR%%/data/he.xml
+%%DATADIR%%/data/hi.xml
+%%DATADIR%%/data/hr.xml
+%%DATADIR%%/data/hu.xml
+%%DATADIR%%/data/hy.xml
+%%DATADIR%%/data/id.xml
+%%DATADIR%%/data/is.xml
+%%DATADIR%%/data/it.xml
+%%DATADIR%%/data/ja.xml
+%%DATADIR%%/data/ka.xml
+%%DATADIR%%/data/kk.xml
+%%DATADIR%%/data/km.xml
+%%DATADIR%%/data/kn.xml
+%%DATADIR%%/data/ko.xml
+%%DATADIR%%/data/ky.xml
+%%DATADIR%%/data/lo.xml
+%%DATADIR%%/data/lt.xml
+%%DATADIR%%/data/lv.xml
+%%DATADIR%%/data/mk.xml
+%%DATADIR%%/data/ml.xml
+%%DATADIR%%/data/mn.xml
+%%DATADIR%%/data/mr.xml
+%%DATADIR%%/data/ms.xml
+%%DATADIR%%/data/my.xml
+%%DATADIR%%/data/nb.xml
+%%DATADIR%%/data/ne.xml
+%%DATADIR%%/data/nl.xml
+%%DATADIR%%/data/or.xml
+%%DATADIR%%/data/pa.xml
+%%DATADIR%%/data/pl.xml
+%%DATADIR%%/data/pt.xml
+%%DATADIR%%/data/pt_PT.xml
+%%DATADIR%%/data/ro.xml
+%%DATADIR%%/data/root.xml
+%%DATADIR%%/data/ru.xml
+%%DATADIR%%/data/si.xml
+%%DATADIR%%/data/sk.xml
+%%DATADIR%%/data/sl.xml
+%%DATADIR%%/data/sq.xml
+%%DATADIR%%/data/sr.xml
+%%DATADIR%%/data/sr_Latn.xml
+%%DATADIR%%/data/sv.xml
+%%DATADIR%%/data/sw.xml
+%%DATADIR%%/data/ta.xml
+%%DATADIR%%/data/te.xml
+%%DATADIR%%/data/th.xml
+%%DATADIR%%/data/tr.xml
+%%DATADIR%%/data/uk.xml
+%%DATADIR%%/data/ur.xml
+%%DATADIR%%/data/uz.xml
+%%DATADIR%%/data/vi.xml
+%%DATADIR%%/data/zh.xml
+%%DATADIR%%/data/zh_Hant.xml
+%%DATADIR%%/data/zu.xml
+%%DATADIR%%/engine/__pycache__/factory.cpython-35.opt-1.pyc
+%%DATADIR%%/engine/__pycache__/factory.cpython-35.pyc
+%%DATADIR%%/engine/__pycache__/hunspell_suggest.cpython-35.opt-1.pyc
+%%DATADIR%%/engine/__pycache__/hunspell_suggest.cpython-35.pyc
+%%DATADIR%%/engine/__pycache__/hunspell_table.cpython-35.opt-1.pyc
+%%DATADIR%%/engine/__pycache__/hunspell_table.cpython-35.pyc
+%%DATADIR%%/engine/__pycache__/itb_emoji.cpython-35.opt-1.pyc
+%%DATADIR%%/engine/__pycache__/itb_emoji.cpython-35.pyc
+%%DATADIR%%/engine/__pycache__/itb_nltk.cpython-35.opt-1.pyc
+%%DATADIR%%/engine/__pycache__/itb_nltk.cpython-35.pyc
+%%DATADIR%%/engine/__pycache__/itb_util.cpython-35.opt-1.pyc
+%%DATADIR%%/engine/__pycache__/itb_util.cpython-35.pyc
+%%DATADIR%%/engine/__pycache__/m17n_translit.cpython-35.opt-1.pyc
+%%DATADIR%%/engine/__pycache__/m17n_translit.cpython-35.pyc
+%%DATADIR%%/engine/__pycache__/main.cpython-35.opt-1.pyc
+%%DATADIR%%/engine/__pycache__/main.cpython-35.pyc
+%%DATADIR%%/engine/__pycache__/tabsqlitedb.cpython-35.opt-1.pyc
+%%DATADIR%%/engine/__pycache__/tabsqlitedb.cpython-35.pyc
+%%DATADIR%%/engine/factory.py
+%%DATADIR%%/engine/hunspell_suggest.py
+%%DATADIR%%/engine/hunspell_table.py
+%%DATADIR%%/engine/itb_emoji.py
+%%DATADIR%%/engine/itb_nltk.py
+%%DATADIR%%/engine/itb_util.py
+%%DATADIR%%/engine/m17n_translit.py
+%%DATADIR%%/engine/main.py
+%%DATADIR%%/engine/tabsqlitedb.py
+%%DATADIR%%/hunspell-tables/ar_TN.conf
+%%DATADIR%%/hunspell-tables/as_IN.conf
+%%DATADIR%%/hunspell-tables/be_BY.conf
+%%DATADIR%%/hunspell-tables/bg_BG.conf
+%%DATADIR%%/hunspell-tables/bn_IN.conf
+%%DATADIR%%/hunspell-tables/ca_ES.conf
+%%DATADIR%%/hunspell-tables/cs_CZ.conf
+%%DATADIR%%/hunspell-tables/da_DK.conf
+%%DATADIR%%/hunspell-tables/de_AT.conf
+%%DATADIR%%/hunspell-tables/de_CH.conf
+%%DATADIR%%/hunspell-tables/de_DE.conf
+%%DATADIR%%/hunspell-tables/el_GR.conf
+%%DATADIR%%/hunspell-tables/en_AG.conf
+%%DATADIR%%/hunspell-tables/en_AU.conf
+%%DATADIR%%/hunspell-tables/en_BS.conf
+%%DATADIR%%/hunspell-tables/en_BW.conf
+%%DATADIR%%/hunspell-tables/en_BZ.conf
+%%DATADIR%%/hunspell-tables/en_DK.conf
+%%DATADIR%%/hunspell-tables/en_GB.conf
+%%DATADIR%%/hunspell-tables/en_GH.conf
+%%DATADIR%%/hunspell-tables/en_HK.conf
+%%DATADIR%%/hunspell-tables/en_IE.conf
+%%DATADIR%%/hunspell-tables/en_IN.conf
+%%DATADIR%%/hunspell-tables/en_JM.conf
+%%DATADIR%%/hunspell-tables/en_NA.conf
+%%DATADIR%%/hunspell-tables/en_NG.conf
+%%DATADIR%%/hunspell-tables/en_NZ.conf
+%%DATADIR%%/hunspell-tables/en_PH.conf
+%%DATADIR%%/hunspell-tables/en_SG.conf
+%%DATADIR%%/hunspell-tables/en_TT.conf
+%%DATADIR%%/hunspell-tables/en_US.conf
+%%DATADIR%%/hunspell-tables/en_ZA.conf
+%%DATADIR%%/hunspell-tables/en_ZW.conf
+%%DATADIR%%/hunspell-tables/es_ES.conf
+%%DATADIR%%/hunspell-tables/fa_IR.conf
+%%DATADIR%%/hunspell-tables/fr_BE.conf
+%%DATADIR%%/hunspell-tables/fr_CA.conf
+%%DATADIR%%/hunspell-tables/fr_CH.conf
+%%DATADIR%%/hunspell-tables/fr_FR.conf
+%%DATADIR%%/hunspell-tables/fr_LU.conf
+%%DATADIR%%/hunspell-tables/fr_MC.conf
+%%DATADIR%%/hunspell-tables/gu_IN.conf
+%%DATADIR%%/hunspell-tables/he_IL.conf
+%%DATADIR%%/hunspell-tables/hi_IN.conf
+%%DATADIR%%/hunspell-tables/hu_HU.conf
+%%DATADIR%%/hunspell-tables/hy_AM.conf
+%%DATADIR%%/hunspell-tables/is_IS.conf
+%%DATADIR%%/hunspell-tables/it_IT.conf
+%%DATADIR%%/hunspell-tables/km_KH.conf
+%%DATADIR%%/hunspell-tables/kn_IN.conf
+%%DATADIR%%/hunspell-tables/ko_KR.conf
+%%DATADIR%%/hunspell-tables/ku_TR.conf
+%%DATADIR%%/hunspell-tables/mai_IN.conf
+%%DATADIR%%/hunspell-tables/ml_IN.conf
+%%DATADIR%%/hunspell-tables/mr_IN.conf
+%%DATADIR%%/hunspell-tables/nb_NO.conf
+%%DATADIR%%/hunspell-tables/ne_IN.conf
+%%DATADIR%%/hunspell-tables/ne_NP.conf
+%%DATADIR%%/hunspell-tables/nl_NL.conf
+%%DATADIR%%/hunspell-tables/nn_NO.conf
+%%DATADIR%%/hunspell-tables/or_IN.conf
+%%DATADIR%%/hunspell-tables/pa_IN.conf
+%%DATADIR%%/hunspell-tables/pl_PL.conf
+%%DATADIR%%/hunspell-tables/pt_BR.conf
+%%DATADIR%%/hunspell-tables/pt_PT.conf
+%%DATADIR%%/hunspell-tables/ro_RO.conf
+%%DATADIR%%/hunspell-tables/ru_RU.conf
+%%DATADIR%%/hunspell-tables/si_LK.conf
+%%DATADIR%%/hunspell-tables/sv_SE.conf
+%%DATADIR%%/hunspell-tables/ta_IN.conf
+%%DATADIR%%/hunspell-tables/te_IN.conf
+%%DATADIR%%/hunspell-tables/th_TH.conf
+%%DATADIR%%/hunspell-tables/uk_UA.conf
+%%DATADIR%%/hunspell-tables/ur_PK.conf
+%%DATADIR%%/hunspell-tables/yi_US.conf
+%%DATADIR%%/icons/ar_TN.svg
+%%DATADIR%%/icons/as_IN.svg
+%%DATADIR%%/icons/be_BY.svg
+%%DATADIR%%/icons/bg_BG.svg
+%%DATADIR%%/icons/bn_IN.svg
+%%DATADIR%%/icons/ca_ES.svg
+%%DATADIR%%/icons/cs_CZ.svg
+%%DATADIR%%/icons/da_DK.svg
+%%DATADIR%%/icons/de_AT.svg
+%%DATADIR%%/icons/de_CH.svg
+%%DATADIR%%/icons/de_DE.svg
+%%DATADIR%%/icons/el_GR.svg
+%%DATADIR%%/icons/en_AG.svg
+%%DATADIR%%/icons/en_AU.svg
+%%DATADIR%%/icons/en_BS.svg
+%%DATADIR%%/icons/en_BW.svg
+%%DATADIR%%/icons/en_BZ.svg
+%%DATADIR%%/icons/en_DK.svg
+%%DATADIR%%/icons/en_GB.svg
+%%DATADIR%%/icons/en_GH.svg
+%%DATADIR%%/icons/en_HK.svg
+%%DATADIR%%/icons/en_IE.svg
+%%DATADIR%%/icons/en_IN.svg
+%%DATADIR%%/icons/en_JM.svg
+%%DATADIR%%/icons/en_NA.svg
+%%DATADIR%%/icons/en_NG.svg
+%%DATADIR%%/icons/en_NZ.svg
+%%DATADIR%%/icons/en_PH.svg
+%%DATADIR%%/icons/en_SG.svg
+%%DATADIR%%/icons/en_TT.svg
+%%DATADIR%%/icons/en_US.svg
+%%DATADIR%%/icons/en_ZA.svg
+%%DATADIR%%/icons/en_ZW.svg
+%%DATADIR%%/icons/es_ES.svg
+%%DATADIR%%/icons/fa_IR.svg
+%%DATADIR%%/icons/fr_BE.svg
+%%DATADIR%%/icons/fr_CA.svg
+%%DATADIR%%/icons/fr_CH.svg
+%%DATADIR%%/icons/fr_FR.svg
+%%DATADIR%%/icons/fr_LU.svg
+%%DATADIR%%/icons/fr_MC.svg
+%%DATADIR%%/icons/gu_IN.svg
+%%DATADIR%%/icons/he_IL.svg
+%%DATADIR%%/icons/hi_IN.svg
+%%DATADIR%%/icons/hu_HU.svg
+%%DATADIR%%/icons/hy_AM.svg
+%%DATADIR%%/icons/ibus-hunspell-table.svg
+%%DATADIR%%/icons/is_IS.svg
+%%DATADIR%%/icons/it_IT.svg
+%%DATADIR%%/icons/km_KH.svg
+%%DATADIR%%/icons/kn_IN.svg
+%%DATADIR%%/icons/ko_KR.svg
+%%DATADIR%%/icons/ku_TR.svg
+%%DATADIR%%/icons/mai_IN.svg
+%%DATADIR%%/icons/ml_IN.svg
+%%DATADIR%%/icons/mr_IN.svg
+%%DATADIR%%/icons/nb_NO.svg
+%%DATADIR%%/icons/ne_IN.svg
+%%DATADIR%%/icons/ne_NP.svg
+%%DATADIR%%/icons/nl_NL.svg
+%%DATADIR%%/icons/nn_NO.svg
+%%DATADIR%%/icons/or_IN.svg
+%%DATADIR%%/icons/pa_IN.svg
+%%DATADIR%%/icons/pl_PL.svg
+%%DATADIR%%/icons/pt_BR.svg
+%%DATADIR%%/icons/pt_PT.svg
+%%DATADIR%%/icons/ro_RO.svg
+%%DATADIR%%/icons/ru_RU.svg
+%%DATADIR%%/icons/si_LK.svg
+%%DATADIR%%/icons/sv_SE.svg
+%%DATADIR%%/icons/ta_IN.svg
+%%DATADIR%%/icons/te_IN.svg
+%%DATADIR%%/icons/th_TH.svg
+%%DATADIR%%/icons/uk_UA.svg
+%%DATADIR%%/icons/ur_PK.svg
+%%DATADIR%%/icons/yi_US.svg
+%%DATADIR%%/setup/__pycache__/i18n.cpython-35.opt-1.pyc
+%%DATADIR%%/setup/__pycache__/i18n.cpython-35.pyc
+%%DATADIR%%/setup/__pycache__/main.cpython-35.opt-1.pyc
+%%DATADIR%%/setup/__pycache__/main.cpython-35.pyc
+%%DATADIR%%/setup/__pycache__/pkginstall.cpython-35.opt-1.pyc
+%%DATADIR%%/setup/__pycache__/pkginstall.cpython-35.pyc
+%%DATADIR%%/setup/__pycache__/version.cpython-35.opt-1.pyc
+%%DATADIR%%/setup/__pycache__/version.cpython-35.pyc
+%%DATADIR%%/setup/i18n.py
+%%DATADIR%%/setup/main.py
+%%DATADIR%%/setup/pkginstall.py
+%%DATADIR%%/setup/setup.glade
+%%DATADIR%%/setup/version.py
+share/ibus/component/typing-booster.xml
+share/locale/ca/LC_MESSAGES/ibus-typing-booster.mo
+share/locale/de/LC_MESSAGES/ibus-typing-booster.mo
+share/locale/fr/LC_MESSAGES/ibus-typing-booster.mo
+share/locale/pl/LC_MESSAGES/ibus-typing-booster.mo
+share/locale/pt_BR/LC_MESSAGES/ibus-typing-booster.mo
+share/locale/uk/LC_MESSAGES/ibus-typing-booster.mo
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 4:19 AM (18 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35355270
Default Alt Text
D9236.id24174.diff (15 KB)
Attached To
Mode
D9236: New port: textproc/ibus-typing-booster
Attached
Detach File
Event Timeline
Log In to Comment