From fde022b5097c16eb1344bb229ca1a4e472540453 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 26 Oct 2006 14:05:54 +0000 Subject: [PATCH] - make desktop file validation non-fatal until we add support for categories beginning with X- and clean up our menu system to not require invalid categories (bug 212048) --- ...tils-0.11-make-category-validation-non-fatal.patch | 11 +++++++++++ desktop-file-utils.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 desktop-file-utils-0.11-make-category-validation-non-fatal.patch diff --git a/desktop-file-utils-0.11-make-category-validation-non-fatal.patch b/desktop-file-utils-0.11-make-category-validation-non-fatal.patch new file mode 100644 index 0000000..e3b58f1 --- /dev/null +++ b/desktop-file-utils-0.11-make-category-validation-non-fatal.patch @@ -0,0 +1,11 @@ +--- desktop-file-utils-0.11/src/validate.c.make-category-validation-non-fatal 2006-10-26 10:07:30.000000000 -0400 ++++ desktop-file-utils-0.11/src/validate.c 2006-10-26 10:07:37.000000000 -0400 +@@ -285,7 +285,7 @@ + char *valid_onlyshowins; + + valid_onlyshowins = g_strjoinv ("\", \"", (gchar **) onlyshowin_keys); +- print_fatal (filename, "%s values must be one of \"%s\" (found \"%s\")\n", ++ print_warning (filename, "%s values must be one of \"%s\" (found \"%s\")\n", + key, valid_onlyshowins, vals[i]); + g_free (valid_onlyshowins); + } diff --git a/desktop-file-utils.spec b/desktop-file-utils.spec index b0a65bb..62b383d 100644 --- a/desktop-file-utils.spec +++ b/desktop-file-utils.spec @@ -1,7 +1,7 @@ Summary: Utilities for manipulating .desktop files Name: desktop-file-utils Version: 0.11 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.freedesktop.org/software/desktop-file-utils Source0: %{name}-%{version}.tar.gz Patch1: desktop-file-utils-0.10-dont-use-unintialized-memory.patch @@ -55,6 +55,12 @@ update-desktop-database %{_datadir}/applications || : %{_datadir}/emacs/site-lisp/ %changelog +* Thu Oct 26 2006 Ray Strode - 0.11-2 +- make desktop file validation non-fatal until we + add support for categories beginning with X- and clean up + our menu system to not require invalid categories + (bug 212048) + * Mon Oct 23 2006 Matthias Clasen - 0.11-1 - Update to 0.11