Hello community,

here is the log from the commit of package gnome-session for openSUSE:Factory 
checked in at 2018-03-14 19:32:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-session (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-session.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-session"

Wed Mar 14 19:32:46 2018 rev:178 rq:586726 version:3.28.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-session/gnome-session.changes      
2018-02-28 20:01:01.191680509 +0100
+++ /work/SRC/openSUSE:Factory/.gnome-session.new/gnome-session.changes 
2018-03-14 19:32:47.298520221 +0100
@@ -1,0 +2,86 @@
+Wed Mar 14 00:41:35 UTC 2018 - [email protected]
+
+- Add gnome-session-better-handle-empty-xdg_session_type.patch
+
+  The gnome-session-check-accelerated currently detects wayland
+  by checking if XDG_SESSION_TYPE != "x11". More appropriate test
+  would be XDG_SESSION_TYPE == "wayland".
+
+  This is especially important for cases when XDG_SESSION_TYPE is
+  not set to anything at all - in such case it is more likely
+  that the intention is to run gnome inside X11 (bsc#1084756,
+  bgo#794256).
+
+  The analysis and the patch is fully provided by [email protected].
+
+-------------------------------------------------------------------
+Tue Mar 13 14:28:25 UTC 2018 - [email protected]
+
+- Update to version 3.28.0:
+  + Updated translations.
+
+-------------------------------------------------------------------
+Wed Mar  7 16:43:13 UTC 2018 - [email protected]
+
+- Update to version 3.27.92:
+  + Updated translations.
+
+-------------------------------------------------------------------
+Wed Feb 28 16:29:33 UTC 2018 - [email protected]
+
+- Modernize spec-file by calling spec-cleaner
+
+-------------------------------------------------------------------
+Tue Feb 27 03:27:51 UTC 2018 - [email protected]
+
+- Update to version 3.27.91:
+  + Updated translations.
+
+-------------------------------------------------------------------
+Tue Feb 27 03:27:50 UTC 2018 - [email protected]
+
+- Update to version 3.27.90.1:
+  + Add back deprecated environment variable to fix GNOME on
+    systems that have proxies set up.
+
+-------------------------------------------------------------------
+Tue Feb 27 03:27:50 UTC 2018 - [email protected]
+
+- Update to version 3.27.90:
+  + Session saving fix.
+  + Remove dropped g-s-d plugin.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Tue Feb 27 03:27:04 UTC 2018 - [email protected]
+
+- Update to version 3.27.4:
+  + GLES fixes.
+  + Make systemd journal configurable again.
+  + switch from intltool to gettext.
+  + Fix wayland session file.
+  + Updated translations.
+- Drop intltool BuildRequires: no longer needed after the switch to
+  gettext.
+- Drop gnome-session-logging-to-systemd-journal-configurable.patch:
+  fixed upstream.
+
+-------------------------------------------------------------------
+Tue Feb 27 03:27:03 UTC 2018 - [email protected]
+
+- Update to version 3.27.3:
+  + Drop deprecated bits.
+  + Port to meson.
+  + Fix crash at shutdown.
+  + Fix session saving.
+  + BSD fixes.
+  + Updated translations.
+- Add meson BuildRequires and replace configure/make/make_install
+  with the respective meson/meson_build/meson_install macros.
+- Port gnome-session-logging-to-systemd-journal-configurable.patch
+  to support the meson build system.
+- Add docbook-xsl-stylesheets BuildRequires: new dependency to
+  generete the manpages.
+- Drop gnome-session-nb-translation.patch: fixed upstream.
+
+-------------------------------------------------------------------

Old:
----
  gnome-session-3.26.1.tar.xz
  gnome-session-logging-to-systemd-journal-configurable.patch
  gnome-session-nb-translation.patch

New:
----
  gnome-session-3.28.0.tar.xz
  gnome-session-better-handle-empty-xdg_session_type.patch

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

Other differences:
------------------
++++++ gnome-session.spec ++++++
--- /var/tmp/diff_new_pack.jndyJW/_old  2018-03-14 19:32:48.846465247 +0100
+++ /var/tmp/diff_new_pack.jndyJW/_new  2018-03-14 19:32:48.850465105 +0100
@@ -17,21 +17,20 @@
 
 
 Name:           gnome-session
-Version:        3.26.1
+Version:        3.28.0
 Release:        0
 Summary:        Session Tools for the GNOME Desktop
 License:        GPL-2.0-or-later
 Group:          System/GUI/GNOME
 Url:            http://www.gnome.org
-Source:         
http://download.gnome.org/sources/gnome-session/3.26/%{name}-%{version}.tar.xz
+Source:         
http://download.gnome.org/sources/gnome-session/3.28/%{name}-%{version}.tar.xz
 Source1:        gnome
 Source2:        gnome.desktop
-# PATCH-FEATURE-UPSTREAM 
gnome-session-logging-to-systemd-journal-configurable.patch bsc#876685 
bgo#768982 [email protected] -- Add a new configure switch for systemd journal 
support.
-Patch0:         gnome-session-logging-to-systemd-journal-configurable.patch
-# PATCH-FIX-UPSTREAM gnome-session-nb-translation.patch [email protected] -- 
Update Norwegian bokmål translations
-Patch1:         gnome-session-nb-translation.patch
+# PATCH-FIX-UPSTREAM gnome-session-better-handle-empty-xdg_session_type.patch 
bsc#1084756 bgo#794256 [email protected] -- solution provided by [email protected] 
using a more reasonable way to handle gpu acceleration check
+Patch0:         gnome-session-better-handle-empty-xdg_session_type.patch
+BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  fdupes
-BuildRequires:  intltool
+BuildRequires:  meson
 BuildRequires:  pkgconfig
 BuildRequires:  tcpd-devel
 BuildRequires:  update-desktop-files
@@ -110,22 +109,31 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 %if !0%{?is_opensuse}
 translation-update-upstream
 %endif
 
 %build
-%configure \
-        --enable-systemd \
-%if !0%{?is_opensuse}
-        --disable-systemd-journal \
+%meson \
+  -D docbook=false \
+  -D systemd=true \
+%if !0%{is_opensuse}
+  -D systemd_journal=false \
 %endif
-        --disable-gconf
-make %{?_smp_mflags}
+  %{nil}
+%meson_build
 
 %install
-%make_install
+%meson_install
+# Copy /usr/share/xsessions to /usr/share/wayland-sessions, workaround a meson 
issue
+# https://bugzilla.gnome.org/show_bug.cgi?id=792207
+if ! -d %{buildroot}%{_datadir}/wayland-sessions; then
+  mkdir -p %{buildroot}%{_datadir}/wayland-sessions
+  cp %{buildroot}%{_datadir}/xsessions/gnome.desktop 
%{buildroot}%{_datadir}/wayland-sessions/
+else
+  echo "meson_install copied the wayland session already, remove this hack"
+  exit 42
+fi
 # install startup script and xsession file
 install -d -m755 %{buildroot}%{_bindir}
 install -m755 %{SOURCE1} %{buildroot}%{_bindir}/gnome
@@ -189,6 +197,7 @@
 %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

++++++ gnome-session-3.26.1.tar.xz -> gnome-session-3.28.0.tar.xz ++++++
++++ 108224 lines of diff (skipped)

++++++ 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);

Reply via email to