[oe-commits] Angus Ainslie : paroli : set paroli as the system default theme when paroli-theme is installed

GIT User account git at amethyst.openembedded.net
Fri May 1 13:59:24 UTC 2009


Module: openembedded.git
Branch: fso/milestone5.5
Commit: 1435b8ec0ecf8581487a31db5b2c2572b2d99c63
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1435b8ec0ecf8581487a31db5b2c2572b2d99c63

Author: Angus Ainslie <nytowl at openmoko.org>
Date:   Fri May  1 07:50:25 2009 -0600

paroli : set paroli as the system default theme when paroli-theme is installed

---

 recipes/openmoko-projects/paroli_git.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/recipes/openmoko-projects/paroli_git.bb b/recipes/openmoko-projects/paroli_git.bb
index 31ae3ac..e522b58 100644
--- a/recipes/openmoko-projects/paroli_git.bb
+++ b/recipes/openmoko-projects/paroli_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Paroli"
 SECTION = "x11"
 LICENSE = "GPL"
 PV = "0.2.1+gitr${SRCREV}"
-PR = "r13"
+PR = "r14"
 
 SRC_URI = "git://git.paroli-project.org/paroli.git;protocol=http"
 S = "${WORKDIR}/git"
@@ -21,13 +21,13 @@ RDEPENDS = "\
   task-fso-compliance \
 "
 
-#E_CONFIG_DIR="/home/root/.e/e"
 E_CONFIG_DIR="/usr/share/enlightenment/data"
 
 do_install_append() {
        	# install paroli theme
+       	install -d ${D}${E_CONFIG_DIR}/themes
+       	install ${S}/data/e-config/paroli.edj ${D}${E_CONFIG_DIR}/themes/
        	install -d ${D}${E_CONFIG_DIR}/config/paroli
-       	install ${S}/data/e-config/paroli.edj ${D}${E_CONFIG_DIR}/config/
        	install ${S}/data/e-config/paroli/* ${D}${E_CONFIG_DIR}/config/paroli/
        	install -d ${D}${E_CONFIG_DIR}/themes
 	#install ${S}/data/illume.edj ${D}${E_CONFIG_DIR}/themes
@@ -96,6 +96,13 @@ cp ${sysconfdir}/freesmartphone/opreferences/conf/phone/paroli_default.yaml ${sy
 exit 0
 }
 
+pkg_postinst_${PN}-theme() {
+#!/bin/sh
+# post installation script
+echo 'E_PROFILE="-profile paroli"' > ${sysconfdir}/enlightenment/default_profile
+exit 0
+}
+
 FILES_${PN} += " \
 	${sysconfdir}/dbus-1 \
 	${sysconfdir}/paroli \





More information about the Openembedded-commits mailing list