Accepting request 1111761 from GNOME:Next

New stable release

OBS-URL: https://build.opensuse.org/request/show/1111761
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=348
This commit is contained in:
Bjørn Lie 2023-09-18 06:36:48 +00:00 committed by Git OBS Bridge
parent 05dc087741
commit 8354f74e70
8 changed files with 23 additions and 57 deletions

View File

@ -3,16 +3,16 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/gnome-session.git</param>
<param name="revision">6e76dc3761caac4b1b211c33538d86457aaa5687</param>
<param name="revision">refs/tags/45.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

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">6e76dc3761caac4b1b211c33538d86457aaa5687</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0898ec5be59e7e02e87c8fe2231526165f92f86eaff78c07681dbc55a8b2a8fa
size 3646476

BIN
gnome-session-45.0.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,38 +0,0 @@
From c403cf95aabc408e2a7e987761f9dacd71c32067 Mon Sep 17 00:00:00 2001
From: Erik Inkinen <erik.inkinen@erikinkinen.fi>
Date: Tue, 12 Sep 2023 17:25:01 +0300
Subject: [PATCH] gsm-manager: Fix Inhibit DBus method handler
In case of an error, the DBus method handler should still return TRUE
to signify that this was the correct handler.
For an error in handling there request,
using g_dbus_method_invocation_take_error is sufficient.
---
gnome-session/gsm-manager.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 05e0d8d5..a19b7f52 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -3154,7 +3154,7 @@ gsm_manager_inhibit (GsmExportedManager *skeleton,
"Reason not specified");
g_debug ("GsmManager: Unable to inhibit: %s", new_error->message);
g_dbus_method_invocation_take_error (invocation, new_error);
- return FALSE;
+ return TRUE;
}
if (flags == 0) {
@@ -3165,7 +3165,7 @@ gsm_manager_inhibit (GsmExportedManager *skeleton,
"Invalid inhibit flags");
g_debug ("GsmManager: Unable to inhibit: %s", new_error->message);
g_dbus_method_invocation_take_error (invocation, new_error);
- return FALSE;
+ return TRUE;
}
cookie = _generate_unique_cookie (manager);
--
GitLab

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Sep 17 12:05:59 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 45.0:
+ Two crashers fixes.
+ Fix inverted boolean in the "null" system backend.
+ Updated translations.
- Drop gnome-session-Fix-inhibit-DBus.patch: Fixed upstream.
- Bump basever define to 45 following upstream changes.
-------------------------------------------------------------------
Thu Sep 14 07:27:33 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
@ -13,6 +23,7 @@ Mon Sep 11 17:41:17 UTC 2023 - bjorn.lie@gmail.com
+ data: Add gnome-portals.conf
+ DOAP: Fix 'bug-database' value to point to GNOME GitLab Issues
+ Updated translations.
- Switch compression to zst, both in service and tarball produced.
-------------------------------------------------------------------
Thu May 4 11:11:22 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,4 +1,4 @@
name: gnome-session
version: 44.0+10
mtime: 1694028136
commit: 6e76dc3761caac4b1b211c33538d86457aaa5687
version: 45.0
mtime: 1694951611
commit: 998ed1d8ee2ff5396583c284230648625b4103e5

View File

@ -16,25 +16,23 @@
#
%define basever 44
%define basever 45
Name: gnome-session
Version: 44.0+10
Version: 45.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
#Source0: https://download.gnome.org/sources/gnome-session/44/%%{name}-%%{version}.tar.xz
Source0: %{name}-%{version}.tar.xz
Source0: %{name}-%{version}.tar.zst
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-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-Fix-inhibit-DBus.patch -- glgo#gnome-session!97 gsm-manager: Fix Inhibit DBus method handler
Patch3: gnome-session-Fix-inhibit-DBus.patch
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
@ -110,7 +108,6 @@ functional GNOME desktop.
%ifarch s390 s390x
%patch2 -p1
%endif
%patch3 -p1
%build
%meson \