diff --git a/_service b/_service
new file mode 100644
index 0000000..e293b8f
--- /dev/null
+++ b/_service
@@ -0,0 +1,19 @@
+
+
+
+ git
+ https://gitlab.gnome.org/GNOME/gnome-session.git
+ refs/tags/45.0
+ @PARENT_TAG@+@TAG_OFFSET@
+ (.*)\+0
+ \1
+
+
+
+
+ *.tar
+ zst
+
+
+
+
diff --git a/gnome-session-44.0.tar.xz b/gnome-session-44.0.tar.xz
deleted file mode 100644
index c81189d..0000000
--- a/gnome-session-44.0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ccf829a96526135e9e9f917526515d36a5092bdfa316f3737dd8c5a524dbf2c6
-size 485372
diff --git a/gnome-session-45.0.obscpio b/gnome-session-45.0.obscpio
new file mode 100644
index 0000000..78513d7
--- /dev/null
+++ b/gnome-session-45.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1175c86488a92d5c1143e8f2b445fbf449d7e99c58386593681dbc12c1e1d8bf
+size 3649548
diff --git a/gnome-session.changes b/gnome-session.changes
index 5bdbaa2..0b571c5 100644
--- a/gnome-session.changes
+++ b/gnome-session.changes
@@ -1,3 +1,43 @@
+-------------------------------------------------------------------
+Tue Nov 28 12:01:16 UTC 2023 - Dominique Leuenberger
+
+- Use %patch -p N instead of deprecated %patchN.
+
+-------------------------------------------------------------------
+Sun Sep 17 12:05:59 UTC 2023 - Bjørn Lie
+
+- 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
+
+- Add gnome-session-Fix-inhibit-DBus.patch: gsm-manager: Fix
+ Inhibit DBus method handler (glgo#gnome-session!97).
+
+-------------------------------------------------------------------
+Mon Sep 11 17:41:17 UTC 2023 - bjorn.lie@gmail.com
+
+- Update to version 44.0+10:
+ + gnome-session: Bind more LC_* variables to REGION
+ + gsm-system: make return_false actually return FALSE
+ + 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
+
+- Drop pkgconfig(dbus-glib-1) BuildRequires: Only needed when
+ building with consolekit support, and we do not do that anymore.
+- Replace dbus-1-x11 with explicit /usr/bin/dbus-launch Requires,
+ as that is what is really needed.
+
-------------------------------------------------------------------
Mon Mar 20 16:14:17 UTC 2023 - Bjørn Lie
@@ -25,6 +65,15 @@ Tue Sep 20 17:57:29 UTC 2022 - Bjørn Lie
+ Build system improvements.
+ GError clean up fix.
+ Updated translations.
+ + Drop gnome-session-clear-error-when-running-under-GDM.patch:
+ Fixed upstream.
+
+-------------------------------------------------------------------
+Tue Sep 8 01:26:13 UTC 2022 - Xiaoguang Wang
+
+- Add gnome-session-clear-error-when-running-under-GDM.patch:
+ Also clear error when running under GDM
+ (bsc#1204867 glgo!GNOME/gnome-session!83).
-------------------------------------------------------------------
Wed Mar 23 09:56:57 UTC 2022 - Bjørn Lie
diff --git a/gnome-session.obsinfo b/gnome-session.obsinfo
new file mode 100644
index 0000000..fe3e6a6
--- /dev/null
+++ b/gnome-session.obsinfo
@@ -0,0 +1,4 @@
+name: gnome-session
+version: 45.0
+mtime: 1694951611
+commit: 998ed1d8ee2ff5396583c284230648625b4103e5
diff --git a/gnome-session.spec b/gnome-session.spec
index 69a48cc..4998559 100644
--- a/gnome-session.spec
+++ b/gnome-session.spec
@@ -16,16 +16,17 @@
#
-%define basever 44
+%define basever 45
Name: gnome-session
-Version: 44.0
+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: https://download.gnome.org/sources/gnome-session/44/%%{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
@@ -38,7 +39,6 @@ BuildRequires: fdupes
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: xsltproc
-BuildRequires: pkgconfig(dbus-glib-1) >= 0.76
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(epoxy)
BuildRequires: pkgconfig(gio-2.0) >= 2.46.0
@@ -91,7 +91,7 @@ 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: /usr/bin/dbus-launch
Requires: gsettings-desktop-schemas >= 0.1.7
Requires: hicolor-icon-theme
@@ -104,9 +104,9 @@ functional GNOME desktop.
%prep
%setup -q
-%patch0 -p1
+%patch -P 0 -p1
%ifarch s390 s390x
-%patch2 -p1
+%patch -P 2 -p1
%endif
%build
@@ -189,6 +189,8 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
%{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
%dir %{_datadir}/gnome-session
%dir %{_datadir}/gnome-session/sessions
+%dir %{_datadir}/xdg-desktop-portal
+%{_datadir}/xdg-desktop-portal/gnome-portals.conf
%{_mandir}/man1/gnome-session.1%{?ext_man}
%{_mandir}/man1/gnome-session-inhibit.1%{?ext_man}
%{_mandir}/man1/gnome-session-quit.1%{?ext_man}