cups: fix desktop file QA issues
PATCH 1/1 cups: fix desktop file QA issues
* This patch fixes the QA issues with version 1.2.12 of cups.
* The patch being applied was taken from
http://bugs.gentoo.org/show_bug.cgi?id=236706
* Bump the PR
Signed-off-by Chase Maupin <[email protected]>
--- .../0001-cups-desktop-fix-cups-desktop-file.patch | 48 ++++++++++++++++++++ recipes/cups/cups_1.2.12.bb | 4 +- 2 files changed, 51 insertions(+), 1 deletions(-) create mode 100644 recipes/cups/cups-1.2.12/0001-cups-desktop-fix-cups-desktop-file.patch
recipes/cups/cups-1.2.12/0001-cups-desktop-fix-cups-desktop-file.patch new file +48 -0
@@ -0,0 +1,48 @@ +From 85710dd8f749a447301e1522e6022b62e29d6f5d Mon Sep 17 00:00:00 2001 +From: Chase Maupin <[email protected]> +Date: Wed, 9 Feb 2011 14:20:51 -0600 +Subject: [PATCH] cups desktop: fix cups desktop file + +* Fix the cups.desktop file to address issues reported by the + desktop-file-validate program. This resolves QA error + issues generated by the insane class: + ERROR: QA Issue with cups: cups.desktop: warning: value + "Application;System;X-Red-Hat-Base;" for key "Categories" in group " + Desktop Entry" contains a deprecated value "Application" + ERROR: QA Issue with cups: cups.desktop: warning: key "Encoding" in group + "Desktop Entry" is deprecated + ERROR: QA Issue with cups: cups.desktop: warning: value "" for key + "Path" in group "Desktop Entry" does not look like an absolute path + ERROR: QA Issue with cups: cups.desktop: warning: key "TerminalOptions" + in group "Desktop Entry" is deprecated +* This patch was obtained from http://bugs.gentoo.org/show_bug.cgi?id=236706 + and thank to Pacho Ramos <[email protected]> for the fix + +Signed-off-by: Chase Maupin <[email protected]> +--- + desktop/cups.desktop | 5 +---- + 1 files changed, 1 insertions(+), 4 deletions(-) + +diff --git a/desktop/cups.desktop b/desktop/cups.desktop +index dabfba3..28b98d9 100644 +--- a/desktop/cups.desktop ++++ b/desktop/cups.desktop +@@ -1,14 +1,11 @@ + [Desktop Entry] +-Categories=Application;System;X-Red-Hat-Base; +-Encoding=UTF-8 ++Categories=System;X-Red-Hat-Base; + Exec=htmlview http://localhost:631/ + GenericName= + Icon=cups + MimeType= +-Path= + StartupNotify=false + Terminal=false +-TerminalOptions= + Type=Application + X-DCOP-ServiceType= + X-KDE-SubstituteUID=false +-- +1.7.0.4 +
recipes/cups/cups_1.2.12.bb +3 -1
@@ -1,5 +1,7 @@ require cups.inc -PR = "${INC_PR}.2" +PR = "${INC_PR}.3" + +SRC_URI += "file://0001-cups-desktop-fix-cups-desktop-file.patch" SRC_URI[md5sum] = "d410658468384b5ba5d04a808f6157fe" SRC_URI[sha256sum] = "b4ff8e934da7db32d5654360ea9068faa0ed5a00fde02161ae53c2052510d00f"
Signature · 1 line
1.7.0.4
Quoted 6 lines · Chase Maupin
* This patch fixes the QA issues with version 1.2.12 of cups.
* The patch being applied was taken from
http://bugs.gentoo.org/show_bug.cgi?id=236706
* Bump the PRSigned-off-by Chase Maupin <[email protected]>
Quoted 81 lines
--- .../0001-cups-desktop-fix-cups-desktop-file.patch | 48 ++++++++++++++++++++ recipes/cups/cups_1.2.12.bb | 4 +- 2 files changed, 51 insertions(+), 1 deletions(-) create mode 100644 recipes/cups/cups-1.2.12/0001-cups-desktop-fix-cups-desktop-file.patchrecipes/cups/cups-1.2.12/0001-cups-desktop-fix-cups-desktop-file.patch new file +48
-0@@ -0,0 +1,48 @@ +From 85710dd8f749a447301e1522e6022b62e29d6f5d Mon Sep 17 00:00:00 2001 +From: Chase Maupin <[email protected]> +Date: Wed, 9 Feb 2011 14:20:51 -0600 +Subject: [PATCH] cups desktop: fix cups desktop file + +* Fix the cups.desktop file to address issues reported by the + desktop-file-validate program. This resolves QA error + issues generated by the insane class: + ERROR: QA Issue with cups: cups.desktop: warning: value + "Application;System;X-Red-Hat-Base;" for key "Categories" in group " + Desktop Entry" contains a deprecated value "Application" + ERROR: QA Issue with cups: cups.desktop: warning: key "Encoding" in group + "Desktop Entry" is deprecated + ERROR: QA Issue with cups: cups.desktop: warning: value "" for key + "Path" in group "Desktop Entry" does not look like an absolute path + ERROR: QA Issue with cups: cups.desktop: warning: key "TerminalOptions" + in group "Desktop Entry" is deprecated +* This patch was obtained from http://bugs.gentoo.org/show_bug.cgi?id=236706 + and thank to Pacho Ramos <[email protected]> for the fix + +Signed-off-by: Chase Maupin <[email protected]> +--- + desktop/cups.desktop | 5 +---- + 1 files changed, 1 insertions(+), 4 deletions(-) + +diff --git a/desktop/cups.desktop b/desktop/cups.desktop +index dabfba3..28b98d9 100644 +--- a/desktop/cups.desktop ++++ b/desktop/cups.desktop +@@ -1,14 +1,11 @@ + [Desktop Entry] +-Categories=Application;System;X-Red-Hat-Base; +-Encoding=UTF-8 ++Categories=System;X-Red-Hat-Base; + Exec=htmlview http://localhost:631/ + GenericName= + Icon=cups + MimeType= +-Path= + StartupNotify=false + Terminal=false +-TerminalOptions= + Type=Application + X-DCOP-ServiceType= + X-KDE-SubstituteUID=false +-- +1.7.0.4 +recipes/cups/cups_1.2.12.bb +3
-1@@ -1,5 +1,7 @@ require cups.inc -PR = "${INC_PR}.2" +PR = "${INC_PR}.3" + +SRC_URI += "file://0001-cups-desktop-fix-cups-desktop-file.patch" SRC_URI[md5sum] = "d410658468384b5ba5d04a808f6157fe" SRC_URI[sha256sum] = "b4ff8e934da7db32d5654360ea9068faa0ed5a00fde02161ae53c2052510d00f"Signature · 7 lines
1.7.0.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel