Patchwork matchbox-keyboard: Fix unpackaged files warning

login
register
mail settings
Submitter Richard Purdie
Date March 13, 2012, 3:05 p.m.
Message ID <1331651144.17122.2.camel@ted>
Download mbox | patch
Permalink /patch/23177/
State Accepted
Commit 684b25e96164eec1c69710eb9c59be8a0db4eeb2
Headers show

Comments

Richard Purdie - March 13, 2012, 3:05 p.m.
Addresses the warnings:

WARNING: For recipe matchbox-keyboard, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/gtk-2.0/2.10.0/immodules/libmb-im-invoker.la
WARNING:   /usr/lib/matchbox-panel/libkeyboard.la

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
index 74d8757..4c03541 100644
--- a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
+++ b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
@@ -12,7 +12,7 @@  RDEPENDS_${PN} = "formfactor dbus-wait"
 SECTION = "x11"
 SRCREV = "b38f24036cff3be6c2fbcf9ca9881803e69003ac"
 PV = "0.0+git${SRCPV}"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \
            file://configure_fix.patch;maxrev=1819 \
@@ -43,6 +43,9 @@  FILES_matchbox-keyboard-applet-dbg += "${libdir}/matchbox-panel/.debug"
 do_install_append () {
 	install -d ${D}/${sysconfdir}/X11/Xsession.d/
 	install -m 755 ${WORKDIR}/80matchboxkeyboard.shbg ${D}/${sysconfdir}/X11/Xsession.d/
+
+	rm -f ${D}${libdir}/gtk-2.0/*/immodules/*.la
+	rm -f ${D}${libdir}/matchbox-panel/*.la
 }
 
 pkg_postinst_matchbox-keyboard-im () {