Accepting request 460957 from GNOME:Next

Scripted push of GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/460957
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=259
This commit is contained in:
Dominique Leuenberger 2017-02-28 21:40:20 +00:00 committed by Git OBS Bridge
parent 78117e1b29
commit 03491dee2f
5 changed files with 15 additions and 38 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95a15224179b523a664a1d4d25245fce166a67aaa242c904482859a249e55bdf
size 778352

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50bde3aed35bd48ac73c6cbc322f627925f914ebcdab90f032d4f29488c9cc38
size 779536

View File

@ -1,31 +0,0 @@
From 73dba36e0d4f9129683caa85b4cd9b012d8e68c8 Mon Sep 17 00:00:00 2001
From: "Owen W. Taylor" <otaylor@fishsoup.net>
Date: Thu, 2 Feb 2017 13:03:20 -0500
Subject: gsm-systemd.c: Restrict the login monitor to the "session" category
We only are interested in changes to sd_session_get_active(), so only
listen for changes in the "session" category. This reduces overhead
by a small amount, and also reduces the amount of /var/run/systemd
that needs to be read. (Bug 772537 is a failure because of a SELinux
policy preventint reading /var/run/systemd/machines - which we don't
need to monitor anyways.)
---
gnome-session/gsm-systemd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnome-session/gsm-systemd.c b/gnome-session/gsm-systemd.c
index 69971b8..539e991 100644
--- a/gnome-session/gsm-systemd.c
+++ b/gnome-session/gsm-systemd.c
@@ -231,7 +231,7 @@ sd_source_new (void)
source = g_source_new (&sd_source_funcs, sizeof (SdSource));
sd_source = (SdSource *)source;
- if ((ret = sd_login_monitor_new (NULL, &sd_source->monitor)) < 0) {
+ if ((ret = sd_login_monitor_new ("session", &sd_source->monitor)) < 0) {
g_warning ("Error getting login monitor: %d", ret);
} else {
sd_source->pollfd.fd = sd_login_monitor_get_fd (sd_source->monitor);
--
cgit v0.12

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Feb 28 01:11:14 UTC 2017 - zaitor@opensuse.org
- Update to version 3.23.91:
+ Fix VT monitor to work with restrictive SELinux policies.
+ Disable extensions in a less destructive way from fail whale.
+ Add support for absolute paths to AutostartCondition.
+ Updated translations.
- Drop gnome-session-Restrict-the-login-monitor.patch: Fixed
upstream.
-------------------------------------------------------------------
Fri Feb 17 03:23:05 UTC 2017 - dimstar@opensuse.org

View File

@ -17,7 +17,7 @@
Name: gnome-session
Version: 3.23.4.1
Version: 3.23.91
Release: 0
Summary: Session Tools for the GNOME Desktop
License: GPL-2.0+
@ -26,8 +26,6 @@ Url: http://www.gnome.org
Source: http://download.gnome.org/sources/gnome-session/3.23/%{name}-%{version}.tar.xz
Source1: gnome
Source2: gnome.desktop
# PATCH-FIX-UPSTREAM gnome-session-Restrict-the-login-monitor.patch zaitor@opensuse.org -- Restrict the login monitor to the "session" category
Patch0: gnome-session-Restrict-the-login-monitor.patch
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: tcpd-devel
@ -107,7 +105,6 @@ functional GNOME desktop.
%prep
%setup -q
%patch0 -p1
%if !0%{?is_opensuse}
translation-update-upstream
%endif