Dirk Mueller
9236ebbc8c
- Add patches to avoid bogus errors in post-build checks: * 0001-validate-support-SingleMainWindow-key-from-1.5.patch * 0002-validate-Support-version-1.5.patch * desktop-file-utils-suse-keys.patch - Update desktop-file-utils source to 0.26: * Support for Autotools removed in the next release. * update-desktop-database + Fix erroneous installation as "desktop-file-update" when using the Meson build system - Update to version 0.25: * common + Add Meson build system * desktop-file-validate + Allow desktop file spec version 1.4. + Make it possible to deprecate keys starting with "X-". + Add the "Implements" field from spec version 1.2. + Add the "PrefersNonDefaultGPU" key and deprecate "X-KDE-RunOnDiscreteGpu". + Set locale for correct output message encoding. + Add coloured output support. + Fix parsing of escaped double quote in quoted strings. + Add GNOME Flashback, GNOME Classic desktops. OBS-URL: https://build.opensuse.org/request/show/1088515 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint-mini?expand=0&rev=175
28 lines
827 B
Diff
28 lines
827 B
Diff
From 47ab968995ae864d3681833040e17b8f1af4cb38 Mon Sep 17 00:00:00 2001
|
|
From: David King <amigadave@amigadave.com>
|
|
Date: Tue, 15 Feb 2022 10:54:40 +0000
|
|
Subject: [PATCH] validate: support SingleMainWindow key from 1.5
|
|
|
|
Fixes https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/issues/59
|
|
---
|
|
src/validate.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/src/validate.c b/src/validate.c
|
|
index 821be7d..10d1872 100644
|
|
--- a/src/validate.c
|
|
+++ b/src/validate.c
|
|
@@ -329,6 +329,9 @@ static DesktopKeyDefinition registered_desktop_keys[] = {
|
|
/* SuSE specific */
|
|
{ DESKTOP_BOOLEAN_TYPE, "X-SuSE-translate", FALSE, FALSE, FALSE, NULL },
|
|
|
|
+ /* Since 1.5 */
|
|
+ { DESKTOP_BOOLEAN_TYPE, "SingleMainWindow", FALSE, FALSE, FALSE, NULL },
|
|
+
|
|
/* Keys reserved for KDE */
|
|
|
|
/* since 0.9.4 */
|
|
--
|
|
2.36.1
|
|
|