Add Pantheon to the list of desktop environments (#1333550, fdo#97385)

* Sat Dec 31 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.23-2
- Add Pantheon to the list of desktop environments (#1333550, fdo#97385)
This commit is contained in:
Kevin Kofler 2016-12-31 16:14:17 +01:00
parent 52e7d4865a
commit f5cf9f2655
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 5b88c95c45e91781aed441c446210c6979350c3f Mon Sep 17 00:00:00 2001
From: David Faure <faure@kde.org>
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

View File

@ -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 <Kevin@tigcc.ticalc.org> - 0.23-2
- Add Pantheon to the list of desktop environments (#1333550, fdo#97385)
* Fri Jul 01 2016 Michael Catanzaro <mcatanzaro@gnome.org> - 0.23-1
- Update to 0.23