Update to 1.4.1-6.

This commit is contained in:
Daiki Ueno 2012-10-31 18:43:56 +09:00
parent e8c61add44
commit 2005b28f70
3 changed files with 41 additions and 6 deletions

View File

@ -0,0 +1,23 @@
From f1b2a97b428d8432604ec782505516b9ea1fe565 Mon Sep 17 00:00:00 2001
From: Choe Hwanjin <choe.hwanjin@gmail.com>
Date: Mon, 22 Oct 2012 01:39:51 +0900
Subject: [PATCH] Rename this engine to "Hangul"
"Hangul" means this engine is using libhangul.
---
src/hangul.xml.in.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: ibus-hangul-1.4.1/src/hangul.xml.in.in
===================================================================
--- ibus-hangul-1.4.1.orig/src/hangul.xml.in.in
+++ ibus-hangul-1.4.1/src/hangul.xml.in.in
@@ -18,7 +18,7 @@
<author>Peng Huang &lt;shawn.p.huang@gmail.com&gt;</author>
<icon>ibus-hangul</icon>
<layout>us</layout>
- <longname>Korean</longname>
+ <longname>Hangul</longname>
<description>Korean Input Method</description>
<rank>99</rank>
<symbol>&#xD55C;</symbol>

View File

@ -147,7 +147,7 @@ Index: ibus-hangul-1.4.1/setup/main.py
column.add_attribute(renderer, "text", 0)
self.__hanja_key_list.append_column(column)
@@ -115,17 +119,17 @@ class Setup ():
@@ -115,17 +119,20 @@ class Setup ():
def run(self):
res = self.__window.run()
@ -165,10 +165,13 @@ Index: ibus-hangul-1.4.1/setup/main.py
word_commit = self.__word_commit.get_active()
- self.__write("WordCommit", word_commit)
+ self.__write("WordCommit", GLib.Variant.new_boolean(word_commit))
+
+ auto_reorder = self.__auto_reorder.get_active()
+ self.__write("AutoReorder", GLib.Variant.new_boolean(auto_reorder))
model = self.__hanja_key_list.get_model()
str = ""
@@ -137,13 +141,13 @@ class Setup ():
@@ -137,13 +144,13 @@ class Setup ():
else:
str += model.get_value(iter, 0)
iter = model.iter_next(iter)
@ -185,7 +188,7 @@ Index: ibus-hangul-1.4.1/setup/main.py
widget.emit_stop_by_name("response")
def on_ok(self):
@@ -152,7 +156,7 @@ class Setup ():
@@ -152,7 +159,7 @@ class Setup ():
def on_hanja_key_add(self, widget, data = None):
dialog = KeyCaptureDialog(_("Select Hanja key"), self.__window)
res = dialog.run()
@ -194,7 +197,7 @@ Index: ibus-hangul-1.4.1/setup/main.py
key_str = dialog.get_key_string()
if len(key_str) > 0:
model = self.__hanja_key_list.get_model()
@@ -185,7 +189,10 @@ class Setup ():
@@ -185,7 +192,10 @@ class Setup ():
self.__hanja_key_list_str = value.split(',')
def __read(self, name, v):
@ -206,7 +209,7 @@ Index: ibus-hangul-1.4.1/setup/main.py
def __write(self, name, v):
return self.__config.set_value("engine/Hangul", name, v)
@@ -194,14 +201,13 @@ if __name__ == "__main__":
@@ -194,14 +204,13 @@ if __name__ == "__main__":
locale.bindtextdomain(config.gettext_package, config.localedir)
locale.bind_textdomain_codeset(config.gettext_package, "UTF-8")

View File

@ -14,7 +14,7 @@
Name: ibus-hangul
Version: 1.4.1
Release: 5%{?dist}
Release: 6%{?dist}
Summary: The Hangul engine for IBus input platform
License: GPLv2+
Group: System Environment/Libraries
@ -25,6 +25,7 @@ Patch1: ibus-hangul-setup-gi.patch
%if %have_bridge_hotkey
Patch2: ibus-hangul-add-hangul-hotkey.patch
%endif
Patch3: ibus-hangul-engine-name.patch
BuildRequires: gettext-devel
BuildRequires: intltool
@ -53,6 +54,8 @@ libhangul.
%patch2 -p1 -b .add-hangul-hotkey
%endif
%patch3 -p1 -b .engine-name
%build
autoreconf
%configure --disable-static %{?_with_hotkeys}
@ -90,6 +93,12 @@ fi
%{_datadir}/icons/hicolor/*/apps/*
%changelog
* Wed Oct 31 2012 Daiki Ueno <dueno@redhat.com> - 1.4.1-6
- Add ibus-hangul-engine-name.patch
- Update ibus-hangul-setup-gi.patch
- Fix bug 870318 - Change of “Automatic reordering” setup option
cannot be applied in ibus-hangul setup (thanks Mike FABIAN for the patch)
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild