Update to 1.3.2-4.
This commit is contained in:
parent
275c9d46b7
commit
5105ab134b
38
ibus-m17n-stscap.patch
Normal file
38
ibus-m17n-stscap.patch
Normal file
@ -0,0 +1,38 @@
|
||||
From f85e79001e7669e3b1b45b1c6ad14dedc5e0752f Mon Sep 17 00:00:00 2001
|
||||
From: Daiki Ueno <ueno@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
|
||||
|
@ -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@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@redhat.com> - 1.3.2-3
|
||||
- Update ibus-m17n-HEAD.patch.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user