diff --git a/ibus-table-others-1.3.0.20100907-improve-translit.patch b/ibus-table-others-1.3.0.20100907-improve-translit.patch new file mode 100644 index 0000000..d4bc7c8 --- /dev/null +++ b/ibus-table-others-1.3.0.20100907-improve-translit.patch @@ -0,0 +1,189 @@ +diff -ru ibus-table-others-1.3.0.20100907.orig/tables/translit-ua.txt ibus-table-others-1.3.0.20100907/tables/translit-ua.txt +--- ibus-table-others-1.3.0.20100907.orig/tables/translit-ua.txt 2010-09-07 10:59:19.000000000 +0200 ++++ ibus-table-others-1.3.0.20100907/tables/translit-ua.txt 2012-09-06 12:43:43.682230229 +0200 +@@ -1,6 +1,13 @@ +-### File header must not be modified ++### Table Translit Table ++### ++### Author Daniil Ivanov ++### Maintainer Caius 'kaio' Chance < k at kaio.me > ++### ++### Description Translit Table for IBus-Table. This file is derived from ++### SCIM Tables format, which is derived from GTK2 Input Method ++### Cyrillic (Transliterated). ++### + ### This file must be encoded into UTF-8. +-### This file is derived from GTK2 Input Method Cyrillic Transliterated + SCIM_Generic_Table_Phrase_Library_TEXT + VERSION_1_0 + +@@ -14,7 +21,7 @@ + ### A unique number indicates the version of this file. + ### For example the last modified date of this file. + ### This number must be less than 2^32. +-SERIAL_NUMBER = 20061108 ++SERIAL_NUMBER = 20120906 + + ICON = translit-ua.png + +@@ -34,7 +41,7 @@ + STATUS_PROMPT = Ua + + ### The Keyboard Layout used by this table. Unset or set to "Unknown" to accept any kind of layouts. +-KEYBOARD_LAYOUT = US_Default ++KEYBOARD_LAYOUT = Unknown + + ### If true then the first candidate phrase + ### will be selected automatically during inputing. +@@ -121,6 +128,8 @@ + I І 0 + Ji Ї 0 + JI Ї 0 ++Yi Ї 0 ++YI Ї 0 + Y И 0 + J Й 0 + K К 0 +@@ -140,13 +149,21 @@ + Ch Ч 0 + Sh Ш 0 + SH Ш 0 ++W Ш 0 ++Shh Щ 0 ++SHH Щ 0 + Sj Щ 0 + SJ Щ 0 + '' Ь 0 +-JU Ю 0 + Ju Ю 0 ++JU Ю 0 ++Yu Ю 0 ++YU Ю 0 + Ja Я 0 + JA Я 0 ++Ya Я 0 ++YA Я 0 ++Q Я 0 + " ' 0 + a а 0 + b б 0 +@@ -160,6 +177,7 @@ + z з 0 + i і 0 + ji ї 0 ++yi ї 0 + y и 0 + j й 0 + k к 0 +@@ -177,8 +195,13 @@ + c ц 0 + ch ч 0 + sh ш 0 ++w ш 0 ++shh щ 0 + sj щ 0 + ' ь 0 + ju ю 0 ++yu ю 0 + ja я 0 ++ya я 0 ++q я 0 + END_TABLE +ibus-table-others-1.3.0.20100907/tablesだけに発見: translit-ua.txt.~1~ +diff -ru ibus-table-others-1.3.0.20100907.orig/tables/translit.txt ibus-table-others-1.3.0.20100907/tables/translit.txt +--- ibus-table-others-1.3.0.20100907.orig/tables/translit.txt 2010-09-07 10:59:19.000000000 +0200 ++++ ibus-table-others-1.3.0.20100907/tables/translit.txt 2012-09-06 12:30:42.831463558 +0200 +@@ -19,7 +19,7 @@ + ### A unique number indicates the version of this file. + ### For example the last modified date of this file. + ### This number must be less than 2^32. +-SERIAL_NUMBER = 20100111 ++SERIAL_NUMBER = 20120906 + + ICON = translit.png + +@@ -39,7 +39,7 @@ + STATUS_PROMPT = Я + + ### The Keyboard Layout used by this table. Unset or set to "Unknown" to accept any kind of layouts. +-KEYBOARD_LAYOUT = US_Default ++KEYBOARD_LAYOUT = Unknown + + ### If true then the first candidate phrase + ### will be selected automatically during inputing. +@@ -82,7 +82,7 @@ + MAX_KEY_LENGTH = 2 + + ### Valid input chars. +-VALID_INPUT_CHARS = ABCDEFGHIJKLMNOPRSTUVWYZabcdefghijklmnopqrstuvwxyzäöü'"# ++VALID_INPUT_CHARS = ABCDEFGHIJKLMNOPRSTUVWYZÄÖÜabcdefghijklmnopqrstuvwxyzäöü'# + + ### Single wildcard char, can have multiple chars. + ###SINGLE_WILDCARD_CHAR = ? +@@ -119,7 +119,12 @@ + D Д 1000 + E Е 1000 + Jo Ё 1000 ++JO Ё 1000 ++Yo Ё 1000 ++YO Ё 1000 ++Ö Ё 1000 + Zh Ж 1000 ++ZH Ж 1000 + Z З 1000 + I И 1000 + J Й 1000 +@@ -135,16 +140,35 @@ + U У 1000 + F Ф 1000 + H Х 1000 ++X Х 1000 + C Ц 1000 + Ch Ч 1000 ++CH Ч 1000 + Sh Ш 1000 +-W Щ 1000 ++SH Ш 1000 ++W Ш 1000 ++Shh Щ 1000 ++SHh Щ 1000 ++SHH Щ 1000 ++Sj Щ 1000 ++SJ Щ 1000 + ## Ъ 1000 + Y Ы 1000 +-" Ь 1000 ++'' Ь 1000 + Je Э 1000 ++JE Э 1000 ++Ä Э 1000 ++E' Э 1000 + Ju Ю 1000 ++JU Ю 1000 ++Yu Ю 1000 ++YU Ю 1000 ++Ü Ю 1000 + Ja Я 1000 ++JA Я 1000 ++Ya Я 1000 ++YA Я 1000 ++Q Я 1000 + a а 1000 + b б 1000 + v в 1000 +@@ -174,12 +198,14 @@ + c ц 1000 + ch ч 1000 + sh ш 1000 +-w щ 1000 ++w ш 1000 + shh щ 1000 ++sj щ 1000 + # ъ 1000 + y ы 1000 + ' ь 1000 + je э 1000 ++e' э 1000 + ä э 1000 + ju ю 1000 + yu ю 1000 diff --git a/ibus-table-others.spec b/ibus-table-others.spec index 30e51e1..c589ff8 100644 --- a/ibus-table-others.spec +++ b/ibus-table-others.spec @@ -2,13 +2,14 @@ Name: ibus-table-others Version: 1.3.0.20100907 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Various tables for IBus-Table License: GPLv3 Group: System Environment/Libraries 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 BuildArch: noarch Requires: ibus-table @@ -64,6 +65,7 @@ The package contains table for writing Unicode mathematics symbols. %prep %setup -q %patch0 -p1 -b .fix-emoji-build +%patch1 -p1 -b .improve-translit %build %configure @@ -80,7 +82,7 @@ cd ${RPM_BUILD_ROOT}/%{_datadir}/ibus-table/tables/ %{_bindir}/ibus-table-createdb -i -n latex.db %{_bindir}/ibus-table-createdb -i -n rustrad.db %{_bindir}/ibus-table-createdb -i -n thai.db -#%{_bindir}/ibus-table-createdb -i -n translit.db +%{_bindir}/ibus-table-createdb -i -n translit.db %{_bindir}/ibus-table-createdb -i -n translit-ua.db %{_bindir}/ibus-table-createdb -i -n viqr.db %{_bindir}/ibus-table-createdb -i -n yawerty.db @@ -126,6 +128,14 @@ cd ${RPM_BUILD_ROOT}/%{_datadir}/ibus-table/tables/ %{_datadir}/ibus-table/icons/mathwriter.png %changelog +* Thu Sep 06 2012 Mike FABIAN - 1.3.0.20100907-11 +- Related: #845798, #854539 +- enable build of Russian transliteration table again, + should work now because of the fix for ibus-table, see #845798 +- improvements for the Russian and Ukrainian transliteration tables + translit.txt and translit-ua.txt by the original author + Daniil Ivanov + * Wed Aug 29 2012 Mike FABIAN - 1.3.0.20100907-10 - Fix build for emoji-table and enable it again. - Resolves: #845797