Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cinnamon-session for 
openSUSE:Factory checked in at 2021-06-04 22:43:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cinnamon-session (Old)
 and      /work/SRC/openSUSE:Factory/.cinnamon-session.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cinnamon-session"

Fri Jun  4 22:43:25 2021 rev:23 rq:897286 version:5.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/cinnamon-session/cinnamon-session.changes        
2020-12-13 17:30:46.592412634 +0100
+++ 
/work/SRC/openSUSE:Factory/.cinnamon-session.new.1898/cinnamon-session.changes  
    2021-06-04 22:43:38.147134074 +0200
@@ -1,0 +2,9 @@
+Thu May 27 20:09:17 UTC 2021 - andy great <[email protected]>
+
+- Update to version 5.0.0.
+  * Accept Desktop Entry Specification v1.4
+  * util: Blacklist some session-specific variables
+  * util: Blacklist NOTIFY_SOCKET
+  * Fix libexec path for cinnamon-session-check-accelerated-helper
+
+-------------------------------------------------------------------

Old:
----
  cinnamon-session-4.8.0.tar.gz

New:
----
  cinnamon-session-5.0.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cinnamon-session.spec ++++++
--- /var/tmp/diff_new_pack.gGBToR/_old  2021-06-04 22:43:38.675134656 +0200
+++ /var/tmp/diff_new_pack.gGBToR/_new  2021-06-04 22:43:38.679134661 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cinnamon-session
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           cinnamon-session
-Version:        4.8.0
+Version:        5.0.0
 Release:        0
 Summary:        The session manager for the Cinnamon Desktop
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later

++++++ cinnamon-session-4.8.0.tar.gz -> cinnamon-session-5.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cinnamon-session-4.8.0/cinnamon-session/csm-util.c 
new/cinnamon-session-5.0.0/cinnamon-session/csm-util.c
--- old/cinnamon-session-4.8.0/cinnamon-session/csm-util.c      2020-11-25 
15:20:12.000000000 +0100
+++ new/cinnamon-session-5.0.0/cinnamon-session/csm-util.c      2021-05-27 
16:35:34.000000000 +0200
@@ -36,6 +36,14 @@
 
 static gchar *_saved_session_dir = NULL;
 
+static const char * const variable_blacklist[] = {
+    "NOTIFY_SOCKET",
+    "XDG_SEAT",
+    "XDG_SESSION_ID",
+    "XDG_VTNR",
+    NULL
+};
+
 char *
 csm_util_find_desktop_file_for_app_name (const char *name,
                                          gboolean    look_in_saved_session,
@@ -577,6 +585,9 @@
                 const char *entry_name = entry_names[i];
                 const char *entry_value = g_getenv (entry_name);
 
+                if (g_strv_contains (variable_blacklist, entry_name))
+                    continue;
+
                 if (!g_utf8_validate (entry_name, -1, NULL))
                     continue;
 
@@ -643,8 +654,13 @@
                 return FALSE;
         }
 
+        entries = g_get_environ ();
+
+        for (; variable_blacklist[i] != NULL; i++)
+                entries = g_environ_unsetenv (entries, variable_blacklist[i]);
+
         g_variant_builder_init (&builder, G_VARIANT_TYPE ("as"));
-        for (entries = g_get_environ (); entries[i] != NULL; i++) {
+        for (i = 0; entries[i] != NULL; i++) {
                 const char *entry = entries[i];
 
                 if (!g_utf8_validate (entry, -1, NULL))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cinnamon-session-4.8.0/debian/changelog 
new/cinnamon-session-5.0.0/debian/changelog
--- old/cinnamon-session-4.8.0/debian/changelog 2020-11-25 15:20:12.000000000 
+0100
+++ new/cinnamon-session-5.0.0/debian/changelog 2021-05-27 16:35:34.000000000 
+0200
@@ -1,3 +1,13 @@
+cinnamon-session (5.0.0) uma; urgency=medium
+
+  [ Leigh Scott ]
+  * Accept Desktop Entry Specification v1.4
+  * util: Blacklist some session-specific variables
+  * util: Blacklist NOTIFY_SOCKET
+  * Fix libexec path for cinnamon-session-check-accelerated-helper
+
+ -- Clement Lefebvre <[email protected]>  Thu, 27 May 2021 15:35:11 +0100
+
 cinnamon-session (4.8.0) ulyssa; urgency=medium
 
   [ miniskipper ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cinnamon-session-4.8.0/egg/eggdesktopfile.c 
new/cinnamon-session-5.0.0/egg/eggdesktopfile.c
--- old/cinnamon-session-4.8.0/egg/eggdesktopfile.c     2020-11-25 
15:20:12.000000000 +0100
+++ new/cinnamon-session-5.0.0/egg/eggdesktopfile.c     2021-05-27 
16:35:34.000000000 +0200
@@ -181,7 +181,7 @@
          g_warning ("Invalid Version string '%s' in %s",
                     version, source ? source : "(unknown)");
        }
-      else if (version_num > 1.0)
+      else if (version_num > 1.4)
        {
          g_set_error (error, EGG_DESKTOP_FILE_ERROR,
                       EGG_DESKTOP_FILE_ERROR_INVALID,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cinnamon-session-4.8.0/meson.build 
new/cinnamon-session-5.0.0/meson.build
--- old/cinnamon-session-4.8.0/meson.build      2020-11-25 15:20:12.000000000 
+0100
+++ new/cinnamon-session-5.0.0/meson.build      2021-05-27 16:35:34.000000000 
+0200
@@ -1,7 +1,7 @@
 # https://github.com/linuxmint/cinnamon-session
 project('cinnamon-session',
   [ 'c', ],
-  version: '4.8.0',
+  version: '5.0.0',
   meson_version: '>=0.37.0',
 )
 
@@ -137,7 +137,7 @@
 rootInclude = include_directories('.')
 
 conf.set_quoted('PKGDATADIR',         join_paths(get_option('prefix'), 
get_option('datadir'), meson.project_name()))
-conf.set_quoted('LIBEXECDIR',         get_option('libexecdir'))
+conf.set_quoted('LIBEXECDIR',         join_paths(get_option('prefix'), 
get_option('libexecdir')))
 conf.set_quoted('LOCALE_DIR',         join_paths(get_option('prefix'), 
get_option('localedir')))
 
 conf.set_quoted('PACKAGE', meson.project_name())

Reply via email to