Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnome-shell for openSUSE:Factory checked in at 2021-01-19 15:58:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-shell (Old) and /work/SRC/openSUSE:Factory/.gnome-shell.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-shell" Tue Jan 19 15:58:41 2021 rev:194 rq:863172 version:3.38.3 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-shell/gnome-shell.changes 2020-12-31 10:01:39.487042343 +0100 +++ /work/SRC/openSUSE:Factory/.gnome-shell.new.28504/gnome-shell.changes 2021-01-19 15:58:46.227069448 +0100 @@ -1,0 +2,20 @@ +Thu Jan 14 18:22:08 UTC 2021 - Dominique Leuenberger <dims...@opensuse.org> + +- Update to version 3.38.3: + + Fix disappearing app grid. + + Fix screenshots of unredirected fullscreen windows on X11. + + Fix storing VPN secrets. + + Fix glitches in overview transitions. + + Improve login screen accessibility. + + Fixed crashes. + + Misc. bug fixes and cleanups. + + Updated translations. + +------------------------------------------------------------------- +Mon Jan 11 03:23:44 UTC 2021 - Cliff Zhao <qz...@suse.com> + +- Add gnome-shell-jsc#SLE-16051-Input-method-recommendation.patch: + launch recommended input engines when Gnome-shell init in CJK + regions (jsc#SLE-16051, glgo#GNOME/gnome-shell!1563). + +------------------------------------------------------------------- Old: ---- gnome-shell-3.38.2.tar.xz New: ---- gnome-shell-3.38.3.tar.xz gnome-shell-jsc#SLE-16051-Input-method-recommendation.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-shell.spec ++++++ --- /var/tmp/diff_new_pack.qw3ikq/_old 2021-01-19 15:58:47.367071170 +0100 +++ /var/tmp/diff_new_pack.qw3ikq/_new 2021-01-19 15:58:47.371071176 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnome-shell # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global __requires_exclude typelib\\(Meta\\) Name: gnome-shell -Version: 3.38.2 +Version: 3.38.3 Release: 0 Summary: GNOME Shell # shew extension is LGPL 2.1; gnome-shell-extension-tool is GPL-3.0-or-later @@ -40,6 +40,8 @@ Patch4: gnome-shell-fate324570-Make-GDM-background-image-configurable.patch # PATCH-NEEDS-REBASE gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.patch jsc#SLE-9267 qk...@suse.com -- Remove sessionList of endSessionDialog (WAS: PATCH-FEATURE-OPENSUSE) Patch5: gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.patch +# PATCH-FIX-UPSTREAM gnome-shell-jsc#SLE-16051-Input-method-recommendation.patch jsc#SLE-16051 glgo#GNOME/gnome-shell!1563 qz...@suse.com -- launch recommended input engines when Gnome-shell init in CJK regions. +Patch6: gnome-shell-jsc#SLE-16051-Input-method-recommendation.patch ## NOTE: Keep SLE-only patches at bottom (starting on 1000). # PATCH-FEATURE-SLE gnome-shell-gdm-login-applet.patch fate#314545 dli...@suse.com -- Add an applet on login UI to display suse icon, product name, hostname. @@ -180,6 +182,9 @@ %patch2 -p1 %patch4 -p1 #patch5 -p1 +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150300 +%patch6 -p1 +%endif translation-update-upstream ++++++ gnome-shell-3.38.2.tar.xz -> gnome-shell-3.38.3.tar.xz ++++++ ++++ 1860 lines of diff (skipped) ++++++ gnome-shell-jsc#SLE-16051-Input-method-recommendation.patch ++++++ diff -Nura gnome-shell-3.38.2/js/ui/status/keyboard.js gnome-shell-3.38.2_new/js/ui/status/keyboard.js --- gnome-shell-3.38.2/js/ui/status/keyboard.js 2020-12-03 07:00:04.412861000 +0800 +++ gnome-shell-3.38.2_new/js/ui/status/keyboard.js 2021-01-12 11:46:45.501634675 +0800 @@ -264,6 +264,34 @@ this._settings.connect('changed::%s'.format(this._KEY_INPUT_SOURCES), this._emitInputSourcesChanged.bind(this)); this._settings.connect('changed::%s'.format(this._KEY_KEYBOARD_OPTIONS), this._emitKeyboardOptionsChanged.bind(this)); this._settings.connect('changed::%s'.format(this._KEY_PER_WINDOW), this._emitPerWindowChanged.bind(this)); + + let sources = this._settings.get_value(this._KEY_INPUT_SOURCES); + let nSources = sources.n_children(); + let sourcesList = []; + + if (nSources <= 1) { + if (GLib.getenv('LANG') == 'zh_CN.UTF-8') { + log('Set default input method in Chinese language env.'); + sourcesList.push(['xkb', 'cn']); + sourcesList.push([ "ibus", "libpinyin" ]); + } + + else if (GLib.getenv('LANG') == 'ja_JP.UTF-8') { + log('Set default input method in Japanese language env.'); + sourcesList.push(['xkb', 'jp']); + sourcesList.push([ "ibus", "mozc-jp" ]); + sourcesList.push([ "ibus", "kkc" ]); + } + + else if (GLib.getenv('LANG') == 'ko_KR.UTF-8') { + log('Set default input method in Korean language env.'); + sourcesList.push(['xkb', 'kr']); + sourcesList.push([ "ibus", "hangul" ]); + } + + let params = GLib.Variant.new('a(ss)', sourcesList); + this._settings.set_value(this._KEY_INPUT_SOURCES, params); + } } _getSourcesList(key) {