Notification time stamped 2021-11-29 08:31:25 UTC
From f3850497e31e2ebc539cc1bf04706ebdf048b2a5 Mon Sep 17 00:00:00 2001
From: Leigh Scott <leigh123linux(a)gmail.com>
Date: Nov 29 2021 08:31:14 +0000
Subject: Update to 5.2.1 release
---
diff --git a/.gitignore b/.gitignore
index f99bb56..ac25a86 100644
--- a/.gitignore
+++ b/.gitignore
@@ -82,3 +82,4 @@
/cinnamon-5.0.6.tar.gz
/cinnamon-5.0.7.tar.gz
/cinnamon-5.2.0.tar.gz
+/cinnamon-5.2.1.tar.gz
diff --git a/GApplication.patch b/GApplication.patch
deleted file mode 100644
index ae1b323..0000000
--- a/GApplication.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-From a8ce8b457dd254dba6d5155aea0e5b175025e640 Mon Sep 17 00:00:00 2001
-From: Michael Webster <miketwebster(a)gmail.com>
-Date: Fri, 19 Nov 2021 21:33:02 -0500
-Subject: [PATCH] Make cinnamon-settings a GApplication to accomodate webkit.
-
-GApplication is required for xdg-desktop-portal access in the WebKit sandbox.
-
-https://forums.fedoraforum.org/showthread.php?327343-Gnome-Online-Accounts-Unusable-In-F35-Cinnamon-GUI-Consistently-Crashes-Vanishes
----
- .../cinnamon-settings/cinnamon-settings.py | 20 +++++++++++++------
- 1 file changed, 14 insertions(+), 6 deletions(-)
-
-diff --git a/files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py
b/files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py
-index 2af1a2cf8f..a0c4177c04 100755
---- a/files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py
-+++ b/files/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py
-@@ -166,7 +166,7 @@ def touch(fname, times=None):
- os.utime(fname, times)
-
-
--class MainWindow:
-+class MainWindow(Gtk.Application):
- # Change pages
- def side_view_nav(self, side_view, path, cat):
- selected_items = side_view.get_selected_items()
-@@ -260,6 +260,8 @@ def deselect(self, cat):
-
- # Create the UI
- def __init__(self):
-+ Gtk.Application.__init__(self,
-+ flags=Gio.ApplicationFlags.NON_UNIQUE |
Gio.ApplicationFlags.HANDLES_OPEN)
- self.builder = Gtk.Builder()
- self.builder.set_translation_domain('cinnamon') # let it translate!
- self.builder.add_from_file(config.currentPath +
"/cinnamon-settings.ui")
-@@ -297,7 +299,7 @@ def __init__(self):
- self.search_entry.connect("changed", self.onSearchTextChanged)
- self.search_entry.connect("icon-press", self.onClearSearchBox)
-
-- self.window.connect("destroy", self.quit)
-+ self.window.connect("destroy", self._quit)
-
- self.builder.connect_signals(self)
- self.unsortedSidePages = []
-@@ -448,6 +450,13 @@ def __init__(self):
-
- self.window.show()
-
-+ # If there are no arguments, do_active() is called, otherwise do_open().
-+ def do_activate(self):
-+ self.hold()
-+
-+ def do_open(self, files, n_files, hint):
-+ self.hold()
-+
- def on_keypress(self, widget, event):
- grab = False
- device = Gtk.get_current_event_device()
-@@ -715,10 +724,9 @@ def back_to_icon_view(self, widget):
-
- self.current_sidepage = None
-
-- def quit(self, *args):
-+ def _quit(self, *args):
- self.window.destroy()
-- Gtk.main_quit()
--
-+ self.quit()
-
- if __name__ == "__main__":
- setproctitle("cinnamon-settings")
-@@ -733,4 +741,4 @@ def quit(self, *args):
-
- window = MainWindow()
- signal.signal(signal.SIGINT, signal.SIG_DFL)
-- Gtk.main()
-+ window.run(sys.argv)
diff --git a/cinnamon.spec b/cinnamon.spec
index 94d89c3..6520be3 100644
--- a/cinnamon.spec
+++ b/cinnamon.spec
@@ -10,7 +10,7 @@
%global __python %{__python3}
Name: cinnamon
-Version: 5.2.0
+Version: 5.2.1
Release: 1%{?dist}
Summary: Window management and application launching for GNOME
License: GPLv2+ and LGPLv2+
@@ -25,7 +25,6 @@ Patch1: set_wheel.patch
#Patch2: revert_25aef37.patch
Patch3: default_panal_launcher.patch
Patch4: remove_crap_from_menu.patch
-Patch5: %{url}/pull/10475.patch#/GApplication.patch
ExcludeArch: %{ix86}
@@ -272,6 +271,9 @@ EOF
%endif
%changelog
+* Mon Nov 29 2021 Leigh Scott <leigh123linux(a)gmail.com> - 5.2.1-1
+- Update to 5.2.1 release
+
* Sat Nov 20 2021 Leigh Scott <leigh123linux(a)gmail.com> - 5.2.0-1
- Update to 5.2.0 release
diff --git a/sources b/sources
index 858463a..14416b6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cinnamon-5.2.0.tar.gz) =
59f9bfe16d06b87d18eb740cc000adcfed29cff24646501b97abecadbc874c30cdae0f6a31a56b00bb9d4a76d94635e6326cfe7f701f4aef56dc0657fac57445
+SHA512 (cinnamon-5.2.1.tar.gz) =
ee914d23a800302caa7c66f9b8301bffc0b62c2d60689d61fa0c52175a1243d0b15881c392c4d6e834648a0799eff20b4a15c53f2f3170eddff67f55d131621c
https://src.fedoraproject.org/rpms/cinnamon/c/f3850497e31e2ebc539cc1bf047...