From 575ee2e491c96a4392d6ad3d3437c0686acaca3d Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Tue, 29 Sep 2015 18:40:17 -0500 Subject: [PATCH] Add X-GNOME-Utilities desktop category --- desktop-category.patch | 23 +++++++++++++++++++++++ gnome-disk-utility.spec | 8 +++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 desktop-category.patch diff --git a/desktop-category.patch b/desktop-category.patch new file mode 100644 index 0000000..13cd761 --- /dev/null +++ b/desktop-category.patch @@ -0,0 +1,23 @@ +From 8fb874cf40cf4c164d35f575ed7089bc6ad30ca2 Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro +Date: Wed, 23 Sep 2015 10:22:14 -0500 +Subject: Put Disks in the Utilities folder + +This broke when we renamed the desktop file. + +https://lists.fedoraproject.org/pipermail/desktop/2015-September/012912.html + +diff --git a/data/org.gnome.DiskUtility.desktop.in b/data/org.gnome.DiskUtility.desktop.in +index 8e1ebbb..7416752 100644 +--- a/data/org.gnome.DiskUtility.desktop.in ++++ b/data/org.gnome.DiskUtility.desktop.in +@@ -7,5 +7,5 @@ Icon=gnome-disks + Terminal=false + Type=Application + StartupNotify=true +-Categories=GNOME;GTK;Utility;HardwareSettings; ++Categories=GNOME;GTK;Utility;HardwareSettings;X-GNOME-Utilities; + DBusActivatable=true +-- +cgit v0.10.2 + diff --git a/gnome-disk-utility.spec b/gnome-disk-utility.spec index 5afccb3..0ed4523 100644 --- a/gnome-disk-utility.spec +++ b/gnome-disk-utility.spec @@ -5,7 +5,7 @@ Name: gnome-disk-utility Version: 3.18.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Disks Group: Applications/System @@ -13,6 +13,9 @@ License: GPLv2+ URL: https://git.gnome.org/browse/gnome-disk-utility Source0: https://download.gnome.org/sources/%{name}/3.18/%{name}-%{version}.tar.xz +# https://lists.fedoraproject.org/pipermail/desktop/2015-September/012912.html +Patch0: desktop-category.patch + BuildRequires: /usr/bin/appstream-util BuildRequires: desktop-file-utils BuildRequires: docbook-style-xsl @@ -109,6 +112,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Tue Sep 29 2015 Michael Catanzaro - 3.18.0-2 +- Add X-GNOME-Utilities desktop category + * Mon Sep 21 2015 Kalev Lember - 3.18.0-1 - Update to 3.18.0