diff --git a/gnome-session-3.20.0.tar.xz b/gnome-session-3.20.0.tar.xz deleted file mode 100644 index e6230f1..0000000 --- a/gnome-session-3.20.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:66ff72379a2e7ee11ab7fcec37ad911d36f12471845dc7755e1ce55d29301b34 -size 784388 diff --git a/gnome-session-3.20.1.tar.xz b/gnome-session-3.20.1.tar.xz new file mode 100644 index 0000000..eff19b3 --- /dev/null +++ b/gnome-session-3.20.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ae9f53dc74f851222fbefbe0dc08db0a78cc76ceeb156f92ebd4d40fd038913 +size 784852 diff --git a/gnome-session.changes b/gnome-session.changes index 2976744..a6632b5 100644 --- a/gnome-session.changes +++ b/gnome-session.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Apr 12 08:51:58 UTC 2016 - dimstar@opensuse.org + +- Update to version 3.20.1: + + Fix startx. + + Updated translations. +- Drop main-fix-starting-gnome-session-via-startx.patch: fixed + upstream. + ------------------------------------------------------------------- Thu Mar 31 13:31:10 UTC 2016 - fcrozat@suse.com diff --git a/gnome-session.spec b/gnome-session.spec index 81b82fb..f8ad8f0 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -17,7 +17,7 @@ Name: gnome-session -Version: 3.20.0 +Version: 3.20.1 Release: 0 Summary: Session Tools for the GNOME Desktop License: GPL-2.0+ @@ -28,8 +28,6 @@ Source1: gnome Source2: gnome.desktop # PATCH-FIX-UPSTREAM gnome-session-ice-auth-for-suid.patch hpj@novell.com -- Carries ICE auth over to other UIDs in this session using an env var. Patch0: gnome-session-ice-auth-for-suid.patch -# PATCH-FIX-UPSTREAM main-fix-starting-gnome-session-via-startx.patch bgo#764379 fcrozat@suse.com -- Fix starting gnome-session with old DM or startx -Patch1: main-fix-starting-gnome-session-via-startx.patch BuildRequires: fdupes BuildRequires: gnome-common BuildRequires: hicolor-icon-theme @@ -115,7 +113,6 @@ functional GNOME desktop. # Disabled, as it fails #translation-update-upstream %patch0 -p1 -%patch1 -p1 %build NOCONFIGURE=1 gnome-autogen.sh diff --git a/main-fix-starting-gnome-session-via-startx.patch b/main-fix-starting-gnome-session-via-startx.patch deleted file mode 100644 index 19780b0..0000000 --- a/main-fix-starting-gnome-session-via-startx.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 2d2dcf3354701aa663d08e8337c608e245a9f2c1 Mon Sep 17 00:00:00 2001 -From: Andreas Henriksson -Date: Wed, 30 Mar 2016 18:49:15 +0200 -Subject: [PATCH] main: fix starting gnome session via startx - -The changes related to gsm_util_setenv during 3.19.x seems to have -broken starting a gnome desktop the old fashioned way, eg. via startx. - -The gnome.session required components has OnlyShowIn=GNOME; which -disqualifies them from being started unless XDG_CURRENT_DESKTOP is also -set to GNOME (by the gio utility function used to look up info). - -Currently gnome-session already carries code to catch the case of -XDG_CURRENT_DESKTOP being unset and set it to GNOME as a fallback. -Unfortunately the changes to gsm_util_setenv seems to have made it only -set the values in the (dbus activated) child environment, rather than -the current environment which g_desktop_app_info_get_show_in is looking -at. - -Make the fallback code set XDG_CURRENT_DESKTOP in both current -and child environment fixes it. -Also move the entire hunk of code before initializing gio to -prevent potential thread issues, now that is uses g_setenv. - -https://bugzilla.gnome.org/show_bug.cgi?id=764379 ---- - gnome-session/main.c | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -diff --git a/gnome-session/main.c b/gnome-session/main.c -index 14b201b..9f3ca0f 100644 ---- a/gnome-session/main.c -+++ b/gnome-session/main.c -@@ -292,6 +292,15 @@ main (int argc, char **argv) - gsm_util_init_error (TRUE, "%s", error->message); - } - -+ /* From 3.14 GDM sets XDG_CURRENT_DESKTOP. For compatibility with -+ * older versions of GDM, other display managers, and startx, -+ * set a fallback value if we don't find it set. -+ */ -+ if (g_getenv ("XDG_CURRENT_DESKTOP") == NULL) { -+ g_setenv("XDG_CURRENT_DESKTOP", "GNOME", TRUE); -+ gsm_util_setenv ("XDG_CURRENT_DESKTOP", "GNOME"); -+ } -+ - /* Make sure we initialize gio in a way that does not autostart any daemon */ - initialize_gio (); - -@@ -375,13 +384,6 @@ main (int argc, char **argv) - exit (1); - } - -- /* From 3.14 GDM sets XDG_CURRENT_DESKTOP. For compatibility with -- * older versions of GDM, other display managers, and startx, -- * set a fallback value if we don't find it set. -- */ -- if (g_getenv ("XDG_CURRENT_DESKTOP") == NULL) -- gsm_util_setenv ("XDG_CURRENT_DESKTOP", "GNOME"); -- - /* Push locale variables to dbus-daemon */ - maybe_push_env_var ("LC_TIME"); - maybe_push_env_var ("LC_NUMERIC"); --- -2.6.2 -