Index: head/korean/ibus-hangul/Makefile =================================================================== --- head/korean/ibus-hangul/Makefile (revision 396542) +++ head/korean/ibus-hangul/Makefile (revision 396543) @@ -1,38 +1,22 @@ # $FreeBSD$ PORTNAME= ibus-hangul -PORTVERSION= 1.4.2 -PORTREVISION= 2 +PORTVERSION= 1.5.0 CATEGORIES= korean -MASTER_SITES= GOOGLE_CODE +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:${PORTSDIR}/korean/libhangul \ libibus-1.0.so:${PORTSDIR}/textproc/ibus -PROJECTHOST= ibus - GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib INSTALLS_ICONS= yes -USES= gmake libtool pkgconfig python -USE_GNOME= intlhack pygobject3 - -OPTIONS_DEFINE= NLS -OPTIONS_SUB= NLS - -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS= --enable-nls -.else -CONFIGURE_ARGS= --disable-nls -.endif +INSTALL_TARGET= install-strip +USE_GNOME= gtk30 intlhack pygobject3 +USES= gettext gmake libtool pkgconfig python .include Index: head/korean/ibus-hangul/distinfo =================================================================== --- head/korean/ibus-hangul/distinfo (revision 396542) +++ head/korean/ibus-hangul/distinfo (revision 396543) @@ -1,2 +1,2 @@ -SHA256 (ibus-hangul-1.4.2.tar.gz) = de79dff94028673f1a00b24f9af35f37f59c12b1737d171a24ac4d34fad20b89 -SIZE (ibus-hangul-1.4.2.tar.gz) = 483967 +SHA256 (ibus-hangul-1.5.0.tar.gz) = a22d4030bb20f73914a9d8a28c71b823123a5d1902a30f8328111af50f4f1788 +SIZE (ibus-hangul-1.5.0.tar.gz) = 505707 Index: head/korean/ibus-hangul/files/patch-src-i18n.h =================================================================== --- head/korean/ibus-hangul/files/patch-src-i18n.h (revision 396542) +++ head/korean/ibus-hangul/files/patch-src-i18n.h (nonexistent) @@ -1,21 +0,0 @@ ---- src/i18n.h.orig 2009-10-31 02:59:39.000000000 -0400 -+++ src/i18n.h 2011-08-25 19:58:34.000000000 -0400 -@@ -3,9 +3,18 @@ - #ifndef ibus_hangul_i18n_h - #define ibus_hangul_i18n_h - -+#ifdef ENABLE_NLS -+ - #include - - #define _(str) gettext(str) - #define N_(str) (str) - -+#else /* ENABLE_NLS */ -+ -+#define _(str) (str) -+#define N_(str) str -+ -+#endif /* ENABLE_NLS */ -+ - #endif /* ibus_hangul_i18n_h */ Property changes on: head/korean/ibus-hangul/files/patch-src-i18n.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/korean/ibus-hangul/files/patch-setup-main.py =================================================================== --- head/korean/ibus-hangul/files/patch-setup-main.py (revision 396542) +++ head/korean/ibus-hangul/files/patch-setup-main.py (nonexistent) @@ -1,13 +0,0 @@ ---- setup/main.py.orig 2012-04-15 10:46:37.000000000 -0400 -+++ setup/main.py 2012-04-30 17:57:09.000000000 -0400 -@@ -191,8 +191,8 @@ - return self.__config.set_value("engine/Hangul", name, v) - - if __name__ == "__main__": -- locale.bindtextdomain(config.gettext_package, config.localedir) -- locale.bind_textdomain_codeset(config.gettext_package, "UTF-8") -+ gettext.bindtextdomain(config.gettext_package, config.localedir) -+ gettext.bind_textdomain_codeset(config.gettext_package, "UTF-8") - - try: - bus = ibus.Bus() Property changes on: head/korean/ibus-hangul/files/patch-setup-main.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/korean/ibus-hangul/files/patch-src_engine.c =================================================================== --- head/korean/ibus-hangul/files/patch-src_engine.c (nonexistent) +++ head/korean/ibus-hangul/files/patch-src_engine.c (revision 396543) @@ -0,0 +1,10 @@ +--- src/engine.c.orig 2014-10-12 14:36:08 UTC ++++ src/engine.c +@@ -338,6 +338,7 @@ ibus_hangul_init (IBusBus *bus) + value = ibus_config_get_value (config, "panel", "lookup-table-orientation"); + if (value != NULL) { + lookup_table_orientation = g_variant_get_int32(value); ++ g_variant_unref (value); + } + + keymap = ibus_keymap_get("us"); Property changes on: head/korean/ibus-hangul/files/patch-src_engine.c ___________________________________________________________________ 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-plist =================================================================== --- head/korean/ibus-hangul/pkg-plist (revision 396542) +++ head/korean/ibus-hangul/pkg-plist (revision 396543) @@ -1,25 +1,24 @@ bin/ibus-setup-hangul -lib/ibus-hangul/setup/hangul_keyboard_list libexec/ibus-engine-hangul libexec/ibus-setup-hangul share/applications/ibus-setup-hangul.desktop 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 %%DATADIR%%/data/symbol.txt %%DATADIR%%/icons/ibus-hangul.png %%DATADIR%%/icons/ibus-hangul.svg %%DATADIR%%/setup/config.py %%DATADIR%%/setup/config.pyc %%DATADIR%%/setup/config.pyo %%DATADIR%%/setup/keycapturedialog.py %%DATADIR%%/setup/keycapturedialog.pyc %%DATADIR%%/setup/keycapturedialog.pyo %%DATADIR%%/setup/main.py %%DATADIR%%/setup/main.pyc %%DATADIR%%/setup/main.pyo %%DATADIR%%/setup/setup.ui -%%NLS%%share/locale/ko/LC_MESSAGES/ibus-hangul.mo -%%NLS%%share/locale/zh_CN/LC_MESSAGES/ibus-hangul.mo +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