From 7e0f19451b031eb03bf263bcc2d676ee8de59797 Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Wed, 14 Apr 2010 02:22:58 +0200 Subject: [PATCH] Updated recipes for lcd-state and scripts for the new files. --- recipes/pandora-system/pandora-lcd-state.bb | 4 +++- recipes/pandora-system/pandora-scripts.bb | 11 ++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/recipes/pandora-system/pandora-lcd-state.bb b/recipes/pandora-system/pandora-lcd-state.bb index 87d9bdb..0f6321f 100755 --- a/recipes/pandora-system/pandora-lcd-state.bb +++ b/recipes/pandora-system/pandora-lcd-state.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" COMPATIBLE_MACHINE = "omap3-pandora" -PR = "r0" +PR = "r1" inherit update-rc.d INITSCRIPT_NAME = "pandora-lcd-state" @@ -13,6 +13,7 @@ SRC_URI = " \ file://rc.pandora-lcd-state \ file://gamma.state \ file://brightness.state \ + file://nubs.state \ " do_install() { @@ -21,6 +22,7 @@ do_install() { install -d ${D}${sysconfdir}/pandora/conf/ install -m 0644 ${WORKDIR}/gamma.state ${D}${sysconfdir}/pandora/conf/gamma.state install -m 0644 ${WORKDIR}/brightness.state ${D}${sysconfdir}/pandora/conf/brightness.state + install -m 0644 ${WORKDIR}/brightness.state ${D}${sysconfdir}/pandora/conf/nubs.state } PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 5ae5f4a..46fcffc 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" DEPENDS = "zenity dbus" RDEPENDS = "zenity dbus" -PR = "r13" +PR = "r15" SRC_URI = " \ file://op_bright.sh \ @@ -31,8 +31,11 @@ SRC_URI = " \ file://op_usermanager.desktop \ file://op_gammamanager.sh \ file://op_gammamanager.desktop \ + file://op_nubmode.sh \ + file://op_nubmode.desktop \ file://gui.conf \ file://gamma.conf \ + file://op_env.sh \ " do_install() { @@ -47,8 +50,10 @@ do_install() { install -m 0755 ${WORKDIR}/op_datetime.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_usermanager.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_gammamanager.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_nubmode.sh ${D}${prefix}/pandora/scripts/ install -d ${D}${datadir}/applications/ + install -m 0644 ${WORKDIR}/op_bright.desktop ${D}${datadir}/applications/ install -m 0644 ${WORKDIR}/op_cpuspeed.desktop ${D}${datadir}/applications/ install -m 0644 ${WORKDIR}/op_wifi.desktop ${D}${datadir}/applications/ install -m 0644 ${WORKDIR}/op_bluetooth.desktop ${D}${datadir}/applications/ @@ -58,6 +63,7 @@ do_install() { install -m 0644 ${WORKDIR}/op_datetime.desktop ${D}${datadir}/applications/ install -m 0644 ${WORKDIR}/op_usermanager.desktop ${D}${datadir}/applications/ install -m 0644 ${WORKDIR}/op_gammamanager.desktop ${D}${datadir}/applications/ + install -m 0644 ${WORKDIR}/op_nubmode.desktop ${D}${datadir}/applications/ install -d ${D}${sysconfdir}/xdg/autostart/ install -m 0644 ${WORKDIR}/op_bluetooth-check.desktop ${D}${sysconfdir}/xdg/autostart/op_bluetooth-check.desktop @@ -65,6 +71,9 @@ do_install() { install -d ${D}${sysconfdir}/pandora/conf/ install -m 0644 ${WORKDIR}/gui.conf ${D}${sysconfdir}/pandora/conf/gui.conf install -m 0644 ${WORKDIR}/gamma.conf ${D}${sysconfdir}/pandora/conf/gamma.conf + + install -d ${D}${sysconfdir}/profile.d/ + install -m 0755 ${WORKDIR}/op_env.sh {D}${sysconfdir}/profile.d/ install -d ${D}${bindir}/ install -m 0755 ${WORKDIR}/startnetbooklauncher ${D}${bindir}/ -- 2.39.2