Index: head/korean/ibus-hangul/Makefile =================================================================== --- head/korean/ibus-hangul/Makefile (revision 506902) +++ head/korean/ibus-hangul/Makefile (revision 506903) @@ -1,23 +1,34 @@ # $FreeBSD$ PORTNAME= ibus-hangul PORTVERSION= 1.5.1 CATEGORIES= korean MASTER_SITES= https://github.com/choehwanjin/ibus-hangul/releases/download/${PORTVERSION}/ MAINTAINER= jkim@FreeBSD.org COMMENT= Hangul input engine for IBus LICENSE= GPLv2 LIB_DEPENDS= libhangul.so:korean/libhangul \ libibus-1.0.so:textproc/ibus +USES= gmake gnome libtool pkgconfig python +USE_GNOME= gtk30 intlhack pygobject3 + +OPTIONS_DEFINE= NLS +OPTIONS_SUB= NLS + +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext +NLS_USES_OFF= gettext-tools + GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-python="${PYTHON_CMD}" + +GLIB_SCHEMAS= org.freedesktop.ibus.engine.hangul.gschema.xml + INSTALLS_ICONS= yes INSTALL_TARGET= install-strip -USE_GNOME= gtk30 intlhack pygobject3 -USES= gettext gmake libtool pkgconfig python -USE_PYTHON= py3kplist .include Index: head/korean/ibus-hangul/files/patch-setup_main.py =================================================================== --- head/korean/ibus-hangul/files/patch-setup_main.py (nonexistent) +++ head/korean/ibus-hangul/files/patch-setup_main.py (revision 506903) @@ -0,0 +1,10 @@ +--- setup/main.py.orig 2018-06-08 14:34:37 UTC ++++ setup/main.py +@@ -151,6 +151,7 @@ class Setup (): + self.__window = self.__builder.get_object("SetupDialog") + icon_file = os.path.join(config.pkgdatadir, "icons", "ibus-hangul.svg") + self.__window.set_icon_from_file(icon_file) ++ self.__window.connect("destroy", Gtk.main_quit) + self.__window.show() + + button = self.__builder.get_object("button_apply") Property changes on: head/korean/ibus-hangul/files/patch-setup_main.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/korean/ibus-hangul/pkg-message =================================================================== --- head/korean/ibus-hangul/pkg-message (revision 506902) +++ head/korean/ibus-hangul/pkg-message (revision 506903) @@ -1,35 +1,31 @@ ibus-hangul installation finished. To use ibus-hangul, please do the following: If you are using bash or zsh, please add following lines to your $HOME/.bashrc or $HOME/.zshrc: export XIM=ibus export GTK_IM_MODULE=ibus export QT_IM_MODULE=xim export XMODIFIERS=@im=ibus export XIM_PROGRAM="ibus-daemon" export XIM_ARGS="-r --daemonize --xim" If you are using tcsh, please add following lines to your $HOME/.cshrc: setenv XIM ibus setenv GTK_IM_MODULE ibus setenv QT_IM_MODULE xim setenv XMODIFIERS @im=ibus setenv XIM_PROGRAM ibus-daemon setenv XIM_ARGS "-r --daemonize --xim" If you are using KDE4, you may create a shell script in $HOME/.kde4/env, and add following lines: #!/bin/sh export XIM=ibus export GTK_IM_MODULE=ibus export QT_IM_MODULE=xim export XMODIFIERS=@im=ibus export XIM_PROGRAM="ibus-daemon" export XIM_ARGS="-r --daemonize --xim" - -If ibus cannot start or the panel does not appear, please ensure -that you are using up-to-date python. -There's a bug in python 2.5, which may prevent the panel from appearing. Index: head/korean/ibus-hangul/pkg-plist =================================================================== --- head/korean/ibus-hangul/pkg-plist (revision 506902) +++ head/korean/ibus-hangul/pkg-plist (revision 506903) @@ -1,24 +1,30 @@ bin/ibus-setup-hangul libexec/ibus-engine-hangul libexec/ibus-setup-hangul share/applications/ibus-setup-hangul.desktop -share/ibus/component/hangul.xml %%DATADIR%%/data/symbol.txt %%DATADIR%%/icons/ibus-hangul.png %%DATADIR%%/icons/ibus-hangul.svg +%%PYTHON3%%%%DATADIR%%/setup/__pycache__/config.cpython-36.opt-1.pyc +%%PYTHON3%%%%DATADIR%%/setup/__pycache__/config.cpython-36.pyc +%%PYTHON3%%%%DATADIR%%/setup/__pycache__/keycapturedialog.cpython-36.opt-1.pyc +%%PYTHON3%%%%DATADIR%%/setup/__pycache__/keycapturedialog.cpython-36.pyc +%%PYTHON3%%%%DATADIR%%/setup/__pycache__/main.cpython-36.opt-1.pyc +%%PYTHON3%%%%DATADIR%%/setup/__pycache__/main.cpython-36.pyc %%DATADIR%%/setup/config.py -%%DATADIR%%/setup/config.pyc -%%DATADIR%%/setup/config.pyo +%%PYTHON2%%%%DATADIR%%/setup/config.pyc +%%PYTHON2%%%%DATADIR%%/setup/config.pyo %%DATADIR%%/setup/keycapturedialog.py -%%DATADIR%%/setup/keycapturedialog.pyc -%%DATADIR%%/setup/keycapturedialog.pyo +%%PYTHON2%%%%DATADIR%%/setup/keycapturedialog.pyc +%%PYTHON2%%%%DATADIR%%/setup/keycapturedialog.pyo %%DATADIR%%/setup/main.py -%%DATADIR%%/setup/main.pyc -%%DATADIR%%/setup/main.pyo +%%PYTHON2%%%%DATADIR%%/setup/main.pyc +%%PYTHON2%%%%DATADIR%%/setup/main.pyo %%DATADIR%%/setup/setup.ui +share/ibus/component/hangul.xml share/icons/hicolor/64x64/apps/ibus-hangul.png share/icons/hicolor/64x64/apps/ibus-setup-hangul.png share/icons/hicolor/scalable/apps/ibus-hangul.svg share/icons/hicolor/scalable/apps/ibus-setup-hangul.svg -share/locale/ko/LC_MESSAGES/ibus-hangul.mo -share/locale/zh_CN/LC_MESSAGES/ibus-hangul.mo +%%NLS%%share/locale/ko/LC_MESSAGES/ibus-hangul.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/ibus-hangul.mo