forked from pool/gnome-settings-daemon
Accepting request 340599 from GNOME:Factory
- Add gnome-settings-daemon-dont-override-xim-presets.patch: Don't override QT_IM_MODULE and XMODIFIERS if already set (boo#947576, bgo#757013). - Update to version 3.18.1: + Fix cursor-size changes being ignored. + Build fixes. + Updated translations. OBS-URL: https://build.opensuse.org/request/show/340599 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-settings-daemon?expand=0&rev=119
This commit is contained in:
commit
e189e756b8
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8d3ef9c18538831ed89122fee0bdaca68b0e482a18b3c4388c4e672aba1b3cd5
|
|
||||||
size 1625428
|
|
3
gnome-settings-daemon-3.18.1.tar.xz
Normal file
3
gnome-settings-daemon-3.18.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fa621a17f1d132fe60461020b0dad20a9fab6b0e3e651628aaa53a8f6a6df2c0
|
||||||
|
size 1625784
|
49
gnome-settings-daemon-dont-override-xim-presets.patch
Normal file
49
gnome-settings-daemon-dont-override-xim-presets.patch
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
From: Takashi Iwai <tiwai@suse.de>
|
||||||
|
Subject: Don't override preset xim setups
|
||||||
|
References: boo#947576
|
||||||
|
|
||||||
|
When $QT_IM_MODULE or $XMODIFIERS has been already set beforehand,
|
||||||
|
we should honor it and not override brutally. This makes GNOME as
|
||||||
|
a good citizen coping with other IMs more smoothly.
|
||||||
|
|
||||||
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
||||||
|
|
||||||
|
---
|
||||||
|
gnome-settings-daemon/gnome-settings-daemon-localeexec.in | 4 ++--
|
||||||
|
gnome-settings-daemon/main.c | 11 +++++++++--
|
||||||
|
2 files changed, 11 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
--- a/gnome-settings-daemon/gnome-settings-daemon-localeexec.in
|
||||||
|
+++ b/gnome-settings-daemon/gnome-settings-daemon-localeexec.in
|
||||||
|
@@ -13,8 +13,8 @@ if [ -n "$REGION" ]; then
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -x @prefix@/bin/ibus-daemon ]; then
|
||||||
|
- export QT_IM_MODULE=ibus
|
||||||
|
- export XMODIFIERS=@im=ibus
|
||||||
|
+ test -z "$QT_IM_MODULE" && export QT_IM_MODULE=ibus
|
||||||
|
+ test -z "$XMODIFIERS" && export XMODIFIERS=@im=ibus
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec @libexecdir@/gnome-settings-daemon
|
||||||
|
--- a/gnome-settings-daemon/main.c
|
||||||
|
+++ b/gnome-settings-daemon/main.c
|
||||||
|
@@ -255,9 +255,16 @@ is_program_in_path (const char *binary)
|
||||||
|
static void
|
||||||
|
set_legacy_ibus_env_vars (GDBusProxy *proxy)
|
||||||
|
{
|
||||||
|
+ const char *p;
|
||||||
|
if (is_program_in_path ("ibus-daemon")) {
|
||||||
|
- set_session_env (proxy, "QT_IM_MODULE", "ibus");
|
||||||
|
- set_session_env (proxy, "XMODIFIERS", "@im=ibus");
|
||||||
|
+ p = getenv ("QT_IM_MODULE");
|
||||||
|
+ if (!p || !*p)
|
||||||
|
+ p = "ibus";
|
||||||
|
+ set_session_env (proxy, "QT_IM_MODULE", p);
|
||||||
|
+ p = getenv ("XMODIFIERS");
|
||||||
|
+ if (!p || !*p)
|
||||||
|
+ p = "@im=ibus";
|
||||||
|
+ set_session_env (proxy, "XMODIFIERS", p);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 22 21:40:19 CEST 2015 - tiwai@suse.de
|
||||||
|
|
||||||
|
- Add gnome-settings-daemon-dont-override-xim-presets.patch: Don't
|
||||||
|
override QT_IM_MODULE and XMODIFIERS if already set (boo#947576,
|
||||||
|
bgo#757013).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 12 13:16:22 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.18.1:
|
||||||
|
+ Fix cursor-size changes being ignored.
|
||||||
|
+ Build fixes.
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 21 15:34:27 UTC 2015 - dimstar@opensuse.org
|
Mon Sep 21 15:34:27 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: gnome-settings-daemon
|
Name: gnome-settings-daemon
|
||||||
Version: 3.18.0
|
Version: 3.18.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Settings daemon for the GNOME desktop
|
Summary: Settings daemon for the GNOME desktop
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
@ -41,6 +41,8 @@ Source: http://download.gnome.org/sources/gnome-settings-daemon/3.18/%{n
|
|||||||
Patch10: gnome-settings-daemon-bnc462640-mute-action.patch
|
Patch10: gnome-settings-daemon-bnc462640-mute-action.patch
|
||||||
# PATCH-FEATURE-UPSTREAM gnome-settings-daemon-notify-idle-resumed.patch bnc#439018 bnc#708182 bgo#575467 hpj@suse.com -- notify user about auto suspend when returning from sleep
|
# PATCH-FEATURE-UPSTREAM gnome-settings-daemon-notify-idle-resumed.patch bnc#439018 bnc#708182 bgo#575467 hpj@suse.com -- notify user about auto suspend when returning from sleep
|
||||||
Patch19: gnome-settings-daemon-notify-idle-resumed.patch
|
Patch19: gnome-settings-daemon-notify-idle-resumed.patch
|
||||||
|
# PATCH-FIX-UPSTREAM gnome-settings-daemon-dont-override-xim-presets.patch boo#947576 bgo#757013 tiwai@suse.com -- Don't overwrite XIM presets
|
||||||
|
Patch20: gnome-settings-daemon-dont-override-xim-presets.patch
|
||||||
BuildRequires: cups-devel
|
BuildRequires: cups-devel
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gnome-common
|
BuildRequires: gnome-common
|
||||||
@ -129,6 +131,7 @@ translation-update-upstream
|
|||||||
#gnome-patch-translation-prepare
|
#gnome-patch-translation-prepare
|
||||||
%patch10 -p0
|
%patch10 -p0
|
||||||
%patch19 -p1
|
%patch19 -p1
|
||||||
|
%patch20 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
Loading…
Reference in New Issue
Block a user