diff options
author | chase maupin <chasemaupin03@gmail.com> | 2011-02-10 04:36:59 +0000 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-09 16:46:06 -0700 |
commit | 51ed875e94cbfd6ddb8d917df8ba6826de7956df (patch) | |
tree | 82ebf019d1e8564392555171d45d556bb88d5bb6 /recipes/cups | |
parent | 8a01a9750ffc3fb28d19af9d69022cb1ef7f9253 (diff) | |
download | openembedded-51ed875e94cbfd6ddb8d917df8ba6826de7956df.tar.gz |
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 <Chase.Maupin@ti.com>
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/cups')
-rw-r--r-- | recipes/cups/cups-1.2.12/0001-cups-desktop-fix-cups-desktop-file.patch | 48 | ||||
-rw-r--r-- | recipes/cups/cups_1.2.12.bb | 4 |
2 files changed, 51 insertions, 1 deletions
diff --git a/recipes/cups/cups-1.2.12/0001-cups-desktop-fix-cups-desktop-file.patch b/recipes/cups/cups-1.2.12/0001-cups-desktop-fix-cups-desktop-file.patch new file mode 100644 index 0000000000..bb76d177b4 --- /dev/null +++ b/recipes/cups/cups-1.2.12/0001-cups-desktop-fix-cups-desktop-file.patch @@ -0,0 +1,48 @@ +From 85710dd8f749a447301e1522e6022b62e29d6f5d Mon Sep 17 00:00:00 2001 +From: Chase Maupin <Chase.Maupin@ti.com> +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 <pacho@gentoo.org> for the fix + +Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> +--- + 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 + diff --git a/recipes/cups/cups_1.2.12.bb b/recipes/cups/cups_1.2.12.bb index 6df928aa07..167d353067 100644 --- a/recipes/cups/cups_1.2.12.bb +++ b/recipes/cups/cups_1.2.12.bb @@ -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" |