* [PATCH] add autostart PACKAGE to paroli recipe
@ 2009-02-19 20:18 Angus Ainslie
2009-02-19 21:20 ` Koen Kooi
0 siblings, 1 reply; 3+ messages in thread
From: Angus Ainslie @ 2009-02-19 20:18 UTC (permalink / raw)
To: openembedded-devel
---
packages/openmoko-projects/paroli_git.bb | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/packages/openmoko-projects/paroli_git.bb
b/packages/openmoko-projects/paroli_git.bb
index 783ffd5..12b59e1
100644
---
a/packages/openmoko-projects/paroli_git.bb
+++
b/packages/openmoko-projects/paroli_git.bb
@@ -2,13 +2,15 @@ DESCRIPTION =
"Paroli"
SECTION =
"x11"
LICENSE =
"GPL"
PV = "0.2.1+gitr
${SRCREV}"
-PR = "r0"
+PR = "r1"
SRC_URI = "git://git.paroli-project.org/paroli.git;protocol=http"
S = "${WORKDIR}/git"
inherit distutils
+PACKAGES += "${PN}-autostart"
+
RDEPENDS = "\
python-datetime \
python-subprocess \
@@ -17,4 +19,21 @@ RDEPENDS = "\
python-pygobject \
"
+do_install_append() {
+ # install paroli theme
+ mkdir -p ${D}/home/root/.e/e/config/illume/
+ install ${S}/data/module.illume.cfg
${D}/home/root/.e/e/config/illume/
+ install ${S}/data/e.cfg ${D}/home/root/.e/e/config/illume/
+ mkdir -p ${D}/home/root/.e/e/themes
+ install ${S}/data/illume.edj ${D}/home/root/.e/e/themes
+
+ #install autostart
+ mkdir -p ${D}/etc/X11/Xsession.d/
+ echo "#!/bin/sh" > ${D}/etc/X11/Xsession.d/80paroli
+ echo "export DISPLAY=:0" >> ${D}/etc/X11/Xsession.d/80paroli
+ echo "exec /usr/bin/paroli-launcher" >>
${D}/etc/X11/Xsession.d/80paroli
+ chmod a+x ${D}/etc/X11/Xsession.d/80paroli
+}
+
FILES_${PN} += "${sysconfdir}/dbus-1 ${sysconfdir}/paroli ${datadir}"
+FILES_${PN}-autostart += "/etc/X11/Xsession.d/80paroli /home/root/.e"
--
1.5.6.5
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] add autostart PACKAGE to paroli recipe 2009-02-19 20:18 [PATCH] add autostart PACKAGE to paroli recipe Angus Ainslie @ 2009-02-19 21:20 ` Koen Kooi 2009-02-20 9:36 ` Marcin Juszkiewicz 0 siblings, 1 reply; 3+ messages in thread From: Koen Kooi @ 2009-02-19 21:20 UTC (permalink / raw) To: openembedded-devel On 19-02-09 21:18, Angus Ainslie wrote: > + mkdir -p ${D}/home/root/.e/e/config/illume/ > + install ${S}/data/module.illume.cfg > ${D}/home/root/.e/e/config/illume/ > + install ${S}/data/e.cfg ${D}/home/root/.e/e/config/illume/ > + mkdir -p ${D}/home/root/.e/e/themes > + install ${S}/data/illume.edj ${D}/home/root/.e/e/themes NACK, a package is NEVER EVER allowed to touch /home/*, NEVER. Caps used to get the point accross. regards, Koen ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] add autostart PACKAGE to paroli recipe 2009-02-19 21:20 ` Koen Kooi @ 2009-02-20 9:36 ` Marcin Juszkiewicz 0 siblings, 0 replies; 3+ messages in thread From: Marcin Juszkiewicz @ 2009-02-20 9:36 UTC (permalink / raw) To: openembedded-devel [-- Attachment #1: Type: text/plain, Size: 816 bytes --] On Thursday 19 of February 2009 22:20:29 Koen Kooi wrote: > On 19-02-09 21:18, Angus Ainslie wrote: > > + mkdir -p ${D}/home/root/.e/e/config/illume/ > > + install ${S}/data/module.illume.cfg > > ${D}/home/root/.e/e/config/illume/ > > + install ${S}/data/e.cfg ${D}/home/root/.e/e/config/illume/ > > + mkdir -p ${D}/home/root/.e/e/themes > > + install ${S}/data/illume.edj ${D}/home/root/.e/e/themes > > NACK, a package is NEVER EVER allowed to touch /home/*, NEVER. Caps > used to get the point accross. Agreed with Koen - $HOME can be on unavailable disc or on other place then /home/root/ (or other user can be used). Regards, -- JID: hrw@jabber.org Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 204 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-20 9:39 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-02-19 20:18 [PATCH] add autostart PACKAGE to paroli recipe Angus Ainslie 2009-02-19 21:20 ` Koen Kooi 2009-02-20 9:36 ` Marcin Juszkiewicz
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.