[oe] [STABLE][PATCH] matchbox-session: simple provider of Matchbox session for X11 startup

Marcin Juszkiewicz marcin at juszkiewicz.com.pl
Tue Jan 12 16:43:49 UTC 2010


From: Marcin Juszkiewicz <hrw at koansoftware.com>

In GPE images we use gpe-session-scripts to provide Xsession init
scripts for launching Matchbox components. But what if someone do not
want GPE but want Matchbox?

Poky has it cleaned in other way.

Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
---
 recipes/matchbox-session/matchbox-session.bb |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 recipes/matchbox-session/matchbox-session.bb

diff --git a/recipes/matchbox-session/matchbox-session.bb b/recipes/matchbox-session/matchbox-session.bb
new file mode 100644
index 0000000..c9014f9
--- /dev/null
+++ b/recipes/matchbox-session/matchbox-session.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "Matchbox session support"
+RDEPENDS = "matchbox-common"
+# they do the same in other way
+RCONFLICTS = "gpe-session-scripts"
+
+do_install() {
+        install -d ${D}${sysconfdir}/X11/Xsession.d/
+        ln -sf ${bindir}/matchbox-session ${D}${sysconfdir}/X11/Xsession.d/90matchbox-session
+}
+
+PACKAGE_ARCH = "all"
+PACKAGES = "${PN}"
+
+FILES_${PN} = "${sysconfdir}"
-- 
1.6.6







More information about the Openembedded-devel mailing list