diff options
Diffstat (limited to 'recipes/freesmartphone')
38 files changed, 923 insertions, 0 deletions
diff --git a/recipes/freesmartphone/dbus-hlid_git.bb b/recipes/freesmartphone/dbus-hlid_git.bb new file mode 100644 index 0000000000..79bada1396 --- /dev/null +++ b/recipes/freesmartphone/dbus-hlid_git.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "High Level DBus Introspection Daemon" +AUTHOR = "M. Lauer et. al." +SECTION = "console/network" +DEPENDS = "vala-native dbus dbus-glib" +LICENSE = "GPL" +PV = "0.9.0+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "${FREESMARTPHONE_GIT}/dbus-hlid.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +inherit autotools + +FILES_${PN} += "${datadir} ${sysconfdir}" diff --git a/recipes/freesmartphone/enter_0.0.2.bb b/recipes/freesmartphone/enter_0.0.2.bb new file mode 100644 index 0000000000..2a51af6506 --- /dev/null +++ b/recipes/freesmartphone/enter_0.0.2.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "An easy-to-use virtual keyboard for small touchscreen displays" +SECTION = "openmoko/inputmethods" +DEPENDS = "ecore evas edje" +PR = "r0" + +inherit autotools + +SRC_URI = "http://gstaedtner.net/projects/enter/enter.tar.gz" + +FILES_${PN} += "${datadir}" diff --git a/recipes/freesmartphone/frameworkd-devel_git.bb b/recipes/freesmartphone/frameworkd-devel_git.bb new file mode 100644 index 0000000000..f5f6c0bc2d --- /dev/null +++ b/recipes/freesmartphone/frameworkd-devel_git.bb @@ -0,0 +1,14 @@ +require frameworkd_git.bb +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/frameworkd', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" +PROVIDES = "frameworkd" +RPROVIDES = "frameworkd" +PV = "0.8.5.x+gitr${SRCREV}" +PR = "r0" + +DEFAULT_PREFERENCE = "-1" + +SRC_URI = "\ + ${FREESMARTPHONE_GIT}/framework.git;protocol=git;branch=mickey/ogsmd-new-timeout \ + file://frameworkd \ + file://frameworkd.conf \ +" diff --git a/recipes/freesmartphone/frameworkd/a780/frameworkd.conf b/recipes/freesmartphone/frameworkd/a780/frameworkd.conf new file mode 100644 index 0000000000..36359a9f34 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/a780/frameworkd.conf @@ -0,0 +1,22 @@ +[frameworkd] +version = 1 +log_level = DEBUG +log_to = syslog + +[input] +# keys (copied from Openmoko, need to adjust) +report1 = AUX,key,169,1 +report2 = POWER,key,116,1 +report3 = USB,key,356,0 +report4 = HEADSET,switch,2,0 + +[ogsmd] +# A780 has Freescale Neptune LTE +modemtype = freescale_neptune + +[opreferencesd] +rootdir = ../etc/freesmartphone/opreferences:/etc/freesmartphone/opreferences:/usr/etc/freesmartphone/opreferences + +[oeventsd] +rules_file = ../etc/freesmartphone/oevents/rules.yaml:/etc/freesmartphone/oevents/rules.yaml:/usr/etc/freesmartphone/oevents/rules.yaml + diff --git a/recipes/freesmartphone/frameworkd/eten-m800/frameworkd.conf b/recipes/freesmartphone/frameworkd/eten-m800/frameworkd.conf new file mode 100644 index 0000000000..3581064245 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/eten-m800/frameworkd.conf @@ -0,0 +1,38 @@ +[frameworkd] +version = 1 +log_level = DEBUG +log_to = syslog + +[odeviced.kernel26] +# set 1 to disable the module +disable = 0 + +[odeviced.idlenotifier] +# set 1 to disable the module +disable = 1 +# add input nodes to ignore for idle activity +ignoreinput = 2,3,4 + +[odeviced.powercontrol-neo] +disable = 1 + +[ogsmd] +disable = 1 +# specify your modemtype here + +[ogpsd] +device = EtenDevice +channel = SerialChannel +path = /dev/ttySAC2 + +[ogpsd.serialchannel] +baudrate = 57600 + +[opreferencesd] +rootdir = ../etc/freesmartphone/opreferences:/etc/freesmartphone/opreferences:/usr/etc/freesmartphone/opreferences + +[oeventsd] +rules_file = ../etc/freesmartphone/oevents/rules.yaml:/etc/freesmartphone/oevents/rules.yaml:/usr/etc/freesmartphone/oevents/rules.yaml + +[opimd] +disable = 1 diff --git a/recipes/freesmartphone/frameworkd/frameworkd b/recipes/freesmartphone/frameworkd/frameworkd new file mode 100644 index 0000000000..08b782e402 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/frameworkd @@ -0,0 +1,40 @@ +#! /bin/sh +# +# frameworkd -- This shell script starts and stops the freemsmartphone.org framework daemon. +# +# chkconfig: 345 90 20 +# description: frameworkd is the freesmartphone.org framework daemon +# processname: python + +PATH=/bin:/usr/bin:/sbin:/usr/sbin +NAME=frameworkd + +[ -f /etc/default/rcS ] && . /etc/default/rcS + +case "$1" in + start) + echo -n "Starting freesmartphone.org framework daemon: " + start-stop-daemon --start --pidfile /var/run/${NAME}.pid --make-pidfile --background -x /usr/bin/frameworkd + if [ $? = 0 ]; then + echo "(ok)" + else + echo "(failed)" + fi + ;; + stop) + echo -n "Stopping freesmartphone.org framework daemon: " + start-stop-daemon --stop --pidfile /var/run/${NAME}.pid --oknodo + rm -f /var/run/${NAME}.pid + echo "(done)" + ;; + restart|force-reload) + $0 stop + $0 start + ;; + *) + echo "Usage: /etc/init.d/odeviced {start|stop|restart|force-reload}" + exit 1 + ;; +esac + +exit 0 diff --git a/recipes/freesmartphone/frameworkd/frameworkd.conf b/recipes/freesmartphone/frameworkd/frameworkd.conf new file mode 100644 index 0000000000..39e60d632b --- /dev/null +++ b/recipes/freesmartphone/frameworkd/frameworkd.conf @@ -0,0 +1,27 @@ +[frameworkd] +version = 1 +log_level = DEBUG +log_to = syslog + +[odeviced.kernel26] +# set 1 to disable the module +disable = 0 + +[odeviced.idlenotifier] +# set 1 to disable the module +disable = 0 +# add input nodes to ignore for idle activity +ignoreinput = 2,3,4 + +[odeviced.powercontrol-neo] +disable = 1 + +[ogsmd] +# specify your modemtype here +modemtype = ti_calypso + +[opreferencesd] +rootdir = ../etc/freesmartphone/opreferences:/etc/freesmartphone/opreferences:/usr/etc/freesmartphone/opreferences + +[oeventsd] +rules_file = ../etc/freesmartphone/oevents/rules.yaml:/etc/freesmartphone/oevents/rules.yaml:/usr/etc/freesmartphone/oevents/rules.yaml diff --git a/recipes/freesmartphone/frameworkd/magician/frameworkd.conf b/recipes/freesmartphone/frameworkd/magician/frameworkd.conf new file mode 100644 index 0000000000..eb22030550 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/magician/frameworkd.conf @@ -0,0 +1,24 @@ +[frameworkd] +version = 1 +log_level = DEBUG +log_to = syslog + +[odeviced.input] +# magician doesn't have AUX, use the CAMERA key for now +# (it's in about the same place as AUX on gta01/02) +report1 = AUX,key,212,1 +report2 = POWER,key,116,1 +# magician doesn't use KEY_POWER2 for the charger, need to fix +report3 = USB,key,356,0 +report4 = HEADSET,switch,2,0 + +[ogsmd] +# Magician has TI Calypso +modemtype = ti_calypso + +[opreferencesd] +rootdir = ../etc/freesmartphone/opreferences:/etc/freesmartphone/opreferences:/usr/etc/freesmartphone/opreferences + +[oeventsd] +rules_file = ../etc/freesmartphone/oevents/rules.yaml:/etc/freesmartphone/oevents/rules.yaml:/usr/etc/freesmartphone/oevents/rules.yaml + diff --git a/recipes/freesmartphone/frameworkd/om-3d7k/frameworkd.conf b/recipes/freesmartphone/frameworkd/om-3d7k/frameworkd.conf new file mode 100644 index 0000000000..d48bc0815c --- /dev/null +++ b/recipes/freesmartphone/frameworkd/om-3d7k/frameworkd.conf @@ -0,0 +1,30 @@ +[frameworkd] +version = 1 +log_level = INFO +log_to = syslog + +[odeviced.audio] +# set default alsa scenario +default_scenario = stereoout +# set path to alsa scenario files +scenario_dir = /usr/share/openmoko/scenarios + +[odeviced.input] +# Keys +report1 = AUX,key,169,1 +report2 = POWER,key,116,1 +report3 = USB,key,356,0 +report4 = HEADSET,switch,2,0 + +[ogsmd] +# GTA03 has a Cinterion MC75i +modemtype = cinterion_mc75 + +[ogpsd] +disable = 1 + +[opreferencesd] +rootdir = ../etc/freesmartphone/opreferences:/etc/freesmartphone/opreferences:/usr/etc/freesmartphone/opreferences + +[oeventsd] +rules_file = ../etc/freesmartphone/oevents/rules.yaml:/etc/freesmartphone/oevents/rules.yaml:/usr/etc/freesmartphone/oevents/rules.yaml diff --git a/recipes/freesmartphone/frameworkd/om-gta01/frameworkd.conf b/recipes/freesmartphone/frameworkd/om-gta01/frameworkd.conf new file mode 100644 index 0000000000..b2a817aa66 --- /dev/null +++ b/recipes/freesmartphone/frameworkd/om-gta01/frameworkd.conf @@ -0,0 +1,33 @@ +[frameworkd] +version = 1 +log_level = INFO +log_to = syslog + +[odeviced.audio] +# set default alsa scenario +default_scenario = stereoout +# set path to alsa scenario files +scenario_dir = /usr/share/openmoko/scenarios + +[odeviced.input] +# Keys +report1 = AUX,key,169,1 +report2 = POWER,key,116,1 +report3 = USB,key,356,0 +report4 = HEADSET,switch,2,0 + +[ogsmd] +# GTA01 has TI Calypso +modemtype = ti_calypso +ti_calypso_deep_sleep = never + +[ogpsd] +device = NMEADevice +channel = GllinChannel +path = /etc/init.d/gllin + +[opreferencesd] +rootdir = ../etc/freesmartphone/opreferences:/etc/freesmartphone/opreferences:/usr/etc/freesmartphone/opreferences + +[oeventsd] +rules_file = ../etc/freesmartphone/oevents/rules.yaml:/etc/freesmartphone/oevents/rules.yaml:/usr/etc/freesmartphone/oevents/rules.yaml diff --git a/recipes/freesmartphone/frameworkd/om-gta02/frameworkd.conf b/recipes/freesmartphone/frameworkd/om-gta02/frameworkd.conf new file mode 100644 index 0000000000..796d4fb88a --- /dev/null +++ b/recipes/freesmartphone/frameworkd/om-gta02/frameworkd.conf @@ -0,0 +1,48 @@ +[frameworkd] +version = 1 +log_level = INFO +log_to = syslog + +[odeviced.audio] +# set default alsa scenario +default_scenario = stereoout +# set path to alsa scenario files +scenario_dir = /usr/share/openmoko/scenarios + +[odeviced.idlenotifier] +# don't read from accellerometers for GTA02 +ignoreinput=2,3 + +[odeviced.input] +# don't read from accellerometers for GTA02 +ignoreinput=2,3 +# keys +report1 = AUX,key,169,1 +report2 = POWER,key,116,1 +report3 = USB,key,356,0 +report4 = HEADSET,switch,2,0 + +# disable accelerometer since it uses LOADS of CPU resources +[odeviced.accelerometer] +disable = 1 +accelerometer_type = gta02 + +[ogsmd] +# GTA02 has TI Calypso +modemtype = ti_calypso +ti_calypso_deep_sleep = never + +[ogpsd] +device = GTA02Device +channel = SerialChannel +path = /dev/ttySAC1 + +[opreferencesd] +rootdir = ../etc/freesmartphone/opreferences:/etc/freesmartphone/opreferences:/usr/etc/freesmartphone/opreferences + +[oeventsd] +rules_file = ../etc/freesmartphone/oevents/rules.yaml:/etc/freesmartphone/oevents/rules.yaml:/usr/etc/freesmartphone/oevents/rules.yaml + +[opimd] +disable = 1 + diff --git a/recipes/freesmartphone/frameworkd_git.bb b/recipes/freesmartphone/frameworkd_git.bb new file mode 100644 index 0000000000..14aa183d94 --- /dev/null +++ b/recipes/freesmartphone/frameworkd_git.bb @@ -0,0 +1,83 @@ +DESCRIPTION = "The reference implementation of the freesmartphone.org framework APIs" +HOMEPAGE = "http://www.freesmartphone.org" +AUTHOR = "FreeSmartphone.Org Development Team" +SECTION = "console/network" +DEPENDS = "python-cython-native python-pyrex-native" +LICENSE = "GPL" +PV = "0.8.5.1+gitr${SRCREV}" +PR = "r0" + +inherit distutils update-rc.d + +INITSCRIPT_NAME = "frameworkd" +INITSCRIPT_PARAMS = "defaults 29" + +SRC_URI = "${FREESMARTPHONE_GIT}/framework.git;protocol=git;branch=master \ + file://frameworkd \ + file://frameworkd.conf" +S = "${WORKDIR}/git" + +do_configure_append() { + echo "version=\"${PV}\"" >framework/__version__.py +} + +do_install_append() { + install -d ${D}${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/frameworkd ${D}${sysconfdir}/init.d/ + install -m 0644 ${WORKDIR}/frameworkd.conf ${D}${sysconfdir} +} + +RDEPENDS_${PN} += "\ + python-ctypes \ + python-dbus \ + python-datetime \ + python-difflib \ + python-logging \ + python-pprint \ + python-pygobject \ + python-pyrtc \ + python-pyserial \ + python-pyyaml \ + python-shell \ + python-subprocess \ + python-syslog \ + python-textutils \ + \ + ${PN}-config \ +" + +RRECOMMENDS_${PN} += "\ + alsa-utils-amixer \ + python-gst \ + ppp \ +" + +# machine specific stuff, should ideally be elsewhere +# - recommend MUXer on platforms that require one +RDEPENDS_${PN}_append_om-gta01 = " fso-gsm0710muxd" +RDEPENDS_${PN}_append_om-gta02 = " fso-gsm0710muxd" +RDEPENDS_${PN}-append-om-3d7k = " fso-abyss" +# - add wmiconfig for wireless configuration +RDEPENDS_${PN}_append_om-gta02 = " wmiconfig" + +PACKAGES =+ "${PN}-config" +PACKAGE_ARCH_${PN}-config = "${MACHINE_ARCH}" + +FILES_${PN}-config = "\ + ${sysconfdir}/frameworkd.conf \ + ${sysconfdir}/freesmartphone \ + " +CONFFILES_${PN}-config = "\ + ${sysconfdir}/frameworkd.conf \ + ${sysconfdir}/freesmartphone/opreferences/conf/phone/silent.yaml \ + ${sysconfdir}/freesmartphone/opreferences/conf/phone/default.yaml \ + ${sysconfdir}/freesmartphone/opreferences/conf/profiles/default.yaml \ + ${sysconfdir}/freesmartphone/opreferences/conf/rules/silent.yaml \ + ${sysconfdir}/freesmartphone/opreferences/conf/rules/default.yaml \ + ${sysconfdir}/freesmartphone/oevents/rules.yaml \ + ${sysconfdir}/freesmartphone/ogsmd/networks.tab \ + " + +PACKAGE_ARCH_${PN} = "${BASE_PACKAGE_ARCH}" +FILES_${PN} += "${sysconfdir}/dbus-1 ${sysconfdir}/freesmartphone ${sysconfdir}/init.d ${datadir}" +FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/framework/subsystems/*/.debug" diff --git a/recipes/freesmartphone/fso-abyss_git.bb b/recipes/freesmartphone/fso-abyss_git.bb new file mode 100644 index 0000000000..bec64bb639 --- /dev/null +++ b/recipes/freesmartphone/fso-abyss_git.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Abyss is a GSM 07.10 muxer userspace daemon" +HOMEPAGE = "http://www.freesmartphone.org/mediawiki/index.php/Implementations/Abyss" +AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" +SECTION = "console/network" +DEPENDS = "vala-native dbus dbus-glib libgsm0710mux" +LICENSE = "GPL" +PV = "0.3.1+gitr${SRCREV}" +PR = "r1" + +SRC_URI = "\ + ${FREESMARTPHONE_GIT}/fso-abyss.git;protocol=git;branch=master \ +" +S = "${WORKDIR}/git" + +inherit autotools + +FILES_${PN} += "${datadir}" diff --git a/recipes/freesmartphone/fso-apm_git.bb b/recipes/freesmartphone/fso-apm_git.bb new file mode 100644 index 0000000000..a0a57c2f7a --- /dev/null +++ b/recipes/freesmartphone/fso-apm_git.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "freesmartphone.org apm compatibility utility" +AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" +HOMEPAGE = "http://www.freesmartphone.org" +SECTION = "console" +LICENSE = "GPLv2" +PV = "0.0.0+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "${FREESMARTPHONE_GIT}/python-helpers.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +do_install() { + install -d ${D}${bindir} + install -m 0755 fso-apm/apm ${D}${bindir} +} + +PACKAGE_ARCH_${PN} = "all" +RDEPENDS_${PN} = "python-dbus frameworkd" +RCONFLICTS_${PN} = "apm" diff --git a/recipes/freesmartphone/fso-gpsd/fso-gpsd b/recipes/freesmartphone/fso-gpsd/fso-gpsd new file mode 100644 index 0000000000..a101008e5a --- /dev/null +++ b/recipes/freesmartphone/fso-gpsd/fso-gpsd @@ -0,0 +1,41 @@ +#! /bin/sh +# +# fso-gpsd -- This shell script starts and stops the freemsmartphone.org gpsd compatibility daemon +# +# chkconfig: 345 70 30 +# description: fso-gpsd is the freesmartphone.org gpsd compatibility daemon +# processname: fso-gpsd + +PATH=/bin:/usr/bin:/sbin:/usr/sbin +NAME=fso-gpsd + +[ -f /etc/default/rcS ] && . /etc/default/rcS + +case "$1" in + start) + echo -n "Starting freesmartphone.org gpsd compatibility daemon: " + start-stop-daemon --start --pidfile /var/run/${NAME}.pid --exec /usr/sbin/fso-gpsd -- -S localhost:gpsd -P /var/run/${NAME}.pid + + if [ $? = 0 ]; then + echo "(ok)" + else + echo "(failed)" + fi + ;; + stop) + echo -n "Stopping freesmartphone.org gpsd compatibility daemon: " + start-stop-daemon --stop --pidfile /var/run/${NAME}.pid --oknodo + rm -f /var/run/${NAME}.pid + echo "(done)" + ;; + restart|force-reload) + $0 stop + $0 start + ;; + *) + echo "Usage: /etc/init.d/fso-gpsd {start|stop|restart|force-reload}" + exit 1 + ;; +esac + +exit 0 diff --git a/recipes/freesmartphone/fso-gpsd_git.bb b/recipes/freesmartphone/fso-gpsd_git.bb new file mode 100644 index 0000000000..cde1bb65e3 --- /dev/null +++ b/recipes/freesmartphone/fso-gpsd_git.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "freesmartphone.org gpsd compatibility daemon" +LICENSE = "GPL" +SECTION = "network" +DEPENDS = "dbus-glib" +PV = "0.8+gitr${SRCREV}" +PR = "r2" + +SRC_URI = "\ + ${FREESMARTPHONE_GIT}/fso-gpsd.git;protocol=git;branch=master \ + file://fso-gpsd \ +" +S = "${WORKDIR}/git" + +inherit autotools update-rc.d + +INITSCRIPT_NAME = "fso-gpsd" +INITSCRIPT_PARAMS = "defaults 35" + +do_install_append() { + install -d ${D}${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/fso-gpsd ${D}${sysconfdir}/init.d/ +} + +FILES_${PN} += "${sysconfdir}" +RDEPENDS_${PN} = "frameworkd" +RPROVIDES_${PN} = "gpsd" +# Disabled as we always got gpsd but not fso-gpsd in the fso-image. Needs +# fixing. +#RCONFLICTS_${PN} = "gpsd" diff --git a/recipes/freesmartphone/fso-gsm0710muxd_git.bb b/recipes/freesmartphone/fso-gsm0710muxd_git.bb new file mode 100644 index 0000000000..5ce1d1e846 --- /dev/null +++ b/recipes/freesmartphone/fso-gsm0710muxd_git.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "GSM 07.10 muxer userspace daemon (FSO Branch)" +HOMEPAGE = "http://www.freesmartphone.org/mediawiki/index.php/Implementations/gsm0710muxd" +SECTION = "console/network" +DEPENDS = "dbus dbus-glib" +LICENSE = "GPL" +PV = "0.9.3.1+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "${FREESMARTPHONE_GIT}/gsm0710muxd.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +inherit autotools + +RDEPENDS = "dbus dbus-glib" +RCONFLICTS = "gsm0710muxd" +RREPLACES = "gsm0710muxd" + +FILES_${PN} += "${datadir} ${sysconfdir}" diff --git a/recipes/freesmartphone/fso-monitord_git.bb b/recipes/freesmartphone/fso-monitord_git.bb new file mode 100644 index 0000000000..c7bbbe06c1 --- /dev/null +++ b/recipes/freesmartphone/fso-monitord_git.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "FSO monitor daemon" +SECTION = "console/network" +DEPENDS = "vala-native dbus dbus-glib" +LICENSE = "GPL" +PV = "0.2.0+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "${FREESMARTPHONE_GIT}/fso-monitord.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +inherit autotools update-rc.d + +INITSCRIPT_NAME = "fso-monitord" +INITSCRIPT_PARAMS = "defaults 35" + +RDEPENDS_${PN} = "frameworkd" + +FILES_${PN} += "${datadir} ${sysconfdir}" diff --git a/recipes/freesmartphone/fso-sounds.bb b/recipes/freesmartphone/fso-sounds.bb new file mode 100644 index 0000000000..5ee60e19d6 --- /dev/null +++ b/recipes/freesmartphone/fso-sounds.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "A set of notification sounds" +LICENSE = "PD" +SECTION = "multimedia" +PV = "0.0.1+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "\ + http://gallium.prg.dtu.dk/HVSC/C64Music/MUSICIANS/G/Galway_Martin/Arkanoid_PSID.sid \ + ${FREESMARTPHONE_GIT}/artwork.git;protocol=git;branch=master \ +" + +do_install() { + install -d ${D}${datadir}/sounds/ + install ${WORKDIR}/*.sid ${D}${datadir}/sounds/ + install ${WORKDIR}/git/sounds/*.mp3 ${D}${datadir}/sounds/ +} + +FILES_${PN} = "${datadir}" +PACKAGE_ARCH = "all" diff --git a/recipes/freesmartphone/fsod/autofoo.patch b/recipes/freesmartphone/fsod/autofoo.patch new file mode 100644 index 0000000000..3ed26aeb79 --- /dev/null +++ b/recipes/freesmartphone/fsod/autofoo.patch @@ -0,0 +1,13 @@ +Index: fsod/configure.ac +=================================================================== +--- fsod/configure.ac ++++ ~fsod/configure.ac +@@ -85,7 +85,7 @@ if test "x$have_python" != "xno"; then + PY_EXEC_PREFIX=`$PYTHON -c 'import sys ; print sys.exec_prefix'` + PYTHON_LIBS="-lpython$PYTHON_VERSION" + PYTHON_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config" +- PYTHON_CFLAGS="-I$PY_PREFIX/include/python$PYTHON_VERSION" ++ PYTHON_CFLAGS="${PYTHON_INCLUDES}" # "-I`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_python_inc()'`" + PYTHON_MAKEFILE="$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config/Makefile" + PYTHON_LOCALMODLIBS=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE` + PYTHON_BASEMODLIBS=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE` diff --git a/recipes/freesmartphone/fsod_git.bb b/recipes/freesmartphone/fsod_git.bb new file mode 100644 index 0000000000..c0af2cace3 --- /dev/null +++ b/recipes/freesmartphone/fsod_git.bb @@ -0,0 +1,39 @@ +DESCRIPTION = "The C/Vala implementation of the freesmartphone.org framework APIs" +HOMEPAGE = "http://www.freesmartphone.org/" +AUTHOR = "Sudharshan S" +SECTION = "console/network" +DEPENDS = "dbus dbus-glib libnl vala-native" +# for pygobject-codegen +DEPENDS += "python-pygtk" +LICENSE = "LGPL" +PV = "0.1+gitr${SRCREV}" +PR = "r1" + +inherit autotools pkgconfig update-rc.d distutils-base + +EXTRA_OECONF = "--enable-python --with-python-includes=${STAGING_INCDIR}/.." + +INITSCRIPT_NAME = "fsod" +INITSCRIPT_PARAMS = "defaults 21" + +SRC_URI = "\ + ${FREESMARTPHONE_GIT}/openmoko-gsoc2008.git;protocol=git;branch=master \ + file://autofoo.patch;patch=1 \ +# file://fsod \ +" +S = "${WORKDIR}/git/fsod" + +do_install_append() { +# install -d ${D}${sysconfdir}/init.d +# install -m 0755 ${WORKDIR}/fsod ${D}${sysconfdir}/init.d/ +} + +RCONFLICTS_${PN} = "frameworkd" +RREPLACES_${PN} = "frameworkd" + +FILES_${PN} += "${sysconfdir} ${datadir}" +FILES_${PN}-dbg += "\ + ${bindir}/.debug \ + ${libdir}/fsod/subsystems/.debug \ + ${libdir}/fsod/subsystems/*/.debug \ +" diff --git a/recipes/freesmartphone/fsodeviced_git.bb b/recipes/freesmartphone/fsodeviced_git.bb new file mode 100644 index 0000000000..e8a77fd617 --- /dev/null +++ b/recipes/freesmartphone/fsodeviced_git.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Reference implementation of the org.freesmartphone.Device.* APIs" +SECTION = "console/network" +DEPENDS = "libfsoframework" +LICENSE = "GPL" +PV = "0.0.0.0+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "\ + ${FREESMARTPHONE_GIT}/cornucopia;protocol=git;branch=master \ +" +S = "${WORKDIR}/git/fsodeviced" + +inherit autotools + +FILES_${PN} += "${datadir}" diff --git a/recipes/freesmartphone/gsmd2_git.bb b/recipes/freesmartphone/gsmd2_git.bb new file mode 100644 index 0000000000..4d25aa94e9 --- /dev/null +++ b/recipes/freesmartphone/gsmd2_git.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "GSM 07.07 phone server" +HOMEPAGE = "http://www.freesmartphone.org/mediawiki/index.php/Implementations/gsmd2" +AUTHOR = "Ixonos Team" +SECTION = "console/network" +DEPENDS = "dbus dbus-glib" +LICENSE = "GPL" +PV = "0.1.0+gitr${SRCREV}" +PR = "r1" + +SRC_URI = "${FREESMARTPHONE_GIT}/gsmd2.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +inherit autotools + +EXTRA_OECONF = "--disable-tests" + +RDEPENDS = "fso-gsm0710muxd" diff --git a/recipes/freesmartphone/illume-theme-freesmartphone_git.bb b/recipes/freesmartphone/illume-theme-freesmartphone_git.bb new file mode 100644 index 0000000000..1351674a18 --- /dev/null +++ b/recipes/freesmartphone/illume-theme-freesmartphone_git.bb @@ -0,0 +1,42 @@ +DESCRIPTION = "Illume theme for the freesmartphone.org project" +HOMEPAGE = "http://illume.projects.openmoko.org/" +LICENSE = "MIT/BSD" +DEPENDS = "edje-native eet-native" +PV = "0.1.0+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "${FREESMARTPHONE_GIT}/artwork.git;protocol=git;branch=master" +S = "${WORKDIR}/git/illume" + +do_compile() { + cd illume && ./build.sh && cd .. + cd illume_init && ./build.sh && cd .. + cd illume-config + eet -e e.cfg config e.src 1 + eet -e module.battery.cfg config module.battery.src 1 + eet -e module.illume.cfg config module.illume.src 1 +} + +do_install() { + install -d ${D}${sysconfdir}/enlightenment + install -d ${D}${datadir}/enlightenment/data/themes/ + install -d ${D}${datadir}/enlightenment/data/init/ + install -d ${D}${datadir}/enlightenment/data/config/fso/ + + # Make fso the default profile + echo 'E_PROFILE="-profile fso"' > ${D}${sysconfdir}/enlightenment/default_profile + + install -m 0644 ${S}/illume/fso.edj ${D}${datadir}/enlightenment/data/themes/ + install -m 0644 ${S}/illume_init/fso_init.edj ${D}${datadir}/enlightenment/data/init/ + + install -m 0644 ${S}/illume-config/e.cfg ${D}${datadir}/enlightenment/data/config/fso/ + install -m 0644 ${S}/illume-config/module.battery.cfg ${D}${datadir}/enlightenment/data/config/fso/ + install -m 0644 ${S}/illume-config/module.illume.cfg ${D}${datadir}/enlightenment/data/config/fso/ +} + +RPROVIDES_${PN} = "illume-theme" +CONFFILES_${PN} = "${sysconfdir}/enlightenment/default_profile" +FILES_${PN} = "${sysconfdir}/enlightenment ${datadir}/enlightenment" + +PACKAGE_ARCH_${PN} = "all" + diff --git a/recipes/freesmartphone/libframeworkd-glib_git.bb b/recipes/freesmartphone/libframeworkd-glib_git.bb new file mode 100644 index 0000000000..79e040ed35 --- /dev/null +++ b/recipes/freesmartphone/libframeworkd-glib_git.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "freesmartphone.org API glib wrapper" +LICENSE = "LGPL" +SECTION = "devel" +DEPENDS = "dbus-glib" +PV = "0.0.2+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "${FREESMARTPHONE_GIT}/libframeworkd-glib.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +inherit autotools autotools_stage pkgconfig diff --git a/recipes/freesmartphone/libfsoframework_git.bb b/recipes/freesmartphone/libfsoframework_git.bb new file mode 100644 index 0000000000..7b03e17041 --- /dev/null +++ b/recipes/freesmartphone/libfsoframework_git.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "freesmartphone.org support library" +LICENSE = "GPL" +SECTION = "devel" +DEPENDS = "vala-native glib-2.0 dbus dbus-glib" +PV = "0.0.0.0+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "\ + ${FREESMARTPHONE_GIT}/cornucopia;protocol=git;branch=master \ +" +S = "${WORKDIR}/git/libfsoframework" + +inherit autotools_stage pkgconfig + +FILES_${PN} += "${sysconfdir} ${datadir}" +# ship vapi files +FILES_${PN}-dev += "${datadir}/vala" diff --git a/recipes/freesmartphone/libgsm0710_git.bb b/recipes/freesmartphone/libgsm0710_git.bb new file mode 100644 index 0000000000..b9d9b36010 --- /dev/null +++ b/recipes/freesmartphone/libgsm0710_git.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "A GSM 07.10 Protocol Engine" +LICENSE = "GPL" +SECTION = "devel" +PV = "1.1.0+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "${FREESMARTPHONE_GIT}/libgsm0710.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +inherit autotools_stage pkgconfig + +# ship vapi file +FILES_${PN}-dev += "${datadir}/vala" diff --git a/recipes/freesmartphone/libgsm0710mux/abyss.conf b/recipes/freesmartphone/libgsm0710mux/abyss.conf new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/recipes/freesmartphone/libgsm0710mux/abyss.conf diff --git a/recipes/freesmartphone/libgsm0710mux/om-3d7k/abyss.conf b/recipes/freesmartphone/libgsm0710mux/om-3d7k/abyss.conf new file mode 100644 index 0000000000..48630146df --- /dev/null +++ b/recipes/freesmartphone/libgsm0710mux/om-3d7k/abyss.conf @@ -0,0 +1,16 @@ +[omuxerd] +# set to 1, when the first AllocChannel request opens a session +autoopen = 1 +# set to 1, when the last ReleaseChannel closes the session +autoclose = 1 +# set to 1, when closing the session should close the program +autoexit = 1 + +[session] +# set 0 for 07.10 basic multiplexing, 1 for advanced +mode = 0 +# set maximum 07.10 frame size +framesize = 98 +# configure modem port +port = /dev/ttySAC1 +speed = 115200 diff --git a/recipes/freesmartphone/libgsm0710mux/om-gta01/abyss.conf b/recipes/freesmartphone/libgsm0710mux/om-gta01/abyss.conf new file mode 100644 index 0000000000..67da210396 --- /dev/null +++ b/recipes/freesmartphone/libgsm0710mux/om-gta01/abyss.conf @@ -0,0 +1,15 @@ +[omuxerd] +autoopen = 1 +autoclose = 1 +autoexit = 1 + +[session] +mode = 1 +framesize = 98 +port = /dev/ttySAC0 +speed = 115200 + +[device] +wakeup_threshold = 6 +wakeup_waitms = 200 + diff --git a/recipes/freesmartphone/libgsm0710mux/om-gta02/abyss.conf b/recipes/freesmartphone/libgsm0710mux/om-gta02/abyss.conf new file mode 100644 index 0000000000..67da210396 --- /dev/null +++ b/recipes/freesmartphone/libgsm0710mux/om-gta02/abyss.conf @@ -0,0 +1,15 @@ +[omuxerd] +autoopen = 1 +autoclose = 1 +autoexit = 1 + +[session] +mode = 1 +framesize = 98 +port = /dev/ttySAC0 +speed = 115200 + +[device] +wakeup_threshold = 6 +wakeup_waitms = 200 + diff --git a/recipes/freesmartphone/libgsm0710mux_git.bb b/recipes/freesmartphone/libgsm0710mux_git.bb new file mode 100644 index 0000000000..1d69e3d9d3 --- /dev/null +++ b/recipes/freesmartphone/libgsm0710mux_git.bb @@ -0,0 +1,38 @@ +DESCRIPTION = "A GSM 07.10 Multiplexing Engine" +AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" +LICENSE = "GPL" +SECTION = "devel" +DEPENDS = "libgsm0710 vala-native glib-2.0" +PV = "0.3.1+gitr${SRCREV}" +PR = "r2" + +SRC_URI = "\ + ${FREESMARTPHONE_GIT}/libgsm0710mux;protocol=git;branch=master \ + file://abyss.conf \ +" +S = "${WORKDIR}/git" + +inherit autotools_stage pkgconfig + +do_install_append() { + install -d ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/abyss.conf ${D}${sysconfdir}/ +} + +PACKAGES =+ "${PN}-config" + +FILES_${PN} += "${sysconfdir} ${datadir}" +# ship vapi file +FILES_${PN}-dev += "${datadir}/vala" + +RRECOMMENDS_${PN} = "${PN}-config" + +FILES_${PN}-config = "\ + ${sysconfdir}/abyss.conf \ +" + +CONFFILES_${PN}-config = "\ + ${sysconfdir}/abyss.conf \ +" + +PACKAGE_ARCH_${PN} = "${BASE_PACKAGE_ARCH}" diff --git a/recipes/freesmartphone/mickeydbus_git.bb b/recipes/freesmartphone/mickeydbus_git.bb new file mode 100644 index 0000000000..4774f84ba1 --- /dev/null +++ b/recipes/freesmartphone/mickeydbus_git.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Mickey's DBus introspection and calling Program" +AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" +HOMEPAGE = "http://www.freesmartphone.org" +SECTION = "console/network" +LICENSE = "GPLv2" +PV = "0.9.2+gitr${SRCREV}" +PR = "r1" + +SRC_URI = "${FREESMARTPHONE_GIT}/python-helpers.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +do_install() { + install -d ${D}${bindir} + install -m 0755 mickeydbus/mdbus ${D}${bindir} +} + +RDEPENDS_${PN} = "\ + python-dbus \ + python-pprint \ +" + +PACKAGE_ARCH_${PN} = "all" + diff --git a/recipes/freesmartphone/mickeyterm_git.bb b/recipes/freesmartphone/mickeyterm_git.bb new file mode 100644 index 0000000000..276eeb55ab --- /dev/null +++ b/recipes/freesmartphone/mickeyterm_git.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "Mickey's Terminal Program" +AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" +HOMEPAGE = "http://www.freesmartphone.org" +SECTION = "console/network" +LICENSE = "GPLv2" +PV = "2.9.1+gitr${SRCREV}" +PR = "r3" + +SRC_URI = "${FREESMARTPHONE_GIT}/python-helpers.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +do_install() { + install -d ${D}${bindir} + install -m 0755 mickeyterm/mickeyterm ${D}${bindir} +} + +RDEPENDS_${PN} = "\ + python-readline \ + python-pyserial \ + python-textutils \ + python-threading \ +" +RRECOMMENDS_${PN} += "\ + fso-gsm0710muxd \ + python-dbus \ +" + +PACKAGE_ARCH_${PN} = "all" diff --git a/recipes/freesmartphone/multicat_git.bb b/recipes/freesmartphone/multicat_git.bb new file mode 100644 index 0000000000..c9344390ed --- /dev/null +++ b/recipes/freesmartphone/multicat_git.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "Multiple cat utility" +AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" +HOMEPAGE = "http://www.freesmartphone.org" +SECTION = "console" +LICENSE = "GPLv2" +PV = "0.0.0+gitr${SRCREV}" +PR = "r1" + +SRC_URI = "${FREESMARTPHONE_GIT}/python-helpers.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +do_install() { + install -d ${D}${bindir} + install -m 0755 multicat/multicat ${D}${bindir} +} + +RDEPENDS_${PN} = "\ + python-core \ +" + +PACKAGE_ARCH_${PN} = "all" diff --git a/recipes/freesmartphone/pylgrim_svn.bb b/recipes/freesmartphone/pylgrim_svn.bb new file mode 100644 index 0000000000..beeb44c110 --- /dev/null +++ b/recipes/freesmartphone/pylgrim_svn.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "A GPS moving map application featuring OpenStreetMap tiles" +HOMEPAGE = "http://neo1973-germany.de/wiki/pylgrim" +AUTHOR = "Josch" +LICENSE = "GPL" +SECTION = "x11/navigation" +DEPENDS = "edje-native" +RDEPENDS = "task-python-efl python-textutils" +PV = "0.0+svnr${SRCREV}" +PE = "1" + +SRC_URI = "svn://neo1973-germany.de/svn;module=pylgrim;proto=http" +S = "${WORKDIR}/pylgrim" + +do_compile() { + edje_cc pylgrim.edc +} + +do_install() { + install -d ${D}${datadir}/pylgrim + for i in *.py pylgrim.edj; do + install -m 0755 $i ${D}${datadir}/pylgrim/ + done +} + +FILES_${PN} += "${datadir}" diff --git a/recipes/freesmartphone/zhone/80zhone b/recipes/freesmartphone/zhone/80zhone new file mode 100644 index 0000000000..5a36e873f4 --- /dev/null +++ b/recipes/freesmartphone/zhone/80zhone @@ -0,0 +1,4 @@ +#!/bin/sh -e +zhone > /tmp/zhone.log 2>&1 & +renice -3 $! +exit 0 diff --git a/recipes/freesmartphone/zhone_git.bb b/recipes/freesmartphone/zhone_git.bb new file mode 100644 index 0000000000..0fcc25c5f6 --- /dev/null +++ b/recipes/freesmartphone/zhone_git.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "A phone UI based on the freesmartphone.org framework" +LICENSE = "GPL" +SECTION = "x11" +DEPENDS = "edje-native python-pyrex-native python-cython-native" +PV = "0.0.2+gitr${SRCREV}" +PR = "r12" + +SRC_URI = "${FREESMARTPHONE_GIT}/zhone.git;protocol=git;branch=master \ + file://80zhone" +S = "${WORKDIR}/git" + +inherit distutils + +do_install_append() { + install -d ${D}${sysconfdir}/X11/Xsession.d/ + install -m 0755 ${WORKDIR}/80zhone ${D}${sysconfdir}/X11/Xsession.d/ +} + +FILES_${PN} += "${datadir} ${sysconfdir}" + +RDEPENDS = "\ + task-python-efl \ + python-logging \ + python-textutils \ + python-dbus \ + python-pycairo \ +" |