Supported languages should not be left empty in a table.
  For an input method which has LANGUAGES set to an empty string,
  nothing at all is shown by ibus when trying to change to that input
  method using the trigger key which makes the input method hard to
  select.
This commit is contained in:
Mike FABIAN 2012-09-06 13:02:07 +02:00
parent 4efe81dc4a
commit a642bfda59
3 changed files with 47 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -0,0 +1,36 @@
diff -ru ibus-table-others-1.3.0.20100907.orig/tables/compose.txt ibus-table-others-1.3.0.20100907/tables/compose.txt
--- ibus-table-others-1.3.0.20100907.orig/tables/compose.txt 2010-09-07 10:59:19.000000000 +0200
+++ ibus-table-others-1.3.0.20100907/tables/compose.txt 2012-09-06 12:13:19.825902428 +0200
@@ -33,7 +33,7 @@
### The local names of this table
### Supported languages of this table
-LANGUAGES =
+LANGUAGES = other
AUTHOR = Yu Yuwei <yu-yuwei@xmu.edu.cn>
diff -ru ibus-table-others-1.3.0.20100907.orig/tables/latex.txt ibus-table-others-1.3.0.20100907/tables/latex.txt
--- ibus-table-others-1.3.0.20100907.orig/tables/latex.txt 2010-09-07 10:59:19.000000000 +0200
+++ ibus-table-others-1.3.0.20100907/tables/latex.txt 2012-09-06 12:13:08.544871559 +0200
@@ -32,7 +32,7 @@
AUTHOR = Somebody unknown
### Supported locales of this table
-LANGUAGES =
+LANGUAGES = other
### Prompt string to be displayed in the status area.
STATUS_PROMPT = Σ
diff -ru ibus-table-others-1.3.0.20100907.orig/tables/mathwriter-ibus.txt ibus-table-others-1.3.0.20100907/tables/mathwriter-ibus.txt
--- ibus-table-others-1.3.0.20100907.orig/tables/mathwriter-ibus.txt 2010-09-07 10:59:19.000000000 +0200
+++ ibus-table-others-1.3.0.20100907/tables/mathwriter-ibus.txt 2012-09-06 12:27:21.404925722 +0200
@@ -8,7 +8,7 @@
NAME = mathwriter
-LANGUAGES =
+LANGUAGES = other
STATUS_PROMPT = Σ
icon = mathwriter.png

View File

@ -2,7 +2,7 @@
Name: ibus-table-others
Version: 1.3.0.20100907
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Various tables for IBus-Table
License: GPLv3
Group: System Environment/Libraries
@ -10,6 +10,7 @@ URL: http://github.com/moebiuscurve/ibus-table-others
Source0: http://nkumar.fedorapeople.org/ibus-table-others/%{name}-%{version}.tar.gz
Patch0: ibus-table-others-1.3.0.20100907-fix-emoji-build.patch
Patch1: ibus-table-others-1.3.0.20100907-improve-translit.patch
Patch2: ibus-table-others-1.3.0.20100907-table-language-empty.patch
BuildArch: noarch
Requires: ibus-table
@ -66,6 +67,7 @@ The package contains table for writing Unicode mathematics symbols.
%setup -q
%patch0 -p1 -b .fix-emoji-build
%patch1 -p1 -b .improve-translit
%patch2 -p1 -b .table-language-empty
%build
%configure
@ -128,6 +130,14 @@ cd ${RPM_BUILD_ROOT}/%{_datadir}/ibus-table/tables/
%{_datadir}/ibus-table/icons/mathwriter.png
%changelog
* Thu Sep 06 2012 Mike FABIAN <mfabian@redhat.com> - 1.3.0.20100907-12
- Resolves: #855102
- Supported languages should not be left empty in a table.
For an input method which has LANGUAGES set to an empty string,
nothing at all is shown by ibus when trying to change to that input
method using the trigger key which makes the input method hard to
select.
* Thu Sep 06 2012 Mike FABIAN <mfabian@redhat.com> - 1.3.0.20100907-11
- Related: #845798, #854539
- enable build of Russian transliteration table again,