From f017b9b6b8c571431b5e1cac9808b2f957e0294b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 23 Feb 2012 16:50:56 +0000 Subject: libfm: Fix packaging and dependency issues Add missing pango and glib-2.0 dependencies. Fix QA warnings: WARNING: For recipe libfm, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/gio WARNING: /usr/lib/gio/modules WARNING: /usr/share/mime WARNING: /usr/share/mime/packages WARNING: /usr/share/mime/packages/libfm.xml (From OE-Core rev: f6f527694e4f896b5d8a649f0b12f5b437c27cd1) Signed-off-by: Richard Purdie --- meta/recipes-support/libfm/libfm_0.1.17.bb | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'meta/recipes-support') diff --git a/meta/recipes-support/libfm/libfm_0.1.17.bb b/meta/recipes-support/libfm/libfm_0.1.17.bb index adf8e64388..e3fd2de9bf 100644 --- a/meta/recipes-support/libfm/libfm_0.1.17.bb +++ b/meta/recipes-support/libfm/libfm_0.1.17.bb @@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://src/base/fm-config.h;endline=23;md5=ad0fc418c3cf041eea35ddb3daf37f17" SECTION = "x11/libs" -DEPENDS = "gtk+ menu-cache intltool-native" +DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native" -PR = "r2" +PR = "r3" SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz" @@ -18,3 +18,11 @@ SRC_URI[md5sum] = "a97e03d973e6ac727f28d0934d6c9ad5" SRC_URI[sha256sum] = "1740681cff4cd4c5a2eaa9805d8898269cfb6a49a0bda0acb242def15bc7131b" inherit autotools pkgconfig + +do_install_append () { + rmdir ${D}${libdir}/gio/modules/ + rmdir ${D}${libdir}/gio/ +} + +PACKAGES += "${PN}-mime" +FILES_${PN}-mime = "${datadir}/mime/" -- cgit v1.2.3-54-g00ecf