diff --git a/ba29a2ffb1cd85ea323a7aa44fbf86fd804c2532.patch b/ba29a2ffb1cd85ea323a7aa44fbf86fd804c2532.patch new file mode 100644 index 0000000..6ffa411 --- /dev/null +++ b/ba29a2ffb1cd85ea323a7aa44fbf86fd804c2532.patch @@ -0,0 +1,28 @@ +From ba29a2ffb1cd85ea323a7aa44fbf86fd804c2532 Mon Sep 17 00:00:00 2001 +From: Michael Webster +Date: Tue, 3 Oct 2023 10:30:22 -0400 +Subject: [PATCH] nemo-pathbar.c: Remove unnecessary g_object_unref. + +This was flagged as a leak in cd2330018 - maybe a false positive +caused by an unclean process termination + +The root path will never change, so it's not necessary to free it +other than when the pathbar is destroyed. + +ref: https://bugzilla.redhat.com/show_bug.cgi?id=2193021 +--- + src/nemo-pathbar.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/nemo-pathbar.c b/src/nemo-pathbar.c +index 08fef07c4..e2acbcbb5 100644 +--- a/src/nemo-pathbar.c ++++ b/src/nemo-pathbar.c +@@ -221,7 +221,6 @@ desktop_location_changed_callback (gpointer user_data) + + g_object_unref (path_bar->priv->desktop_path); + g_object_unref (path_bar->priv->home_path); +- g_object_unref (path_bar->priv->root_path); + path_bar->priv->desktop_path = nemo_get_desktop_location (); + path_bar->priv->home_path = g_file_new_for_path (g_get_home_dir ()); + desktop_is_home = g_file_equal (path_bar->priv->home_path, path_bar->priv->desktop_path); diff --git a/nemo.spec b/nemo.spec index 3a317bd..b8d27f7 100644 --- a/nemo.spec +++ b/nemo.spec @@ -1,13 +1,14 @@ Name: nemo Summary: File manager for Cinnamon Version: 5.8.5 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ and LGPLv2+ URL: https://github.com/linuxmint/%{name} Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz Source1: nemo-fedora.gschema.override Patch0: remove_desktop_search.patch Patch1: Don-t-scale-text-size-when-zooming.patch +Patch2: %url/commit/ba29a2ffb1cd85ea323a7aa44fbf86fd804c2532.patch ExcludeArch: %{ix86} @@ -19,6 +20,7 @@ Requires: xapps%{?_isa} >= 2.2.0 Requires: adwaita-icon-theme Requires: cinnamon-translations >= 5.8.0 Recommends: nemo-search-helpers +Recommends: folder-color-switcher-nemo BuildRequires: meson BuildRequires: intltool @@ -153,6 +155,9 @@ rm %{buildroot}%{_datadir}/nemo/search-helpers/pdf2txt.nemo_search_helper %{_datadir}/gir-1.0/*.gir %changelog +* Fri Nov 03 2023 Leigh Scott - 5.8.5-3 +- Add recommends folder-color-switcher-nemo + * Sat Sep 23 2023 Leigh Scott - 5.8.5-2 - Show nemo app in other DE's