From 60525f45a1b736b09c2627aef60a97832426b8b2 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 17 Apr 2024 22:00:50 -0400 Subject: [PATCH] Move things around a bit in the menus to be more logical Related: RHEL-32792 --- 4.patch | 87 ++++++++++++++++++++++++++++++++++++++++++++++++ gnome-menus.spec | 10 +++++- 2 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 4.patch diff --git a/4.patch b/4.patch new file mode 100644 index 0000000..dd64119 --- /dev/null +++ b/4.patch @@ -0,0 +1,87 @@ +From f18150d68204f2a23f4874e45363df1112fd1620 Mon Sep 17 00:00:00 2001 +From: Ray Strode +Date: Web, 17 Apr 2024 22:58:24 -0400 +Subject: [PATCH] layout: Move menu items around to be more logical + +Fixes: https://gitlab.gnome.org/GNOME/gnome-menus/issues/15 +--- + layout/gnome-applications.menu | 6 +++--- + +diff --git a/layout/gnome-applications.menu b/layout/gnome-applications.menu +index f8d3d48..03855c5 100644 +--- a/layout/gnome-applications.menu ++++ b/layout/gnome-applications.menu +@@ -28,6 +28,7 @@ + System + X-GNOME-Utilities + ++ org.gnome.Tour.desktop + + + + gnome-abrt.desktop + gnome-system-log.desktop +- gnome-system-monitor.desktop +- org.gnome.baobab.desktop + org.gnome.Terminal.desktop +- org.gnome.Usage.desktop + + + +@@ -207,28 +211,31 @@ + + X-GNOME-Utilities + gnome-abrt.desktop ++ gnome-control-center.desktop + gnome-system-log.desktop +- gnome-system-monitor.desktop + gucharmap.desktop + nm-connection-editor.desktop +- org.gnome.baobab.desktop + org.gnome.Calculator.desktop + org.gnome.DejaDup.desktop + org.gnome.Dictionary.desktop +- org.gnome.DiskUtility.desktop + org.gnome.eog.desktop + org.gnome.Evince.desktop ++ org.gnome.Extensions.desktop + org.gnome.FileRoller.desktop + org.gnome.fonts.desktop + org.gnome.Screenshot.desktop + org.gnome.seahorse.Application.desktop + org.gnome.Terminal.desktop + org.gnome.tweaks.desktop +- org.gnome.Usage.desktop + simple-scan.desktop + vinagre.desktop + yelp.desktop + ++ ++ org.gnome.baobab.desktop ++ org.gnome.DiskUtility.desktop ++ org.gnome.Usage.desktop ++ + + + diff --git a/gnome-menus.spec b/gnome-menus.spec index e17ec7f..d9e9c60 100644 --- a/gnome-menus.spec +++ b/gnome-menus.spec @@ -2,7 +2,7 @@ Name: gnome-menus Version: 3.36.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A menu system for the GNOME project License: LGPLv2+ @@ -11,6 +11,9 @@ Source0: https://download.gnome.org/sources/gnome-menus/3.36/%{name}-%{version}. # https://gitlab.gnome.org/GNOME/gnome-menus/merge_requests/14 # Puts eog back to the Utilities submenu Patch0: 14.patch +# https://gitlab.com/redhat/centos-stream/rpms/gnome-menus/-/merge_requests/4 +# Move things around a bit to be more logical +Patch1: 4.patch BuildRequires: gawk BuildRequires: gettext @@ -41,6 +44,7 @@ writing applications that use the GNOME menu system. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %configure --disable-static \ @@ -80,6 +84,10 @@ cp $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus/{gnome-,}applications.menu %{_datadir}/gir-1.0/GMenu-3.0.gir %changelog +* Wed Apr 17 2024 Ray Strode - 3.36.0-9 +- Move things around a bit in the menus to be more logical + Related: RHEL-32792 + * Mon Aug 09 2021 Mohan Boddu - 3.36.0-8 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688