Resolves:rhbz#1076945 - Enable default ar-kbd.mim for Arabic language

This commit is contained in:
Parag A Nemade 2016-12-20 11:21:19 +05:30
parent b263e744e7
commit 3d5df9b30b
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,16 @@
--- ibus-m17n-1.3.4/src/default.xml.old 2016-12-20 11:07:26.242523223 +0530
+++ ibus-m17n-1.3.4/src/default.xml 2016-12-20 11:11:42.392527990 +0530
@@ -18,6 +18,13 @@
<name>m17n:*:kbd</name>
<rank>-1</rank>
</engine>
+ <!-- Arabic kbd engine should be selected by default:
+ https://bugzilla.redhat.com/show_bug.cgi?id=1076945 -->
+ <engine>
+ <name>m17n:ar:kbd</name>
+ <rank>1</rank>
+ </engine>
+
<!-- zh:py is superseded by ibus-pinyin etc -->
<engine>
<name>m17n:zh:py</name>

View File

@ -1,7 +1,7 @@
%global require_ibus_version 1.4.0
Name: ibus-m17n
Version: 1.3.4
Release: 20%{?dist}
Release: 21%{?dist}
Summary: The M17N engine for IBus platform
License: GPLv2+
Group: System Environment/Libraries
@ -15,6 +15,7 @@ Patch2: ibus-m17n-fix-preedit-color.patch
Patch3: ibus-m17n-fix-preferences-ui.patch
Patch4: ibus-m17n-content-type.patch
# Fedora specific patches:
# Enable lv3:ralt_switch option for some Indic engines in default.xml.
Patch100: ibus-m17n-xkb-options.patch
@ -22,6 +23,9 @@ Patch100: ibus-m17n-xkb-options.patch
Patch101: ibus-m17n-hide-title-status.patch
# Use gettext-0.19 instead of intltool
Patch102: ibus-m17n-gettext-0.19.patch
# Use ar-kbd as default keymap for Arabic
# https://bugzilla.redhat.com/show_bug.cgi?id=1076945
Patch103: ibus-m17n-enable-ar-kbd.patch
# The following BR is for autogen and not necessary when packging
# released tarballs.
@ -52,6 +56,7 @@ the input table maps from m17n-db.
%patch100 -p1 -b .xkb-options
%patch101 -p1 -b .hide-title-status
%patch102 -p1 -b .gettext-0.19
%patch103 -p1 -b .enable-ar-kbd
NOCONFIGURE=1 ./autogen.sh
@ -114,6 +119,9 @@ desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/ibus-setup-m17n.
%{_datadir}/applications/ibus-setup-m17n.desktop
%changelog
* Tue Dec 20 2016 Parag Nemade <pnemade AT redhat DOT com> - 1.3.4-21
- Resolves:rhbz#1076945 - Enable default ar-kbd.mim for Arabic language
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild