Dominique Leuenberger 2017-09-09 10:24:21 +00:00 committed by Git OBS Bridge
parent d1ae09695c
commit 795ce0cc6c
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,16 @@
diff -Nura gnome-settings-daemon-3.24.3/plugins/keyboard/gsd-keyboard-manager.c gnome-settings-daemon-3.24.3_new/plugins/keyboard/gsd-keyboard-manager.c
--- gnome-settings-daemon-3.24.3/plugins/keyboard/gsd-keyboard-manager.c 2017-08-28 17:44:30.078220888 +0800
+++ gnome-settings-daemon-3.24.3_new/plugins/keyboard/gsd-keyboard-manager.c 2017-08-28 17:49:05.435064987 +0800
@@ -478,7 +478,11 @@
else
id = g_strdup (layouts[i]);
- g_variant_builder_add (&builder, "(ss)", INPUT_SOURCE_TYPE_XKB, id);
+ if (!g_strcmp0 (id, "jp"))
+ g_variant_builder_add (&builder, "(ss)", INPUT_SOURCE_TYPE_IBUS, "mozc-jp");
+ else
+ g_variant_builder_add (&builder, "(ss)", INPUT_SOURCE_TYPE_XKB, id);
+
g_free (id);
}

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Sep 2 09:19:41 UTC 2017 - qzhao@suse.com
- Add gnome-settings-daemon-switch-Japanese-default-input-to-mozc.patch:
Switch new user's default input engine from "anthy" to "mozc" in
gnome-desktop with Japanese language and ibus input frame-work
(bnc#1029083, boo#1056289).
-------------------------------------------------------------------
Fri Sep 1 12:27:59 UTC 2017 - zaitor@opensuse.org

View File

@ -48,6 +48,8 @@ Patch4: gnome-settings-daemon-initial-keyboard.patch
Patch5: gnome-settings-daemon-bring-back-updates-plugin.patch
# PATCH-FEATURE-OPENSUSE gnome-settings-daemon-more-power-button-actions.patch bsc#996342 fezhang@suse.com -- Bring back the "shutdown" and "interactive" power button actions.
Patch6: gnome-settings-daemon-more-power-button-actions.patch
# PATFH-FIX-OPENSUSE gnome-settings-daemon-switch-Japanese-default-input-to-mozc.patch bnc#1029083 boo#1056289 qzhao@suse.com -- Switch new user's default input engine from "anthy" to "mozc" in gnome-desktop with Japanese language and ibus input frame-work condition.
Patch7: gnome-settings-daemon-switch-Japanese-default-input-to-mozc.patch
BuildRequires: cups-devel
BuildRequires: fdupes
BuildRequires: gtk-doc
@ -166,6 +168,7 @@ gnome-patch-translation-prepare
%patch5 -p1
%patch6 -p1
%endif
%patch7 -p1
%build
# need autoreconf if patch translation has run