Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-session.16160 for 
openSUSE:Leap:15.2:Update checked in at 2021-05-01 20:05:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/gnome-session.16160 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.gnome-session.16160.new.1947 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-session.16160"

Sat May  1 20:05:41 2021 rev:1 rq:889069 version:3.34.2

Changes:
--------
New Changes file:

--- /dev/null   2021-04-29 10:03:23.520854754 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.gnome-session.16160.new.1947/gnome-session.changes
     2021-05-01 20:05:42.086640313 +0200
@@ -0,0 +1,4093 @@
+-------------------------------------------------------------------
+Fri Apr  9 02:01:29 UTC 2021 - Xiaoguang Wang <xiaoguang.w...@suse.com>
+
+- Add gnome-session-exit-when-lost-name-on-bus.patch: gnome-session
+  exit immediately when lost name on bus
+  (bsc#1175622 glgo!GNOME/gnome-session!60).
+
+-------------------------------------------------------------------
+Tue May 12 07:18:56 UTC 2020 - Xiaoguang Wang <xiaoguang.w...@suse.com>
+
+- Update gnome-classic-s390-not-require-g-s-d_wacom.patch: Solve
+  conflict with gnome-shell-extensions-remove-gsd-XSettings.patch
+  (bsc#1171485).
+
+-------------------------------------------------------------------
+Wed Apr 15 01:20:42 UTC 2020 - Xiaoguang Wang <xiaoguang.w...@suse.com>
+
+- Add gnome-session-error-numbers-wrong.patch: Remove erron in log
+  'gnome-session-c[4905]: Error creating FIFO: File exists'
+  (bsc#1169165 glgo!GNOME/gnome-session#42).
+
+-------------------------------------------------------------------
+Mon Mar 16 03:51:13 UTC 2020 - Xiaoguang Wang <xw...@suse.com>
+
+- Add gnome-session-remove-gsd-XSettings.patch: Remove
+  org.gnome.SettingsDaemon.XSettings from file gnome.session
+  (bsc#1163262 glgo#GNOME/gnome-session#51)
+
+-------------------------------------------------------------------
+Sat Jan 25 14:11:39 UTC 2020 - Dominique Leuenberger <dims...@opensuse.org>
+
+- No longer recommend -lang: supplements are in use
+
+-------------------------------------------------------------------
+Fri Nov 29 12:37:15 UTC 2019 - Frederic Crozat <fcro...@suse.com>
+
+- Refresh gnome-session-s390-not-require-g-s-d_wacom.patch for
+  GNOME 3.34.
+
+-------------------------------------------------------------------
+Thu Nov 28 14:18:21 UTC 2019 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 3.34.2:
+  + autostart-app: Strip blacklisted variables from autostart
+    environment.
+  + data:
+    - Ensure shutdown target does not keep units loaded.
+    - Make X11 services part of gnome-session-initialized.
+    - Remove gnome-session-stable.timer and related units.
+    - Remove never used gnome-session-shutdown.service.
+  + doap: Add a description.
+  + manager: Disable session saving on systemd managed sessions.
+  + session-fill: Disable session restoring on systemd.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Thu Nov 28 08:25:01 UTC 2019 - QK ZHU <qk...@suse.com>
+
+- Pass systemd_journal=true to both SLE and Tumbleweed(jsc#SLE-10383).
+
+-------------------------------------------------------------------
+Mon Oct  7 09:57:51 UTC 2019 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 3.34.1:
+  + Drop accidentally included `--debug` when launching
+    `gnome-session-binary`.
+  + Introduce a list of variables to potentially unset in launched
+    sessions.
+  + Updated translations.
+- Drop gnome-session-no-debug.patch: Fixed upstream.
+
+-------------------------------------------------------------------
+Tue Sep 17 22:16:07 UTC 2019 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Add gnome-session-no-debug.patch: Disable debug log spam in
+  journald. Patch/bug to be sent upstream.
+
+-------------------------------------------------------------------
+Wed Sep 11 16:33:05 UTC 2019 - bjorn....@gmail.com
+
+- Update to version 3.34.0:
+  + Updated translations.
+
+-------------------------------------------------------------------
+Thu Sep  5 11:52:46 NZST 2019 - l...@ljones.dev
+
+- Update to version 3.33.92:
+  + More systemd --user fixes
+  + Updated translations.
+
+-------------------------------------------------------------------
+Sun Sep  1 13:53:21 CDT 2019 - mgo...@suse.com
+
+- Update to version 3.33.90:
+  + Add support to manage the session using the systemd user
+    instance.
+  + Update session definitions to match new gnome-settings-daemon.
+  + Don't show logout button in fail whale when not logged in.
+  + Handle apps exiting abruptly at log out better.
+  + Updated translations.
+- Changes from version 3.33.4:
+  + Fix warning in log spew with dbus activated services.
+  + Fix idle detection.
+  + Advertize support for GDM's session registration API
+  + Updated translations.
+- Drop
+  gnome-session-presence-Enable-idle-detection-when-screen-locked.patch:
+  fixed upstream.
+- Add systemd user unit files.
+
+-------------------------------------------------------------------
+Fri Aug 02 18:53:38 UTC 2019 - bjorn....@gmail.com
+
+- Update to version 3.32.0+5:
+  + Updated translations.
+- Switch to git checkout via source service, upstream is lacking in
+  stable releases. In the future we will use a stable tag when
+  possible, but when upstream slacks off, we will use a checkout of
+  the stable branch.
+
+-------------------------------------------------------------------
+Fri Mar 29 06:50:54 UTC 2019 - Yifan Jiang <yfji...@suse.com>
+
+- Add gnome-session-s390-not-require-g-s-d_wacom.patch: Remove the
+  gnome session runtime requirement of g-s-d Wacom plugin because
+  it is not build on s390 (bsc#1129412).
+
+-------------------------------------------------------------------
+Fri Mar 29 06:41:22 UTC 2019 - xw...@suse.com
+
+- Add
+  gnome-session-presence-Enable-idle-detection-when-screen-locked.patch:
+  Enable dimming screen when screen is locked (bsc#1118286,
+  glgo#GNOME/gnome-shell#900).
+
+-------------------------------------------------------------------
+Wed Mar 13 16:07:02 UTC 2019 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 3.32.0:
+  + Updated translations.
+
+-------------------------------------------------------------------
+Tue Jan  8 13:19:49 UTC 2019 - bjorn....@gmail.com
+
+- Update to version 3.31.4:
+  + Updated translations.
+
+-------------------------------------------------------------------
+Wed Sep 26 11:01:28 UTC 2018 - bjorn....@gmail.com
+
+- Update to version 3.30.1:
+  + Fix region computation when debugging is enabled.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Fri Sep  7 00:27:43 UTC 2018 - luc1...@linuxmail.org
+
+- Update to version 3.30.0:
+  + Updated translations.
+- Reenable translation-update-upstream BuildRequires and its macro:
+  the previous issue has been fixed.
+- Drop hack/workaround for gnome.desktop not being installed to
+  wayland-sessions (bgo#792207).
+
+-------------------------------------------------------------------
+Wed Aug 29 00:11:53 UTC 2018 - bjorn....@gmail.com
+
+- Update to version 3.29.92:
+  + Add new RebootToFirmwareSetup API.
+  + Crash fix when running with nested wayland compositors.
+  + Use full path to binaries in desktop files.
+- Disable translation-update-upstream BuildRequires and
+  corresponding macro, currently breaks the build.
+
+-------------------------------------------------------------------
+Fri Aug  3 22:44:28 UTC 2018 - bjorn....@gmail.com
+
+- Update to version 3.29.90:
+  + Drop deprecated environment variable again.
+  + Harden permissions on config dir.
+
+-------------------------------------------------------------------
+Mon Jul 23 09:52:09 UTC 2018 - dims...@opensuse.org
+
+- Help translation-update-upstream finding the right gettext domain
+  name: pass "po gnome-session-3.0" to the call.
+
+-------------------------------------------------------------------
+Wed Apr 11 02:45:25 UTC 2018 - luc1...@linuxmail.org
+
+- Update to version 3.28.1:
+  + Tell libICE to stop opening a TCP socket.
+  + Shore up permissions of .config.
+  + Updated translations.
+- Add pkgconfig(gio-2.0) to avoid implicit dependencies.
+- Drop update-desktop-files and suse_update_desktop_file macro,
+  tcpd devel package and xau, xext, xrender and xsts pkgconfig
++++ 3896 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:Update/.gnome-session.16160.new.1947/gnome-session.changes

New:
----
  _service
  gnome
  gnome-session-3.34.2.obscpio
  gnome-session-better-handle-empty-xdg_session_type.patch
  gnome-session-error-numbers-wrong.patch
  gnome-session-exit-when-lost-name-on-bus.patch
  gnome-session-remove-gsd-XSettings.patch
  gnome-session-s390-not-require-g-s-d_wacom.patch
  gnome-session.changes
  gnome-session.obsinfo
  gnome-session.spec
  gnome.desktop

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-session.spec ++++++
#
# spec file for package gnome-session
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           gnome-session
Version:        3.34.2
Release:        0
Summary:        Session Tools for the GNOME Desktop
License:        GPL-2.0-or-later
Group:          System/GUI/GNOME
URL:            https://www.gnome.org
Source0:        %{name}-%{version}.tar.xz
Source1:        gnome
Source2:        gnome.desktop

# PATCH-FIX-UPSTREAM gnome-session-better-handle-empty-xdg_session_type.patch 
bsc#1084756 bgo#794256 yfji...@suse.com -- solution provided by m...@suse.com 
using a more reasonable way to handle gpu acceleration check
Patch0:         gnome-session-better-handle-empty-xdg_session_type.patch
# PATCH-FIX-UPSTREAM gnome-session-remove-gsd-XSettings.patch bsc#1163262 
glgo#GNOME/gnome-session#51 xw...@suse.com -- remove 
org.gnome.SettingsDaemon.XSettings from gnome.session
Patch1:         gnome-session-remove-gsd-XSettings.patch
# PATCH-FIX-OPENSUSE gnome-session-s390-not-require-g-s-d_wacom.patch 
bsc#1129412 yfji...@suse.com -- Remove the runtime requirement of g-s-d Wacom 
plugin
Patch2:         gnome-session-s390-not-require-g-s-d_wacom.patch
# PATCH-FIX-UPSTREAM gnome-session-error-numbers-wrong.patch bsc#1169165 
glgo!GNOME/gnome-session#42 xw...@suse.com -- Valid error numbers are all 
positive numbers 
Patch3:         gnome-session-error-numbers-wrong.patch
# PATCH-FIX-UPSTREAM gnome-session-exit-when-lost-name-on-bus.patch bsc#1175622 
glgo!GNOME/gnome-session!60 xw...@suse.com -- gnome-session exit immediately 
when lost name on bus
Patch4:         gnome-session-exit-when-lost-name-on-bus.patch

BuildRequires:  docbook-xsl-stylesheets
BuildRequires:  fdupes
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  translation-update-upstream
BuildRequires:  xsltproc
BuildRequires:  pkgconfig(dbus-glib-1) >= 0.76
BuildRequires:  pkgconfig(egl)
BuildRequires:  pkgconfig(epoxy)
BuildRequires:  pkgconfig(gio-2.0) >= 2.46.0
BuildRequires:  pkgconfig(gio-unix-2.0) >= 2.46.0
BuildRequires:  pkgconfig(gl)
BuildRequires:  pkgconfig(glesv2)
BuildRequires:  pkgconfig(glib-2.0) >= 2.46.0
BuildRequires:  pkgconfig(gnome-desktop-3.0) >= 3.18.0
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.18.0
BuildRequires:  pkgconfig(ice)
BuildRequires:  pkgconfig(json-glib-1.0) >= 0.10
BuildRequires:  pkgconfig(libsystemd) >= 209
BuildRequires:  pkgconfig(sm)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xcomposite)
BuildRequires:  pkgconfig(xtrans)
Requires:       %{name}-core = %{version}
Requires:       %{name}-default-session = %{version}
# gnome-session-wayland not recommended by default yet: causes various issues:
# qemu's default video mode is 'cirrus', which stays black with GNOME Wayland
# YaST cannot be started without additional tricks
# All together this blocks us from passing openQA
# Recommends:     %%{name}-wayland

%description
This package provides the basic session tools, like session management
functionality, for the GNOME Desktop.

%package default-session
Summary:        Default session support for the GNOME Session Manager
Group:          System/GUI/GNOME
Requires:       %{name} = %{version}
Requires:       gnome-settings-daemon
Requires:       gnome-shell

%description default-session
This package contains the definition of the default GNOME session.

%package wayland
Summary:        Wayland support for the GNOME Session Manager
Group:          System/GUI/GNOME
Requires:       %{name} = %{version}
Requires:       gnome-settings-daemon
Requires:       xorg-x11-server-wayland

%description wayland
This package contains the definition of the default GNOME session on Wayland.

%package core
Summary:        Minimal version of the GNOME Session Manager
Group:          System/GUI/GNOME
Requires:       dbus-1-x11
Requires:       gsettings-desktop-schemas >= 0.1.7
Requires:       hicolor-icon-theme
%glib2_gsettings_schema_requires

%description core
This package contains a minimal version of gnome-session, that can be
used for specific cases. The gnome-session package is needed for a fully
functional GNOME desktop.

%lang_package

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%ifarch s390 s390x
%patch2 -p1
%endif
%patch3 -p1
%patch4 -p1
translation-update-upstream po gnome-session-3.0

%build
%meson \
  -D docbook=false \
  -D systemd=true \
  -D systemd_journal=true \
  %{nil}
%meson_build

%install
%meson_install
# install startup script and xsession file
install -d -m755 %{buildroot}%{_bindir}
install -m755 %{SOURCE1} %{buildroot}%{_bindir}/gnome
install -d -m755 %{buildroot}%{_datadir}/xsessions
install -m644 %{SOURCE2} %{buildroot}%{_datadir}/xsessions/gnome.desktop
%find_lang %{name}-3.0 %{?no_lang_C}
%fdupes %{buildroot}/%{_prefix}
# remove wayland files on s390/s390x
%ifarch s390 s390x
rm -fr %{buildroot}%{_datadir}/wayland-sessions
%endif

# Prepare for 'default.desktop' being update-alternative handled, boo#1039756
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
touch %{buildroot}%{_sysconfdir}/alternatives/default-xsession.desktop
ln -s %{_sysconfdir}/alternatives/default-xsession.desktop 
%{buildroot}%{_datadir}/xsessions/default.desktop
%ifnarch s390 s390x
touch %{buildroot}%{_sysconfdir}/alternatives/default-waylandsession.desktop
ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop 
%{buildroot}%{_datadir}/wayland-sessions/default.desktop
%endif

%post
%{_sbindir}/update-alternatives --install %{_datadir}/xsessions/default.desktop 
\
  default-xsession.desktop %{_datadir}/xsessions/gnome.desktop 25

%postun
[ -f %{_datadir}/xsessions/gnome.desktop ] || %{_sbindir}/update-alternatives \
  --remove default-xsession.desktop %{_datadir}/xsessions/gnome.desktop

%files
%{_bindir}/gnome
%{_datadir}/xsessions/default.desktop
%{_datadir}/xsessions/gnome.desktop
%{_datadir}/xsessions/gnome-xorg.desktop
%ghost %{_sysconfdir}/alternatives/default-xsession.desktop

%files default-session
%{_datadir}/gnome-session/sessions/gnome.session
%{_datadir}/gnome-session/sessions/gnome-dummy.session

%ifnarch s390 s390x
%post wayland
%{_sbindir}/update-alternatives --install 
%{_datadir}/wayland-sessions/default.desktop \
  default-waylandsession.desktop %{_datadir}/wayland-sessions/gnome.desktop 25

%postun wayland
[ -f %{_datadir}/wayland-sessions/gnome.desktop ] || 
%{_sbindir}/update-alternatives \
  --remove default-waylandsession.desktop 
%{_datadir}/wayland-sessions/gnome.desktop

%files wayland
%dir %{_datadir}/wayland-sessions
%{_datadir}/wayland-sessions/default.desktop
%{_datadir}/wayland-sessions/gnome.desktop
%ghost %{_sysconfdir}/alternatives/default-waylandsession.desktop
# Disabled as wayland is now the default session again.
#{_datadir}/wayland-sessions/gnome-wayland.desktop
%endif

%files core
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/gnome-session
%{_bindir}/gnome-session-custom-session
%{_bindir}/gnome-session-inhibit
%{_bindir}/gnome-session-quit
%{_datadir}/GConf/gsettings/gnome-session.convert
%{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
%dir %{_datadir}/gnome-session
%dir %{_datadir}/gnome-session/sessions
%{_mandir}/man1/gnome-session.1%{?ext_man}
%{_mandir}/man1/gnome-session-inhibit.1%{?ext_man}
%{_mandir}/man1/gnome-session-quit.1%{?ext_man}
%{_libexecdir}/gnome-session-binary
# Helper for the session definitions, to know if hardware is accelerated
%{_libexecdir}/gnome-session-check-accelerated
%{_libexecdir}/gnome-session-check-accelerated-gl-helper
%{_libexecdir}/gnome-session-check-accelerated-gles-helper
%{_libexecdir}/gnome-session-ctl
%{_libexecdir}/gnome-session-failed
%{_datadir}/gnome-session/hardware-compatibility
%{_userunitdir}/gnome-session-failed.service
%{_userunitdir}/gnome-session-failed.target
%{_userunitdir}/gnome-session-initialized.target
%{_userunitdir}/gnome-session-manager.target
%{_userunitdir}/gnome-session-manager@.service
%{_userunitdir}/gnome-session-monitor.service
%{_userunitdir}/gnome-session-pre.target
%{_userunitdir}/gnome-session-restart-dbus.service
%{_userunitdir}/gnome-session-shutdown.target
%{_userunitdir}/gnome-session-signal-init.service
%{_userunitdir}/gnome-session-wayland.target
%{_userunitdir}/gnome-session-wayland@.target
%{_userunitdir}/gnome-session-x11.target
%{_userunitdir}/gnome-session-x11@.target
%{_userunitdir}/gnome-session-x11-services.target
%{_userunitdir}/gnome-session.target
%{_userunitdir}/gnome-session@.target

%files lang -f %{name}-3.0.lang

%changelog
++++++ _service ++++++
<services>
  <service name="obs_scm" mode="disabled">
    <param name="scm">git</param>
    <param name="url">https://gitlab.gnome.org/GNOME/gnome-session.git</param>
    <param name="revision">refs/tags/3.34.2</param>
    <param name="versionformat">@PARENT_TAG@</param>
  </service>
  <service name="tar" mode="buildtime"/>
  <service name="recompress" mode="buildtime">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
  <service name="set_version" mode="disabled" />
</services>

++++++ gnome ++++++
#!/bin/bash
#
# This is not the original gnome-session but a start script
# to install some preconfiguration for GNOME
# and some variables to check.
#
# For feedback on this script please use
# https://bugzilla.novell.com/
#

# Define directory that we use to store migration state
if test "x$XDG_CONFIG_HOME" = "x"; then
  XDG_CONFIG_HOME="$HOME/.config"
fi
SUSE_DIR="$XDG_CONFIG_HOME/suse"

if test -e /usr/share/applications/YaST2/live-installer.desktop; then
  IS_LIVE_IMAGE="yes"
else
  IS_LIVE_IMAGE="no"
fi

# Use gnome-applications.menu instead of applications.menu: its
# structure is more appropriate.
export XDG_MENU_PREFIX=gnome-

# Some actions that are specific to the LiveCD
if test "$IS_LIVE_IMAGE" = "yes" ; then
  ## Make live installer icon more visible. Note that we can't simply put it on
  ## the desktop, since the desktop is not managed by nautilus anymore (by
  ## default)

  if test -f /etc/xdg/menus/${XDG_MENU_PREFIX}applications.menu -a ! -f 
"${XDG_CONFIG_HOME}/menus/${XDG_MENU_PREFIX}applications.menu"; then
    # Add live installer to the system tools menu (this is nice to have, and 
also
    # required for the favorite app change below)
    mkdir -p -m 0700 "${XDG_CONFIG_HOME}"
    mkdir -p "${XDG_CONFIG_HOME}/menus"
    cat > "${XDG_CONFIG_HOME}/menus/${XDG_MENU_PREFIX}applications.menu" << EOF
<Menu>  
  <Name>Applications</Name>
  <MergeFile 
type="parent">/etc/xdg/menus/${XDG_MENU_PREFIX}applications.menu</MergeFile>
  <Menu>  
    <Name>System</Name>
    <Include>
      <Filename>YaST2-live-installer.desktop</Filename>
    </Include>
  </Menu>
</Menu>
EOF
  fi

  # Add live installer as favorite application to gnome-shell dash
  FAVORITES=`gsettings get org.gnome.shell favorite-apps`
  if test $? -eq 0; then
    echo ${FAVORITES} | grep -q YaST2-live-installer.desktop
    if test $? -ne 0; then
      FAVORITES=`echo ${FAVORITES} | sed 
"s:^\[:\['YaST2-live-installer.desktop', :"`
      gsettings set org.gnome.shell favorite-apps "${FAVORITES}"
    fi
  fi

  # Add live installer to the top panel in fallback mode
  if test -f /usr/share/gnome-panel/panel-default-layout.layout -a ! -f 
"${XDG_CONFIG_HOME}/gnome-panel/panel-default-layout.layout"; then
    FIRST_TOPLEVEL=`grep --max-count=1  "\[Toplevel" 
/usr/share/gnome-panel/panel-default-layout.layout | sed "s:\[Toplevel *::g;s: 
*]::g"`
    if test ! -z "${FIRST_TOPLEVEL}"; then
      mkdir -p -m 0700 "${XDG_CONFIG_HOME}"
      mkdir -p "${XDG_CONFIG_HOME}/gnome-panel"
      cp /usr/share/gnome-panel/panel-default-layout.layout 
"${XDG_CONFIG_HOME}/gnome-panel/panel-default-layout.layout"
      cat >> "${XDG_CONFIG_HOME}/gnome-panel/panel-default-layout.layout" << EOF
[Object live-installer-launcher]
object-iid=PanelInternalFactory::Launcher
toplevel-id=top-panel
pack-type=start
pack-index=-1
@instance-config/location="file:///usr/share/applications/YaST2/live-installer.desktop"
EOF
    fi
  fi

  ## Other tweaks

  # setup session to not have a lock-enabled screensaver
  gsettings set org.gnome.desktop.screensaver lock-enabled false
  # setup session to not care about updates
  gsettings set org.gnome.settings-daemon.plugins.updates active false
fi

# Uncomment after SLED12, remove after SLED14:
#rm -f ~/.skel/gnome2-run ~/.skel/gnome2-run-9.2 ~/.skel/sled10-run

exec /usr/bin/gnome-session ${session} $*
++++++ gnome-session-better-handle-empty-xdg_session_type.patch ++++++
Index: gnome-session-3.28.0/tools/gnome-session-check-accelerated.c
===================================================================
--- gnome-session-3.28.0.orig/tools/gnome-session-check-accelerated.c
+++ gnome-session-3.28.0/tools/gnome-session-check-accelerated.c
@@ -147,7 +147,7 @@ main (int argc, char **argv)
          * Also make sure that we don't read cached information about the 
first GPU
          * when requesting information about the second.
          */
-        if (is_discrete_gpu_check () || g_strcmp0 (g_getenv 
("XDG_SESSION_TYPE"), "x11") != 0) {
+        if (is_discrete_gpu_check () || g_strcmp0 (g_getenv 
("XDG_SESSION_TYPE"), "wayland") == 0) {
                 renderer_string = get_gtk_gles_renderer ();
                 if (renderer_string) {
                         g_print ("%s", renderer_string);
++++++ gnome-session-error-numbers-wrong.patch ++++++
>From 534850d20b4f9dcb2c521bf6420a4d34123e7893 Mon Sep 17 00:00:00 2001
From: Xiaoguang Wang <xw...@suse.com>
Date: Fri, 10 Apr 2020 15:41:23 +0800
Subject: [PATCH] Valid error numbers are all positive numbers

There is error in journal log:
gnome-session-c[4905]: Error creating FIFO: File exists
The errno can't be negative number.

https://gitlab.gnome.org/GNOME/gnome-session/-/merge_requests/42
---
 gnome-session/main.c      | 2 +-
 tools/gnome-session-ctl.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnome-session/main.c b/gnome-session/main.c
index 01f56667..c1dda5dc 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -349,7 +349,7 @@ systemd_leader_run(void)
         fifo_name = g_strdup_printf ("%s/gnome-session-leader-fifo",
                                      g_get_user_runtime_dir ());
         res = mkfifo (fifo_name, 0666);
-        if (res < 0 && errno != -EEXIST)
+        if (res < 0 && errno != EEXIST)
                 g_warning ("Error creating FIFO: %m");
 
         fifo_fd = g_open (fifo_name, O_WRONLY | O_CLOEXEC, 0666);
diff --git a/tools/gnome-session-ctl.c b/tools/gnome-session-ctl.c
index 9276a0ad..86f03be1 100644
--- a/tools/gnome-session-ctl.c
+++ b/tools/gnome-session-ctl.c
@@ -194,7 +194,7 @@ do_monitor_leader (void)
         fifo_name = g_strdup_printf ("%s/gnome-session-leader-fifo",
                                      g_get_user_runtime_dir ());
         res = mkfifo (fifo_name, 0666);
-        if (res < 0 && errno != -EEXIST)
+        if (res < 0 && errno != EEXIST)
                 g_warning ("Error creating FIFO: %m");
 
         data.fifo_fd = g_open (fifo_name, O_RDONLY | O_CLOEXEC, 0666);
-- 
2.26.0

++++++ gnome-session-exit-when-lost-name-on-bus.patch ++++++
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 6839a02d..67b09d8a 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -1802,6 +1802,14 @@ gsm_manager_set_failsafe (GsmManager *manager,
         manager->priv->failsafe = enabled;
 }
 
+gboolean
+gsm_manager_get_dbus_disconnected (GsmManager *manager)
+{
+        g_return_val_if_fail (GSM_IS_MANAGER (manager), FALSE);
+
+        return manager->priv->dbus_disconnected;
+}
+
 gboolean
 gsm_manager_get_failsafe (GsmManager *manager)
 {
diff --git a/gnome-session/main.c b/gnome-session/main.c
index 01f56667..51ea6975 100644
--- a/gnome-session/main.c
+++ b/gnome-session/main.c
@@ -83,8 +83,12 @@ on_name_lost (GDBusConnection *connection,
               gpointer    data)
 {
         if (connection == NULL) {
-                g_warning ("Lost name on bus: %s", name);
-                gsm_fail_whale_dialog_we_failed (TRUE, TRUE, NULL);
+                if (gsm_manager_get_dbus_disconnected (manager))
+                        gsm_quit ();
+                else {
+                        g_warning ("Lost name on bus: %s", name);
+                        gsm_fail_whale_dialog_we_failed (TRUE, TRUE, NULL);
+                }
         } else {
                 g_debug ("Calling name lost callback function");
 
++++++ gnome-session-remove-gsd-XSettings.patch ++++++
>From 7690131514d22578dc6bfdc3b1af3196ffc4bbac Mon Sep 17 00:00:00 2001
From: Xiaoguang Wang <xw...@suse.com>
Date: Thu, 5 Mar 2020 14:44:38 +0800
Subject: [PATCH] data: Remove org.gnome.SettingsDaemon.XSettings

Now gnome-shell starts up org.gnome.SettingsDaemon.XSettings

https://gitlab.gnome.org/GNOME/gnome-session/issues/51
---
 data/gnome.session.desktop.in.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/gnome.session.desktop.in.in b/data/gnome.session.desktop.in.in
index 6c70f540..079e1e82 100644
--- a/data/gnome.session.desktop.in.in
+++ b/data/gnome.session.desktop.in.in
@@ -1,3 +1,3 @@
 [GNOME Session]
 Name=GNOME
-RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;
+RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;
-- 
2.25.0

++++++ gnome-session-s390-not-require-g-s-d_wacom.patch ++++++
Index: gnome-session-3.34.2/data/gnome.session.desktop.in.in
===================================================================
--- gnome-session-3.34.2.orig/data/gnome.session.desktop.in.in
+++ gnome-session-3.34.2/data/gnome.session.desktop.in.in
@@ -1,3 +1,3 @@
 [GNOME Session]
 Name=GNOME
-RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;
+RequiredComponents=org.gnome.Shell;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;
++++++ gnome-session.obsinfo ++++++
name: gnome-session
version: 3.34.2
mtime: 1574948400
commit: 2bb33887ea575263b06cb7154f48ed8438c4b8cc

++++++ gnome.desktop ++++++
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=gnome
TryExec=gnome
Name=GNOME
DesktopNames=GNOME
Name[ar]=??????????
Name[bn]=????????????
Name[cs]=GNOME
Name[eo]=Gnomikuo
Name[hi]=???????????????
Name[mn]=??????????
Name[sv]=Gnome
Name[ta]=??????????????????
Name[xx]=xxGNOMExx
Comment=The GNU Network Object Model Environment. A complete, free and 
easy-to-use desktop environment
Comment[ar]=???????? ?????????? ???????????? ???????????? ???? GNU?? ???????? 
?????? ?????????? ???????? ?????????? ??????????????????
Comment[bn]=?????? ???????????? ??????????????????????????? 
????????????????????????????????? ???????????????????????????????????????  
???????????? ???????????????, ??????????????? ????????? ??????????????? 
???????????????????????????????????? ????????????????????? 
????????????????????????????????????
Comment[bs]=GNU Network Object Model Environment. Kompletna, slobodna i 
jednostavna za upotrebu desktop okolina
Comment[ca]=El GNU Network Object Model Environment. Un complet, lliure i 
f??cil d'usar entorn d'escriptori
Comment[cs]=GNU Network Object Model Environment. ??pln??, svobodn?? a snadno 
pou??iteln?? pracovn?? prost??ed??
Comment[cy]=Yr Amgylchedd Model Gwrthrych Rhwydwaith GNU (GNU Network Object 
Model Environment).  Amgylchedd penbwrdd cyflawn, rhydd, a hawdd ei ddefnyddio.
Comment[da]=GNU Network Object Model Environment. Et fuldst??nding, frit og 
nemt at bruge desktopmilj??
Comment[de]=Das GNU Network Object Model Environment. Eine komplette, freie und 
leicht benutzbare Arbeitsumgebung
Comment[el]=???? GNU Network Object Model Environment. ?????? ????????????, 
???????????????? ?????? ???????????? ?????? ?????????? ???????????????????? 
???????????????????? ????????????????
Comment[eo]=Plena labortabla ??irka??a??o
Comment[es]=El GNU Network Object Model Environment, un entorno de escritorio 
completo, libre y f??cil de usar
Comment[et]=GNU Network Object Model Environment on t??ielik, vaba ja v??ga 
h??lpsasti kasutatav t????laua keskkond
Comment[eu]=GNU Network Object Model Environment. mahaigain-ingurune oso, libre 
eta erabilterreza
Comment[fi]=GNU Network Object Model Environment. Valmis, vapaa ja 
helppok??ytt??inen ty??p??yt??ymp??rist??
Comment[fr]=The GNU Network Object Model Environment. Un environnement de 
bureau complet, gratuit et facile ?? utiliser
Comment[fy]=De GNU Network Object Model Environment, In komplete, frije en 
ienf??ldige te br??ken burobl??d omwr??ld
Comment[gl]=O GNU Network Object Model Environment. Un entorno de escritorio 
completo, ceibe e de uso doado
Comment[he]=The GNU Network Object Model Environment. ?????????? ?????????? 
????????, ???????????? ???????? ????????????
Comment[hi]=?????????????????? ????????????????????? ???????????????????????? 
???????????? ?????????????????????????????????. ?????? ?????????????????????, 
??????????????? ????????? ???????????? ???????????????????????? 
?????????????????????
Comment[hu]=GNU Network Object Model Environment (GNOME), egy teljes, ingyenes, 
k??nnyen kezelhet?? grafikus k??rnyezet
Comment[is]=GNU Network Object Model Environment er fullkomi?? og fjr??lst 
skj??bor??sumhverfi sem er au??velt a?? nota
Comment[it]=Il GNU Network Object Model Environment. Un ambiente desktop 
completo, libero e facile da usare
Comment[ja]=GNU?????????????????????????????????,?????????????????????????????????????????????????????????
Comment[lt]=GNU tinklo objekt?? modeliavimo aplinka. Savaranki??ka, laisva ir 
lengvai naudojama darbastalio aplinka
Comment[mk]=GNU Network Object Model Environment. ?????????????? ?????????????? 
???????? ?? ??????????????????, ???????????????? ?? ???????????????????? ???? 
??????????????????
Comment[mn]=GNU Network Object Model Environment. ??????????, ???????????? 
???????????????????? ???????????? ?????????????????? ?????????????????? 
??????????
Comment[mt]=GNU Network Object Model Environment. Ambjent grafiku komplet, 
??ieles u fa??li tu??ah.
Comment[nb]=GNU Network Object Model Environment. Et skrivebordsmilj?? som er 
komplett, fritt og lett ?? bruke.
Comment[nds]=De GNU Network Object Model Environment. En kumplette 
Schriefdisch-??mgeven, ??msunst un eenfach to bruken
Comment[nl]=De GNU Network Object Model Environment, een complete, vrije en 
eenvoudig te gebruiken desktop environment.
Comment[nn]=GNU Network Object Model Environment. Eit skrivebordsmilj?? som er 
komplett, fritt og lett ?? bruka.
Comment[pa]=GNU Network Object Model Environment ???????????? 
??????????????????, ???????????? ?????? ???????????? ???????????? ????????? 
???????????? ??????????????? ?????????????????????
Comment[pl]=GNU Network Object Model Environment (GNOME). Pe??ne, wolne i 
??atwe w u??yciu ??rodowisko pulpitu
Comment[pt]=O GNU Network Object Model Environment. Um ambiente de trabalho 
completo, livre e f??cil de usar
Comment[pt_BR]=Acr??nimo para GNU Network Object Model Environment ou Ambiente 
de Modelo de Objetos de Rede GNU; um ambiente de trabalho completo, livre e 
f??cil de usar
Comment[ro]=GNU Network Object Model Environment. Un mediu grafic complet, 
gratuit ??i u??or de utilizat
Comment[ru]=GNU Network Object Model Environment - ????????????, 
?????????????????? ?? ???????????? ?? ?????????????????????????? 
?????????????????????? ??????????
Comment[sk]=The GNU Network Object Model Environment. ??pln??, vo??ne 
????rite??n?? a ??ahko pou????vate??n?? pracovn?? prostredie
Comment[sl]=GNU Network Object Model Environment. Popolno, prosto in preposto 
namizno okolje
Comment[sr]=???GNU Network Object Model Environment???(Gnome, ????????). 
??????????????, ?????????????????? ?? ???????? ???? ?????????????????? 
?????????? ????????????????
Comment[sr@Latn]=???GNU Network Object Model Environment???(Gnome, Gnom). 
Potpuno, besplatno i lako za kori????enje radno okru??enje
Comment[sv]=GNU Network Object Model Environment. En fullst??ndig, fri och 
l??ttanv??nd skrivbordsmilj??
Comment[ta]=GNU ?????????????????? ????????? ?????????????????? 
???????????????.??????????????????????????? , ???????????? 
????????????????????? ??????????????????????????????????????????????????? 
???????????????????????? ???????????????
Comment[tr]=GNU Network Object Model Environment (GNOME)
Comment[uk]=The GNU Network Object Model Environment. 
????????????????????????????????????, ???????????? ???? ???????????? 
???????????????? ????????????????????
Comment[uz]=GNOME (GNU Network Object Model Environment) - ????????????????, 
?????????? ???? ???????????????????? ???????? ???????? ?????????? ???? 
?????????? ????????????
Comment[vi]=M??i tr?????ng ki???u ?????i t?????ng c???a GNU: M???t m??i 
tr?????ng desktop ?????y ?????, mi???n ph?? v?? d??? s??? d???ng
Comment[xx]=xxThe GNU Network Object Model Environment. A complete, free and 
easy-to-use desktop environmentxx
Comment[zh_CN]=GNU 
??????????????????????????????????????????????????????????????????

Reply via email to