[OE-core] [PATCH 01/17] leafpad: Package currently unpackaged files.

Koen Kooi koen at dominion.thruhere.net
Tue Mar 13 08:07:44 UTC 2012


Op 13 mrt. 2012, om 01:22 heeft Richard Purdie het volgende geschreven:

> This resolves the QA warning:
> 
> WARNING: For recipe leafpad, the following files/directories were installed but not shipped in any package:
> WARNING:   /usr/share/icons
> WARNING:   /usr/share/icons/hicolor
> WARNING:   /usr/share/icons/hicolor/16x16
> WARNING:   /usr/share/icons/hicolor/22x22
> WARNING:   /usr/share/icons/hicolor/scalable
> WARNING:   /usr/share/icons/hicolor/32x32
> WARNING:   /usr/share/icons/hicolor/24x24
> WARNING:   /usr/share/icons/hicolor/16x16/apps
> WARNING:   /usr/share/icons/hicolor/16x16/apps/leafpad.png
> WARNING:   /usr/share/icons/hicolor/22x22/apps
> WARNING:   /usr/share/icons/hicolor/22x22/apps/leafpad.png
> WARNING:   /usr/share/icons/hicolor/scalable/apps
> WARNING:   /usr/share/icons/hicolor/scalable/apps/leafpad.svg
> WARNING:   /usr/share/icons/hicolor/32x32/apps
> WARNING:   /usr/share/icons/hicolor/32x32/apps/leafpad.png
> WARNING:   /usr/share/icons/hicolor/24x24/apps
> WARNING:   /usr/share/icons/hicolor/24x24/apps/leafpad.png
> 
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> ---
> meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb |    6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb b/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
> index 68402c5..3d1bc43 100644
> --- a/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
> +++ b/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
> @@ -1,6 +1,5 @@
> DESCRIPTION = "Simple GTK+ Text Editor"
> HOMEPAGE = "http://tarot.freeshell.org/leafpad/"
> -BUGTRACKER = ""
> 
> LICENSE = "GPLv2 & GPLv2+"
> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> @@ -14,7 +13,7 @@ SRC_URI = "http://savannah.nongnu.org/download/${BPN}/${BPN}-${PV}.tar.gz \
> 
> SRC_URI[md5sum] = "254a72fc67505e3aa52884c729cd7b97"
> SRC_URI[sha256sum] = "959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c"
> -PR = "r1"
> +PR = "r2"
> 
> SRC_URI_append_poky += " file://owl-menu.patch;apply=yes "
> 
> @@ -29,3 +28,6 @@ do_install_append () {
> }
> 
> FILES_${PN} += "${datadir}/applications/leafpad.desktop"
> +
> +PACKAGES += "leafpad-stock-icons"
> +FILES_leafpad-stock-icons = "${datadir}/icons/hicolor/"

I strongly suspect that that .desktop will reference leafpad.png as the icon, but I haven't actually verified that. This recipe should probably inherit gtk-icon-cache.

regards,

Koen



More information about the Openembedded-core mailing list