[Fedora-i18n-bugs] [ibus-m17n] Update to 1.3.2-4.

Daiki Ueno ueno at fedoraproject.org
Tue Jun 7 04:01:11 UTC 2011


commit 5105ab134b6d91b5a4e925f81f40189801d9fa12
Author: Daiki Ueno <ueno at unixuser.org>
Date:   Tue Jun 7 13:00:52 2011 +0900

    Update to 1.3.2-4.

 ibus-m17n-stscap.patch |   38 ++++++++++++++++++++++++++++++++++++++
 ibus-m17n.spec         |    9 ++++++++-
 2 files changed, 46 insertions(+), 1 deletions(-)
---
diff --git a/ibus-m17n-stscap.patch b/ibus-m17n-stscap.patch
new file mode 100644
index 0000000..2109c3e
--- /dev/null
+++ b/ibus-m17n-stscap.patch
@@ -0,0 +1,38 @@
+From f85e79001e7669e3b1b45b1c6ad14dedc5e0752f Mon Sep 17 00:00:00 2001
+From: Daiki Ueno <ueno at unixuser.org>
+Date: Tue, 7 Jun 2011 12:54:53 +0900
+Subject: [PATCH] Request IBUS_CAP_SURROUNDING_TEXT.
+
+---
+ src/m17nutil.c |    8 ++++++++
+ 1 files changed, 8 insertions(+), 0 deletions(-)
+
+diff --git a/src/m17nutil.c b/src/m17nutil.c
+index 1150cc4..db99686 100644
+--- a/src/m17nutil.c
++++ b/src/m17nutil.c
+@@ -91,6 +91,13 @@ ibus_m17n_parse_color (const gchar *hex)
+     return color;
+ }
+ 
++#define DEFAULT_REQUIRES (IBUS_CAP_PREEDIT_TEXT |   \
++                          IBUS_CAP_AUXILIARY_TEXT | \
++                          IBUS_CAP_LOOKUP_TABLE |   \
++                          IBUS_CAP_FOCUS |          \
++                          IBUS_CAP_PROPERTY | \
++                          IBUS_CAP_SURROUNDING_TEXT)
++
+ static IBusEngineDesc *
+ ibus_m17n_engine_new (MSymbol  lang,
+                       MSymbol  name,
+@@ -122,6 +129,7 @@ ibus_m17n_engine_new (MSymbol  lang,
+                                            "icon",        engine_icon ? engine_icon : "",
+                                            "layout",      "us",
+                                            "rank",        config->rank,
++                                           "requires",    DEFAULT_REQUIRES,
+                                            NULL);
+ #else
+     engine = ibus_engine_desc_new (engine_name,
+-- 
+1.7.5.2
+
diff --git a/ibus-m17n.spec b/ibus-m17n.spec
index a3cc0a3..9f10fc2 100644
--- a/ibus-m17n.spec
+++ b/ibus-m17n.spec
@@ -2,7 +2,7 @@
 
 Name:       ibus-m17n
 Version:    1.3.2
-Release:    3%{?dist}
+Release:    4%{?dist}
 Summary:    The M17N engine for IBus platform
 License:    GPLv2+
 Group:      System Environment/Libraries
@@ -11,6 +11,7 @@ Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
 
 Patch0:     ibus-m17n-iok.patch
 Patch1:     ibus-m17n-HEAD.patch
+Patch2:	    ibus-m17n-stscap.patch
 
 # The following BR is for autogen and not necessary when packging
 # released tarballs.
@@ -34,6 +35,7 @@ the input table maps from m17n-db.
 %setup -q
 %patch0 -p1 -b .iok
 %patch1 -p1 -b .HEAD
+%patch2 -p1 -b .stscap
 NOCONFIGURE=1 ./autogen.sh
 
 %build
@@ -55,6 +57,11 @@ make DESTDIR=${RPM_BUILD_ROOT} install
 %{_datadir}/ibus/component/*
 
 %changelog
+* Tue Jun  7 2011 Daiki Ueno <dueno at redhat.com> - 1.3.2-4
+- Add ibus-m17n-stscap.patch.
+- Fix bug 711126 - ibus: surrounding text support fails for the first
+  syllable upon activation
+
 * Mon May 23 2011 Daiki Ueno <dueno at redhat.com> - 1.3.2-3
 - Update ibus-m17n-HEAD.patch.
 


More information about the i18n-bugs mailing list