forked from pool/desktop-file-utils
Accepting request 710866 from home:qzhao:branches:X11:common:Factory
- Add desktop-file-utils-add-Pantheon.patch: Backporting upstream patch to Add Pantheon to desktop env list(fdo#105785 bnc#1094774). OBS-URL: https://build.opensuse.org/request/show/710866 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/desktop-file-utils?expand=0&rev=68
This commit is contained in:
parent
f456a8525b
commit
2da30b5cf2
14
desktop-file-utils-add-Pantheon.patch
Normal file
14
desktop-file-utils-add-Pantheon.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -Nura desktop-file-utils-0.23/src/validate.c desktop-file-utils-0.23_new/src/validate.c
|
||||
--- desktop-file-utils-0.23/src/validate.c 2016-06-19 01:00:22.000000000 +0800
|
||||
+++ desktop-file-utils-0.23_new/src/validate.c 2019-06-19 17:58:15.104352109 +0800
|
||||
@@ -366,8 +366,9 @@
|
||||
{ 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 {
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 10:05:28 UTC 2019 - Cliff Zhao <qzhao@suse.com>
|
||||
|
||||
- Add desktop-file-utils-add-Pantheon.patch: Backporting upstream
|
||||
patch to Add Pantheon to desktop env list(fdo#105785 bnc#1094774).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 8 09:36:13 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -28,6 +28,8 @@ Source1: suse-update-mime-defaults
|
||||
Source2: macros.desktop-file-utils
|
||||
# PATCH-FEATURE-OPENSUSE desktop-file-utils-suse-keys.patch vuntz@opensuse.org -- Handle SUSE-specific keys in validator. This is not strictly necessary, since they are prefixed with X-, but we can verify that the value has the right type.
|
||||
Patch0: desktop-file-utils-suse-keys.patch
|
||||
# PATCH-FIX-UPSTREAM desktop-file-utils-add-Pantheon.patch fdo#105785 bnc#1094774 qzhao@suse.com -- Backporting upstream patch to Add Pantheon to desktop env list.
|
||||
Patch1: desktop-file-utils-add-Pantheon.patch
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
@ -46,6 +48,7 @@ http://freedesktop.org/wiki/Specifications/desktop-entry-spec
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
|
Loading…
x
Reference in New Issue
Block a user