[oe] [PATCH] gnome.bbclass: remove unneeded scrollkeeper stuff from gnome packages.
Ihar Hrachyshka
ihar.hrachyshka at gmail.com
Mon May 25 11:18:33 UTC 2009
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 at gmail.com>
---
classes/gnome.bbclass | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/classes/gnome.bbclass b/classes/gnome.bbclass
index d2ca739..da88884 100644
--- a/classes/gnome.bbclass
+++ b/classes/gnome.bbclass
@@ -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/*
+}
+
--
1.6.3.1
More information about the Openembedded-devel
mailing list