Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Angus Ainslie <nytowl@openmoko.org>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] add autostart PACKAGE to paroli recipe
Date: Thu, 19 Feb 2009 13:18:33 -0700	[thread overview]
Message-ID: <1235074713.6859.210.camel@alap> (raw)

---
 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






             reply	other threads:[~2009-02-19 20:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-19 20:18 Angus Ainslie [this message]
2009-02-19 21:20 ` [PATCH] add autostart PACKAGE to paroli recipe Koen Kooi
2009-02-20  9:36   ` Marcin Juszkiewicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1235074713.6859.210.camel@alap \
    --to=nytowl@openmoko.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox