From 886ecb9e76da35270008e3018550123ddf07f334 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jan 25 2014 02:40:08 +0000 Subject: import ibus-hangul-1.4.2-9.el7.src.rpm --- diff --git a/SOURCES/ibus-hangul-setup-abspath.patch b/SOURCES/ibus-hangul-setup-abspath.patch new file mode 100644 index 0000000..1b1d4d2 --- /dev/null +++ b/SOURCES/ibus-hangul-setup-abspath.patch @@ -0,0 +1,39 @@ +From e9bf85e48e204392ba26fcb5767a02ac31486583 Mon Sep 17 00:00:00 2001 +From: Daiki Ueno +Date: Mon, 28 Oct 2013 17:28:26 +0900 +Subject: [PATCH] Invoke ibus-setup-hangul with the absolute path + +Partially 8d3735e4, which installs ibus-setup-hangul under bindir. +--- + src/engine.c | 13 +++++++++++-- + 1 file changed, 11 insertions(+), 2 deletions(-) + +diff --git a/src/engine.c b/src/engine.c +index 602f073..e918a15 100644 +--- a/src/engine.c ++++ b/src/engine.c +@@ -1201,10 +1201,19 @@ ibus_hangul_engine_property_activate (IBusEngine *engine, + if (strcmp(prop_name, "setup") == 0) { + GError *error = NULL; + gchar *argv[2] = { NULL, }; ++ gchar *path; ++ const char* libexecdir; + +- argv[0] = "ibus-setup-hangul"; ++ libexecdir = g_getenv("LIBEXECDIR"); ++ if (libexecdir == NULL) ++ libexecdir = LIBEXECDIR; ++ ++ path = g_build_filename(libexecdir, "ibus-setup-hangul", NULL); ++ argv[0] = path; + argv[1] = NULL; +- g_spawn_async (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, &error); ++ g_spawn_async (NULL, argv, NULL, 0, NULL, NULL, NULL, &error); ++ ++ g_free(path); + } else if (strcmp(prop_name, "hanja_mode") == 0) { + IBusHangulEngine *hangul = (IBusHangulEngine *) engine; + +-- +1.8.3.1 + diff --git a/SPECS/ibus-hangul.spec b/SPECS/ibus-hangul.spec index fd05f38..9bf1d23 100644 --- a/SPECS/ibus-hangul.spec +++ b/SPECS/ibus-hangul.spec @@ -3,7 +3,7 @@ Name: ibus-hangul Version: 1.4.2 -Release: 5%{?dist} +Release: 9%{?dist} Summary: The Hangul engine for IBus input platform License: GPLv2+ Group: System Environment/Libraries @@ -13,6 +13,7 @@ Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz #Patch0: ibus-hangul-HEAD.patch # not upstreamed patches Patch1: ibus-hangul-dconf-prefix.patch +Patch2: ibus-hangul-setup-abspath.patch BuildRequires: gettext-devel, automake, libtool BuildRequires: intltool @@ -34,6 +35,7 @@ libhangul. %prep %setup -q %patch1 -p1 -b .dconf-prefix +%patch2 -p1 -b .setup-abspath autopoint -f AUTOPOINT='intltoolize --automake --copy' autoreconf -fi @@ -76,6 +78,20 @@ fi %{_datadir}/icons/hicolor/*/apps/* %changelog +* Fri Jan 24 2014 Daniel Mach - 1.4.2-9 +- Mass rebuild 2014-01-24 + +* Wed Jan 22 2014 Daiki Ueno - 1.4.2-8 +- Bump version + +* Wed Jan 22 2014 Daiki Ueno - 1.4.2-7 +- Invoke ibus-setup-hangul with the absolute path. +- Fix bug 1012732 - Click ibus hangul setup on gnome-shell top bar's + ibus -> No Response + +* Fri Dec 27 2013 Daniel Mach - 1.4.2-6 +- Mass rebuild 2013-12-27 + * Wed Jun 19 2013 Daiki Ueno - 1.4.2-5 - Remove ibus-setup-hangul symlink in %%{_bindir}. - Fix bogus changelog date.