gnome.bbclass: remove unneeded scrollkeeper stuff from gnome packages.
authorIhar Hrachyshka <ihar.hrachyshka@gmail.com>
Mon, 25 May 2009 01:18:33 +0000 (01:18 +0000)
committerKoen Kooi <koen@openembedded.org>
Sun, 31 May 2009 09:59:54 +0000 (11:59 +0200)
Scrollkeeper generates its XML database for every package when
installing it. The problem is that while building it sees only specific
package scrollkeeper stuff so we get wrong scrollkeeper xml file
generated for every gnome.bbclass package. Including the file into every
gnome package results in package contents conflicts.

This patch removes a quick hack made by Koen with previous commit.

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
Acked-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Koen Kooi <koen@openembedded.org>
classes/gnome.bbclass

index d2ca739..da88884 100644 (file)
@@ -17,9 +17,11 @@ inherit autotools gtk-icon-cache pkgconfig gconf mime
 
 AUTOTOOLS_STAGE_PKGCONFIG = "1"
 
-PACKAGES =+ "${PN}-scrollkeeper-leftovers"
-FILES_${PN}-scrollkeeper-leftovers = "${localstatedir}/lib/scrollkeeper"
-
 gnome_stage_includes() {
        autotools_stage_includes
 }
+
+do_install_append() {
+       rm -rf ${D}${localstatedir}/lib/scrollkeeper/*
+}
+