rpms/ibus-hangul/devel ibus-hangul-1.1.0.20090328-hanja-arrow-keys.patch, NONE, 1.1 ibus-hangul-1.1.0.20090328-right-ctrl-hanja.patch, NONE, 1.1 ibus-hangul.spec, 1.8, 1.9

Warren Togami 砥上勇 wtogami at fedoraproject.org
Mon Apr 13 02:57:43 UTC 2009


Author: wtogami

Update of /cvs/pkgs/rpms/ibus-hangul/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3446

Modified Files:
	ibus-hangul.spec 
Added Files:
	ibus-hangul-1.1.0.20090328-hanja-arrow-keys.patch 
	ibus-hangul-1.1.0.20090328-right-ctrl-hanja.patch 
Log Message:
- Bug 493706: ibus-hangul Hanja arrow keys are wrong
- Bug 493509: ibus-hangul missing right Ctrl for Hanja button
  These fixes are not ideal, but they make it usable for Fedora 11.
  These must become configurable in a future version.


ibus-hangul-1.1.0.20090328-hanja-arrow-keys.patch:

--- NEW FILE ibus-hangul-1.1.0.20090328-hanja-arrow-keys.patch ---
diff -urN ibus-hangul-1.1.0.20090328.orig/src/engine.c ibus-hangul-1.1.0.20090328/src/engine.c
--- ibus-hangul-1.1.0.20090328.orig/src/engine.c	2009-04-06 16:21:46.663081165 -0400
+++ ibus-hangul-1.1.0.20090328/src/engine.c	2009-04-06 16:50:00.163321101 -0400
@@ -384,19 +384,19 @@
 
 	ibus_hangul_engine_commit_current_candidate (hangul);
         ibus_hangul_engine_close_lookup_table (hangul);
-    } else if (keyval == IBUS_Left) {
+    } else if (keyval == IBUS_Up) {
         ibus_lookup_table_cursor_up (hangul->table);
         ibus_hangul_engine_update_lookup_table (hangul);
         ibus_hangul_engine_update_auxiliary_text (hangul);
-    } else if (keyval == IBUS_Right) {
+    } else if (keyval == IBUS_Down) {
         ibus_lookup_table_cursor_down (hangul->table);
         ibus_hangul_engine_update_lookup_table (hangul);
         ibus_hangul_engine_update_auxiliary_text (hangul);
-    } else if (keyval == IBUS_Up) {
+    } else if (keyval == IBUS_Left) {
         ibus_lookup_table_page_up (hangul->table);
         ibus_hangul_engine_update_lookup_table (hangul);
         ibus_hangul_engine_update_auxiliary_text (hangul);
-    } else if (keyval == IBUS_Down) {
+    } else if (keyval == IBUS_Right) {
         ibus_lookup_table_page_down (hangul->table);
         ibus_hangul_engine_update_lookup_table (hangul);
         ibus_hangul_engine_update_auxiliary_text (hangul);

ibus-hangul-1.1.0.20090328-right-ctrl-hanja.patch:

--- NEW FILE ibus-hangul-1.1.0.20090328-right-ctrl-hanja.patch ---
diff -urN ibus-hangul-1.1.0.20090328.orig/src/engine.c ibus-hangul-1.1.0.20090328/src/engine.c
--- ibus-hangul-1.1.0.20090328.orig/src/engine.c	2009-03-26 01:50:18.000000000 -0400
+++ ibus-hangul-1.1.0.20090328/src/engine.c	2009-04-06 16:20:44.935321507 -0400
@@ -450,7 +450,7 @@
     if (keyval == IBUS_Shift_L || keyval == IBUS_Shift_R)
         return FALSE;
 
-    if (keyval == IBUS_F9 || keyval == IBUS_Hangul_Hanja) {
+    if (keyval == IBUS_F9 || keyval == IBUS_Hangul_Hanja || keyval == IBUS_Control_R) {
 	ibus_hangul_engine_toggle_lookup_table (hangul);
 	return TRUE;
     }


Index: ibus-hangul.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-hangul/devel/ibus-hangul.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ibus-hangul.spec	30 Mar 2009 07:07:19 -0000	1.8
+++ ibus-hangul.spec	13 Apr 2009 02:57:12 -0000	1.9
@@ -1,11 +1,13 @@
 Name:       ibus-hangul
 Version:    1.1.0.20090328
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    The Hangul engine for IBus input platform
 License:    GPLv2+
 Group:      System Environment/Libraries
 URL:        http://code.google.com/p/ibus/
 Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
+Patch0:     ibus-hangul-1.1.0.20090328-right-ctrl-hanja.patch
+Patch1:     ibus-hangul-1.1.0.20090328-hanja-arrow-keys.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -23,6 +25,8 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 %configure --disable-static
@@ -47,6 +51,12 @@
 %{_datadir}/ibus/component/*
 
 %changelog
+* Sun Apr 12 2009 Warren Togami <wtogami at redhat.com> - 1.1.0.20090330-2
+- Bug 493706: ibus-hangul Hanja arrow keys are wrong
+- Bug 493509: ibus-hangul missing right Ctrl for Hanja button
+  These fixes are not ideal, but they make it usable for Fedora 11.
+  These must become configurable in a future version.
+
 * Mon Mar 30 2009 Huang Peng <shawn.p.huang at gmail.com> - 1.1.0.20090330-1
 - Update version to 1.1.0.20090330.
 - Fix bug 486056 - missing options for 2bul, 3bul and other Korean layouts




More information about the fedora-extras-commits mailing list