diff --git a/desktop-file-utils-0.23-add-pantheon.patch b/desktop-file-utils-0.23-add-pantheon.patch new file mode 100644 index 0000000..c420402 --- /dev/null +++ b/desktop-file-utils-0.23-add-pantheon.patch @@ -0,0 +1,25 @@ +From 5b88c95c45e91781aed441c446210c6979350c3f Mon Sep 17 00:00:00 2001 +From: David Faure +Date: Sat, 20 Aug 2016 10:36:57 +0200 +Subject: Added Pantheon to the list of desktop environments + +https://bugs.freedesktop.org/show_bug.cgi?id=97385 + +diff --git a/src/validate.c b/src/validate.c +index bd31fd5..d414a53 100644 +--- a/src/validate.c ++++ b/src/validate.c +@@ -366,8 +366,9 @@ static DesktopKeyDefinition registered_action_keys[] = { + { DESKTOP_STRING_TYPE, "Exec", TRUE, FALSE, FALSE, handle_exec_key } + }; + ++/* This should be the same list as in xdg-specs/menu/menu-spec.xml */ + static const char *show_in_registered[] = { +- "GNOME", "KDE", "LXDE", "LXQt", "MATE", "Razor", "ROX", "TDE", "Unity", "XFCE", "Cinnamon", "EDE", "Old" ++ "GNOME", "KDE", "LXDE", "LXQt", "MATE", "Razor", "ROX", "TDE", "Unity", "XFCE", "EDE", "Cinnamon", "Pantheon", "Old" + }; + + static struct { +-- +cgit v0.10.2 + diff --git a/desktop-file-utils.spec b/desktop-file-utils.spec index 87e8bad..baf8fb3 100644 --- a/desktop-file-utils.spec +++ b/desktop-file-utils.spec @@ -4,10 +4,14 @@ Summary: Utilities for manipulating .desktop files Name: desktop-file-utils Version: 0.23 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://www.freedesktop.org/software/desktop-file-utils Source0: https://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz Source1: desktop-entry-mode-init.el +# Add Pantheon to the list of desktop environments (#1333550, fdo#97385) +# upstream patch by David Faure +# https://cgit.freedesktop.org/xdg/desktop-file-utils/commit/?id=5b88c95c45e91781aed441c446210c6979350c3f +Patch0: desktop-file-utils-0.23-add-pantheon.patch License: GPLv2+ Group: Development/Tools @@ -30,6 +34,7 @@ fixing it up in the process. %prep %setup -q +%patch0 -p1 -b .add-pantheon %build %configure @@ -61,6 +66,9 @@ update-desktop-database %{_emacs_sitelispdir}/%{pkg} %changelog +* Sat Dec 31 2016 Kevin Kofler - 0.23-2 +- Add Pantheon to the list of desktop environments (#1333550, fdo#97385) + * Fri Jul 01 2016 Michael Catanzaro - 0.23-1 - Update to 0.23