public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cinnamon-session] f44: Update to 6.6.4
@ 2026-06-18 18:58 Leigh Scott
0 siblings, 0 replies; only message in thread
From: Leigh Scott @ 2026-06-18 18:58 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/cinnamon-session
Branch : f44
Commit : 5756eb9c77c8052ba13ecd859b45a1118ecfd25a
Author : Leigh Scott <leigh123linux@gmail.com>
Date : 2026-06-18T19:58:07+01:00
Stats : +7/-240 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/cinnamon-session/c/5756eb9c77c8052ba13ecd859b45a1118ecfd25a?branch=f44
Log:
Update to 6.6.4
---
diff --git a/Add-graphical-session.patch b/Add-graphical-session.patch
deleted file mode 100644
index 7996a57..0000000
--- a/Add-graphical-session.patch
+++ /dev/null
@@ -1,234 +0,0 @@
-From e01c8c37f6bb5458cc8f38ad73e23d232e7f932a Mon Sep 17 00:00:00 2001
-From: Leigh Scott <leigh123linux@gmail.com>
-Date: Mon, 1 Jun 2026 17:06:51 +0100
-Subject: [PATCH] session: Add graphical-session.target support (#204)
-
-Activate the cross-desktop graphical-session.target and
-graphical-session-pre.target when the Cinnamon session starts, so
-that systemd-managed services which declare WantedBy= or PartOf=
-against those targets are started and stopped in sync with the
-session.
----
- cinnamon-session/csm-manager.c | 3 ++
- cinnamon-session/csm-util.c | 66 +++++++++++++++++++++++
- cinnamon-session/csm-util.h | 7 +++
- data/meson.build | 3 ++
- data/systemd/user/cinnamon-session.target | 14 +++++
- data/systemd/user/meson.build | 8 +++
- debian/cinnamon-session.install | 1 +
- meson.build | 17 ++++++
- meson_options.txt | 2 +
- 9 files changed, 121 insertions(+)
- create mode 100644 data/systemd/user/cinnamon-session.target
- create mode 100644 data/systemd/user/meson.build
-
-diff --git a/cinnamon-session/csm-manager.c b/cinnamon-session/csm-manager.c
-index 9d7e8d1..6b7fc29 100644
---- a/cinnamon-session/csm-manager.c
-+++ b/cinnamon-session/csm-manager.c
-@@ -873,6 +873,8 @@ do_phase_end_session (CsmManager *manager)
-
- close_end_session_dialog (manager);
-
-+ csm_util_stop_systemd_unit ("cinnamon-session.target", "replace", NULL);
-+
- if (manager->priv->logout_mode == CSM_MANAGER_LOGOUT_MODE_FORCE) {
- data.flags |= CSM_CLIENT_END_SESSION_FLAG_FORCEFUL;
- }
-@@ -1523,6 +1525,7 @@ start_phase (CsmManager *manager)
- csm_xsmp_server_start_accepting_new_clients (manager->priv->xsmp_server);
- csm_exported_manager_emit_session_running (manager->priv->skeleton);
- update_idle (manager);
-+ csm_util_start_systemd_unit ("cinnamon-session.target", "replace", NULL);
- break;
- case CSM_MANAGER_PHASE_QUERY_END_SESSION:
- csm_xsmp_server_stop_accepting_new_clients (manager->priv->xsmp_server);
-diff --git a/cinnamon-session/csm-util.c b/cinnamon-session/csm-util.c
-index 676b63a..76dd6c6 100644
---- a/cinnamon-session/csm-util.c
-+++ b/cinnamon-session/csm-util.c
-@@ -763,6 +763,72 @@ csm_util_update_user_environment (const char *variable,
- return environment_updated;
- }
-
-+gboolean
-+csm_util_start_systemd_unit (const char *unit,
-+ const char *mode,
-+ GError **error)
-+{
-+ g_autoptr(GDBusConnection) connection = NULL;
-+ g_autoptr(GVariant) reply = NULL;
-+ GError *bus_error = NULL;
-+
-+ connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, error);
-+
-+ if (connection == NULL)
-+ return FALSE;
-+
-+ reply = g_dbus_connection_call_sync (connection,
-+ "org.freedesktop.systemd1",
-+ "/org/freedesktop/systemd1",
-+ "org.freedesktop.systemd1.Manager",
-+ "StartUnit",
-+ g_variant_new ("(ss)",
-+ unit, mode),
-+ NULL,
-+ G_DBUS_CALL_FLAGS_NONE,
-+ -1, NULL, &bus_error);
-+
-+ if (bus_error != NULL) {
-+ g_propagate_error (error, bus_error);
-+ return FALSE;
-+ }
-+
-+ return TRUE;
-+}
-+
-+gboolean
-+csm_util_stop_systemd_unit (const char *unit,
-+ const char *mode,
-+ GError **error)
-+{
-+ g_autoptr(GDBusConnection) connection = NULL;
-+ g_autoptr(GVariant) reply = NULL;
-+ GError *bus_error = NULL;
-+
-+ connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, error);
-+
-+ if (connection == NULL)
-+ return FALSE;
-+
-+ reply = g_dbus_connection_call_sync (connection,
-+ "org.freedesktop.systemd1",
-+ "/org/freedesktop/systemd1",
-+ "org.freedesktop.systemd1.Manager",
-+ "StopUnit",
-+ g_variant_new ("(ss)",
-+ unit, mode),
-+ NULL,
-+ G_DBUS_CALL_FLAGS_NONE,
-+ -1, NULL, &bus_error);
-+
-+ if (bus_error != NULL) {
-+ g_propagate_error (error, bus_error);
-+ return FALSE;
-+ }
-+
-+ return TRUE;
-+}
-+
- void
- csm_util_setenv (const char *variable,
- const char *value)
-diff --git a/cinnamon-session/csm-util.h b/cinnamon-session/csm-util.h
-index 4d93c10..601df2e 100644
---- a/cinnamon-session/csm-util.h
-+++ b/cinnamon-session/csm-util.h
-@@ -58,6 +58,13 @@ gboolean csm_util_export_user_environment (GError **error);
- void csm_util_setenv (const char *variable,
- const char *value);
-
-+gboolean csm_util_start_systemd_unit (const char *unit,
-+ const char *mode,
-+ GError **error);
-+gboolean csm_util_stop_systemd_unit (const char *unit,
-+ const char *mode,
-+ GError **error);
-+
- // main.c, exit mainloop
- void csm_quit (void);
-
-diff --git a/data/meson.build b/data/meson.build
-index b158e66..8a6c35b 100644
---- a/data/meson.build
-+++ b/data/meson.build
-@@ -20,3 +20,6 @@ install_data(
-
- # Re-compile gsettings
- meson.add_install_script('meson_install_schemas.py')
-+
-+subdir('systemd/user')
-+
-diff --git a/data/systemd/user/cinnamon-session.target b/data/systemd/user/cinnamon-session.target
-new file mode 100644
-index 0000000..33e9e45
---- /dev/null
-+++ b/data/systemd/user/cinnamon-session.target
-@@ -0,0 +1,14 @@
-+[Unit]
-+Description=Cinnamon graphical session
-+Documentation=man:systemd.special(7)
-+
-+Wants=graphical-session.target
-+Before=graphical-session.target
-+
-+Wants=graphical-session-pre.target
-+After=graphical-session-pre.target
-+
-+PropagatesStopTo=graphical-session.target
-+PropagatesStopTo=graphical-session-pre.target
-+
-+CollectMode=inactive-or-failed
-diff --git a/data/systemd/user/meson.build b/data/systemd/user/meson.build
-new file mode 100644
-index 0000000..15834e4
---- /dev/null
-+++ b/data/systemd/user/meson.build
-@@ -0,0 +1,8 @@
-+if enable_systemd
-+install_data(
-+ [
-+ 'cinnamon-session.target',
-+ ],
-+ install_dir: systemduserunitdir,
-+)
-+endif
-diff --git a/debian/cinnamon-session.install b/debian/cinnamon-session.install
-index f9afa88..fdaef25 100644
---- a/debian/cinnamon-session.install
-+++ b/debian/cinnamon-session.install
-@@ -1,5 +1,6 @@
- usr/bin/cinnamon-session*
- usr/lib/*/cinnamon-session*
-+usr/lib/systemd/user/cinnamon-session.target
- usr/share/cinnamon-session
- usr/share/glib-2.0/schemas/org.cinnamon.SessionManager.gschema.xml
- usr/share/man/*/cinnamon-session*
-diff --git a/meson.build b/meson.build
-index a1ee4b3..aea9ac1 100644
---- a/meson.build
-+++ b/meson.build
-@@ -58,6 +58,23 @@ else
- endif
- conf.set('HAVE_LOGIND', logind.found())
-
-+systemd_opt = get_option('systemd')
-+systemd_dep = dependency('libsystemd', required: systemd_opt.enabled())
-+if systemd_dep.found()
-+ systemduserunitdir = systemd_dep.get_variable(
-+ pkgconfig: 'systemduserunitdir',
-+ default_value: join_paths(get_option('prefix'), 'lib', 'systemd', 'user')
-+ )
-+ enable_systemd = true
-+else
-+ enable_systemd = systemd_dep.found() and not systemd_opt.disabled()
-+ systemduserunitdir = join_paths(get_option('prefix'), 'lib', 'systemd', 'user')
-+endif
-+
-+message('Systemd integration: ' + (enable_systemd ? 'enabled' : 'disabled'))
-+message('Systemd user unit dir: ' + systemduserunitdir)
-+
-+
- if gio_unix.found() and libelogind.found()
- elogind = declare_dependency(dependencies: [ gio_unix, libelogind ])
- else
-diff --git a/meson_options.txt b/meson_options.txt
-index 4066751..410e872 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -1,3 +1,5 @@
- option('frequent_warnings', type: 'boolean', value: false)
- option('ipv6', type: 'boolean', value: true)
- option('xtrans', type: 'boolean', value: true)
-+option('systemd', type: 'feature', value: 'auto')
-+
diff --git a/cinnamon-session.spec b/cinnamon-session.spec
index 14ae7aa..4432680 100644
--- a/cinnamon-session.spec
+++ b/cinnamon-session.spec
@@ -2,13 +2,11 @@
Summary: Cinnamon session manager
Name: cinnamon-session
-Version: 6.6.3
-Release: 3%{?dist}
-# Automatically converted from old format: GPLv2+ and LGPLv2+ - review is highly recommended.
-License: GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
+Version: 6.6.4
+Release: 1%{?dist}
+License: GPL-2.0-or-later AND LGPL-2.0-or-later
URL: https://github.com/linuxmint/%{name}
Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz
-Patch0: %url/commit/e01c8c37f6bb5458cc8f38ad73e23d232e7f932a.patch#/Add-graphical-session.patch
ExcludeArch: %{ix86}
@@ -78,6 +76,9 @@ the other core components and handles logout and saving the session.
%{_userunitdir}/*.target
%changelog
+* Thu Jun 18 2026 Leigh Scott <leigh123linux@gmail.com> - 6.6.4-1
+- Update to 6.6.4
+
* Tue Jun 16 2026 Leigh Scott <leigh123linux@gmail.com> - 6.6.3-3
- Use commit for patch
diff --git a/sources b/sources
index 0f2081e..5bb6d19 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cinnamon-session-6.6.3.tar.gz) = 3b6a89a405ee00adc7a8a62c447d1f92d9fb917b3b1801b3dc34d871e736da787f1b3359b8dc2ef42f097326e78fa364bfd1055cc8a49cc43a4252fa8ce5950b
+SHA512 (cinnamon-session-6.6.4.tar.gz) = 3c9d931ccd7084293025cafb792d76b34c08c19105510cde377e297cdca1ab83f84bcb2ec775357ba802cff2e6b9060a6e7f7d67dd3a0cb6e4272a729b3f407a
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-18 18:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 18:58 [rpms/cinnamon-session] f44: Update to 6.6.4 Leigh Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox