X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=blobdiff_plain;f=recipes%2Fpandora-system%2Fpandora-scripts.bb;h=1b90697f3f31a42b55b6f674bffa606ef41f1f66;hp=1ccb4037686e8a34ab6a768f8bb4980ccff7b7e6;hb=7c9f18769ac8e1ccd7dc7e3d226e24597efa0985;hpb=9383e95abcee2ac08a998c6fbe17bb945bf1c732 diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 1ccb403..1b90697 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -3,26 +3,33 @@ LICENSE = "GPLV2" COMPATIBLE_MACHINE = "omap3-pandora" -DEPENDS = "zenity dbus" -RDEPENDS = "zenity dbus" +RDEPENDS = "bash sed gawk grep zenity" -PR = "r45" +PR = "r139" SRC_URI = " \ + file://op_paths.sh \ file://op_bright.sh \ -# file://op_bright.desktop \ file://op_cpuspeed.sh \ - file://op_cpuspeed.pnd \ + file://op_cpuspeed.pnd \ + file://op_usbhost.sh \ + file://op_usbhost.pnd \ + file://op_osupgrade.sh \ + file://op_osupgrade.pnd \ + file://op_sysspeed.sh \ + file://op_createsd.sh \ + file://op_createsd.pnd \ file://op_wifi.sh \ file://op_wifi.pnd \ -# file://op_wifi.desktop \ file://op_bluetooth.sh \ + file://op_bluetooth_work.sh \ file://op_bluetooth-check.desktop \ file://op_bluetooth.desktop \ file://op_startupmanager.sh \ file://op_startupmanager.pnd \ file://op_switchgui.sh \ file://op_switchgui.pnd \ + file://nettool.pnd \ file://startnetbooklauncher \ file://startmmenu \ file://startpmenu \ @@ -35,102 +42,152 @@ SRC_URI = " \ file://op_usermanager.pnd \ file://op_lcdsettings.sh \ file://op_lcdsettings.pnd \ + file://op_ledsettings.sh \ + file://op_ledsettings.pnd \ + file://op_cpusettings.sh \ + file://op_cpusettings.pnd \ file://op_lcdrate.sh \ file://op_videofir.sh \ file://op_storage.sh \ file://op_storage.pnd \ - file://op_nubmode.sh \ + file://op_nubmode.py \ file://op_nubmode.pnd \ + file://op_nubchange.sh \ + file://op_lidsettings.pnd \ + file://op_lidsettings.sh \ + file://op_touchinit.sh \ file://op_tvout.sh \ file://op_tvout.pnd \ + file://ConfigModel.py \ + file://TVoutConfig.py \ + file://op_inputtest.pnd \ file://gui.conf \ + file://cpu.conf \ + file://led.conf \ file://gamma.conf \ file://service.conf \ + file://nub_profiles.conf \ + file://tvout-profiles.conf \ + file://nubmode.glade \ + file://reset_nubs.sh \ + file://pndlogo.png \ + file://tvicon.png \ + file://tvout.glade \ file://default_up \ file://none_up \ file://op_env.sh \ -# file://pandorascripts.pnd \ - file://abiword.pnd \ - file://arora.pnd \ - file://claws-mail.pnd \ file://evince.pnd \ file://gigolo.pnd \ - file://gnumeric.pnd \ - file://midori.pnd \ file://mousepad.pnd \ - file://pidgin.pnd \ file://ristretto.pnd \ file://squeeze.pnd \ file://thunar.pnd \ file://xchat.pnd \ + file://gcalctool.pnd \ + file://op_bright_down.sh \ + file://op_lid.sh \ + file://op_power.sh \ + file://op_battlow.sh \ + file://op_bright_up.sh \ + file://op_menu.sh \ + file://op_xfcemenu.sh \ + file://op_hugetlb.sh \ + file://op_gamma.sh \ + file://op_dsp.sh \ " do_install() { install -d ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_paths.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_osupgrade.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_bright.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_cpuspeed.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_createsd.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_sysspeed.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_cpusettings.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_wifi.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_usbhost.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_bluetooth.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_bluetooth_work.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_startupmanager.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_switchgui.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_calibrate.sh ${D}${prefix}/pandora/scripts/ 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_lcdsettings.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_ledsettings.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_lcdrate.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_videofir.sh ${D}${prefix}/pandora/scripts/ - install -m 0755 ${WORKDIR}/op_nubmode.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_nubmode.py ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_nubchange.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_storage.sh ${D}${prefix}/pandora/scripts/ install -m 0755 ${WORKDIR}/op_tvout.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_bright_down.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_lid.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_power.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_battlow.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_touchinit.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_bright_up.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_menu.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_xfcemenu.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_hugetlb.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_gamma.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/reset_nubs.sh ${D}${prefix}/pandora/scripts/ + install -m 0644 ${WORKDIR}/pndlogo.png ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/ConfigModel.py ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/TVoutConfig.py ${D}${prefix}/pandora/scripts/ + install -m 0644 ${WORKDIR}/tvicon.png ${D}${prefix}/pandora/scripts/ + install -m 0644 ${WORKDIR}/nubmode.glade ${D}${prefix}/pandora/scripts/ + install -m 0644 ${WORKDIR}/tvout.glade ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_lidsettings.sh ${D}${prefix}/pandora/scripts/ + install -m 0755 ${WORKDIR}/op_dsp.sh ${D}${prefix}/pandora/scripts/ + install -d ${D}${prefix}/pandora/apps/ install -m 0755 ${WORKDIR}/op_calibrate.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_createsd.pnd ${D}${prefix}/pandora/apps/ install -m 0755 ${WORKDIR}/op_cpuspeed.pnd ${D}${prefix}/pandora/apps/ install -m 0755 ${WORKDIR}/op_datetime.pnd ${D}${prefix}/pandora/apps/ install -m 0755 ${WORKDIR}/op_lcdsettings.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_ledsettings.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_cpusettings.pnd ${D}${prefix}/pandora/apps/ install -m 0755 ${WORKDIR}/op_nubmode.pnd ${D}${prefix}/pandora/apps/ install -m 0755 ${WORKDIR}/op_startupmanager.pnd ${D}${prefix}/pandora/apps/ install -m 0755 ${WORKDIR}/op_storage.pnd ${D}${prefix}/pandora/apps/ install -m 0755 ${WORKDIR}/op_switchgui.pnd ${D}${prefix}/pandora/apps/ install -m 0755 ${WORKDIR}/op_usermanager.pnd ${D}${prefix}/pandora/apps/ install -m 0755 ${WORKDIR}/op_wifi.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_usbhost.pnd ${D}${prefix}/pandora/apps/ install -m 0755 ${WORKDIR}/op_tvout.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_inputtest.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_lidsettings.pnd ${D}${prefix}/pandora/apps/ + install -m 0755 ${WORKDIR}/op_osupgrade.pnd ${D}${prefix}/pandora/apps/ install -d ${D}${prefix}/pandora/mmenu/ - install -m 0755 ${WORKDIR}/abiword.pnd ${D}${prefix}/pandora/mmenu/ - install -m 0755 ${WORKDIR}/arora.pnd ${D}${prefix}/pandora/mmenu/ - install -m 0755 ${WORKDIR}/claws-mail.pnd ${D}${prefix}/pandora/mmenu/ install -m 0755 ${WORKDIR}/evince.pnd ${D}${prefix}/pandora/mmenu/ install -m 0755 ${WORKDIR}/gigolo.pnd ${D}${prefix}/pandora/mmenu/ - install -m 0755 ${WORKDIR}/gnumeric.pnd ${D}${prefix}/pandora/mmenu/ - install -m 0755 ${WORKDIR}/midori.pnd ${D}${prefix}/pandora/mmenu/ install -m 0755 ${WORKDIR}/mousepad.pnd ${D}${prefix}/pandora/mmenu/ - install -m 0755 ${WORKDIR}/pidgin.pnd ${D}${prefix}/pandora/mmenu/ install -m 0755 ${WORKDIR}/ristretto.pnd ${D}${prefix}/pandora/mmenu/ install -m 0755 ${WORKDIR}/squeeze.pnd ${D}${prefix}/pandora/mmenu/ install -m 0755 ${WORKDIR}/thunar.pnd ${D}${prefix}/pandora/mmenu/ install -m 0755 ${WORKDIR}/xchat.pnd ${D}${prefix}/pandora/mmenu/ + install -m 0755 ${WORKDIR}/gcalctool.pnd ${D}${prefix}/pandora/mmenu/ + install -m 0755 ${WORKDIR}/nettool.pnd ${D}${prefix}/pandora/mmenu/ 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/ -# install -m 0644 ${WORKDIR}/op_startupmanager.desktop ${D}${datadir}/applications/ -# install -m 0644 ${WORKDIR}/op_switchgui.desktop ${D}${datadir}/applications/ -# install -m 0644 ${WORKDIR}/op_calibrate.desktop ${D}${datadir}/applications/ -# 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_lcdsettings.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 install -d ${D}${sysconfdir}/pandora/conf/ install -m 0644 ${WORKDIR}/gui.conf ${D}${sysconfdir}/pandora/conf/gui.conf + install -m 0644 ${WORKDIR}/led.conf ${D}${sysconfdir}/pandora/conf/led.conf + install -m 0644 ${WORKDIR}/cpu.conf ${D}${sysconfdir}/pandora/conf/cpu.conf install -m 0644 ${WORKDIR}/gamma.conf ${D}${sysconfdir}/pandora/conf/gamma.conf install -m 0644 ${WORKDIR}/service.conf ${D}${sysconfdir}/pandora/conf/service.conf + install -m 0666 ${WORKDIR}/nub_profiles.conf ${D}${sysconfdir}/pandora/conf/nub_profiles.conf + install -m 0666 ${WORKDIR}/tvout-profiles.conf ${D}${sysconfdir}/pandora/conf/tvout-profiles.conf install -d ${D}${sysconfdir}/pandora/conf/dss_fir/ install -m 0644 ${WORKDIR}/default_up ${D}${sysconfdir}/pandora/conf/dss_fir/ @@ -149,3 +206,11 @@ do_install() { PACKAGE_ARCH = "${MACHINE_ARCH}" FILES_${PN} += "${prefix} ${datadir}" + +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/gui.conf +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/cpu.conf +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/led.conf +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/gamma.conf +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/service.conf +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/nub_profiles.conf +CONFFILES_${PN} += ${sysconfdir}/pandora/conf/tvout-profiles.conf