Accepting request 735061 from GNOME:Next

Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/735061
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=307
This commit is contained in:
Bjørn Lie 2019-10-04 15:46:08 +00:00 committed by Git OBS Bridge
parent df7b950cb7
commit ac72c0d712
9 changed files with 82 additions and 61 deletions

View File

@ -2,9 +2,8 @@
<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">gnome-3-32</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="changesgenerate">enable</param>
<param name="revision">refs/tags/3.34.0</param>
<param name="versionformat">@PARENT_TAG@</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">

View File

@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.gnome.org/GNOME/gnome-session.git</param>
<param name="changesrevision">2550833a37250cee889ac12ce1e52965166169ff</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c9528d997857686ac7d518a14506999103f9aa3a0551471c01072d68323b908
size 3615756

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11c9e24162dfea50198aaac6b1387875b6122ea9d75275a1960a1c702e484bca
size 3583500

View File

@ -0,0 +1,11 @@
diff -Nur gnome-session/data/gnome-session-manager@.service.in orig-gnome-session/data/gnome-session-manager@.service.in
--- gnome-session/data/gnome-session-manager@.service.in 2019-09-17 20:40:19.032543568 +0200
+++ orig-gnome-session/data/gnome-session-manager@.service.in 2019-09-17 21:22:06.597890551 +0200
@@ -15,5 +15,5 @@
[Service]
Type=notify
-ExecStart=@libexecdir@/gnome-session-binary --debug --systemd-service --session=%i
+ExecStart=@libexecdir@/gnome-session-binary --systemd-service --session=%i
ExecStopPost=-@libexecdir@/gnome-session-ctl --shutdown

View File

@ -1,43 +0,0 @@
From 8676d77beb46e5a1f52ca0196ebebcd9890be5c2 Mon Sep 17 00:00:00 2001
From: xiaoguang wang <xwang@suse.com>
Date: Tue, 12 Mar 2019 10:59:46 +0800
Subject: [PATCH] presence: Enable idle detection while screensaver is active
Dim screen function depends on signal STATUS_CHANGED. To dim screen when
screensaver is active, need to enable idle detection at that time.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/900
---
gnome-session/gsm-presence.c | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/gnome-session/gsm-presence.c b/gnome-session/gsm-presence.c
index fa476abc..cdfa3ccd 100644
--- a/gnome-session/gsm-presence.c
+++ b/gnome-session/gsm-presence.c
@@ -173,10 +173,7 @@ idle_became_idle_cb (GnomeIdleMonitor *idle_monitor,
gpointer user_data)
{
GsmPresence *presence = user_data;
- /* We should already be idle,
- * see on_screensaver_active_changed() */
- if (!presence->priv->screensaver_active)
- set_session_idle (presence, TRUE);
+ set_session_idle (presence, TRUE);
}
static void
@@ -185,9 +182,7 @@ idle_became_active_cb (GnomeIdleMonitor *idle_monitor,
gpointer user_data)
{
GsmPresence *presence = user_data;
- /* We can only be non-idle if the screensaver is gone */
- if (!presence->priv->screensaver_active)
- set_session_idle (presence, FALSE);
+ set_session_idle (presence, FALSE);
}
static void
--
2.16.4

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Tue Sep 17 22:16:07 UTC 2019 - Bjørn Lie <bjorn.lie@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.lie@gmail.com
- Update to version 3.34.0:
+ Updated translations.
-------------------------------------------------------------------
Thu Sep 5 11:52:46 NZST 2019 - luke@ljones.dev
- Update to version 3.33.92:
+ More systemd --user fixes
+ Updated translations.
-------------------------------------------------------------------
Sun Sep 1 13:53:21 CDT 2019 - mgorse@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.lie@gmail.com

View File

@ -1,5 +1,5 @@
name: gnome-session
version: 3.32.0+5
mtime: 1558614418
commit: 2550833a37250cee889ac12ce1e52965166169ff
version: 3.34.0
mtime: 1568206228
commit: 02b301128b766b49a55de4eabe1d29c7ac4e359c

View File

@ -17,23 +17,22 @@
Name: gnome-session
Version: 3.32.0+5
Version: 3.34.0
Release: 0
Summary: Session Tools for the GNOME Desktop
License: GPL-2.0-or-later
Group: System/GUI/GNOME
URL: https://www.gnome.org
# We are using source services, so no download url for source
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 yfjiang@suse.com -- solution provided by msrb@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-presence-Enable-idle-detection-when-screen-locked.patch bsc#1118286 glgo#GNOME/gnome-shell#900 xwang@suse.com -- Enable dimming screen when screen is locked
Patch1: gnome-session-presence-Enable-idle-detection-when-screen-locked.patch
# PATCH-FIX-OPENSUSE gnome-session-s390-not-require-g-s-d_wacom.patch bsc#1129412 yfjiang@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-no-debug.patch -- Disable debug log spam
Patch3: gnome-session-no-debug.patch
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
@ -109,10 +108,10 @@ functional GNOME desktop.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%ifarch s390 s390x
%patch2 -p1
%endif
%patch3 -p1
translation-update-upstream po gnome-session-3.0
%build
@ -204,8 +203,28 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
%{_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-stable.target
%{_userunitdir}/gnome-session-stable.timer
%{_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