From 02c3dce797180ae9392503ff75f984f9d5599016 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sat, 3 May 2008 22:43:14 +0000 Subject: convert freesmartphone recipes from SVN to GIT, add fso-autorev.inc --- conf/distro/include/fso-autorev.inc | 8 +++ conf/distro/include/sane-srcrevs.inc | 12 ++-- packages/freesmartphone/gsm0710muxd_git.bb | 23 ++++++++ packages/freesmartphone/gsm0710muxd_svn.bb | 23 -------- packages/freesmartphone/py-odeviced/.mtn2git_empty | 0 packages/freesmartphone/py-odeviced/odeviced | 40 ------------- packages/freesmartphone/py-odeviced/odeviced.conf | 0 .../py-odeviced/om-gta02/.mtn2git_empty | 0 .../py-odeviced/om-gta02/odeviced.conf | 4 -- packages/freesmartphone/py-odeviced_svn.bb | 35 ----------- packages/freesmartphone/pygsm_git.bb | 18 ++++++ packages/freesmartphone/pyneod_git.bb | 67 ++++++++++++++++++++++ packages/freesmartphone/pyneod_svn.bb | 66 --------------------- packages/freesmartphone/pyneog_git.bb | 32 +++++++++++ packages/freesmartphone/pyneog_svn.bb | 31 ---------- .../freesmartphone/python-odeviced/.mtn2git_empty | 0 packages/freesmartphone/python-odeviced/odeviced | 40 +++++++++++++ .../freesmartphone/python-odeviced/odeviced.conf | 0 .../python-odeviced/om-gta02/.mtn2git_empty | 0 .../python-odeviced/om-gta02/odeviced.conf | 4 ++ packages/freesmartphone/python-odeviced_git.bb | 35 +++++++++++ .../freesmartphone/python-ophoned/.mtn2git_empty | 0 packages/freesmartphone/python-ophoned_git.bb | 34 +++++++++++ 23 files changed, 268 insertions(+), 204 deletions(-) create mode 100644 conf/distro/include/fso-autorev.inc create mode 100644 packages/freesmartphone/gsm0710muxd_git.bb delete mode 100644 packages/freesmartphone/gsm0710muxd_svn.bb delete mode 100644 packages/freesmartphone/py-odeviced/.mtn2git_empty delete mode 100644 packages/freesmartphone/py-odeviced/odeviced delete mode 100644 packages/freesmartphone/py-odeviced/odeviced.conf delete mode 100644 packages/freesmartphone/py-odeviced/om-gta02/.mtn2git_empty delete mode 100644 packages/freesmartphone/py-odeviced/om-gta02/odeviced.conf delete mode 100644 packages/freesmartphone/py-odeviced_svn.bb create mode 100644 packages/freesmartphone/pygsm_git.bb create mode 100644 packages/freesmartphone/pyneod_git.bb delete mode 100644 packages/freesmartphone/pyneod_svn.bb create mode 100644 packages/freesmartphone/pyneog_git.bb delete mode 100644 packages/freesmartphone/pyneog_svn.bb create mode 100644 packages/freesmartphone/python-odeviced/.mtn2git_empty create mode 100644 packages/freesmartphone/python-odeviced/odeviced create mode 100644 packages/freesmartphone/python-odeviced/odeviced.conf create mode 100644 packages/freesmartphone/python-odeviced/om-gta02/.mtn2git_empty create mode 100644 packages/freesmartphone/python-odeviced/om-gta02/odeviced.conf create mode 100644 packages/freesmartphone/python-odeviced_git.bb create mode 100644 packages/freesmartphone/python-ophoned/.mtn2git_empty create mode 100644 packages/freesmartphone/python-ophoned_git.bb diff --git a/conf/distro/include/fso-autorev.inc b/conf/distro/include/fso-autorev.inc new file mode 100644 index 0000000000..6288c0ab91 --- /dev/null +++ b/conf/distro/include/fso-autorev.inc @@ -0,0 +1,8 @@ +SRCREV_pn-gsm0710muxd = "${AUTOREV}" +SRCREV_pn-pygsm = "${AUTOREV}" +SRCREV_pn-pyneod = "${AUTOREV}" +SRCREV_pn-pynoeg = "${AUTOREV}" +SRCREV_pn-python-odeviced = "${AUTOREV}" +SRCREV_pn-python-ophoned = "${AUTOREV}" +SRCREV_pn-python-pytrc = "${AUTOREV}" +SRCREV_pn-zhone = "${AUTOREV}" diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc index b465dae3ea..db944f9861 100644 --- a/conf/distro/include/sane-srcrevs.inc +++ b/conf/distro/include/sane-srcrevs.inc @@ -37,7 +37,7 @@ SRCREV_pn-fstests ?= "204" SRCREV_pn-gconf-dbus ?= "641" SRCREV_pn-gnuradio ?= "6377" SRCREV_pn-gpe-contacts ?= "9312" -SRCREV_pn-gsm0710muxd ?= "295" +SRCREV_pn-gsm0710muxd ?= "6fecc78198dd821bbe29efd096bd8fecd855179d" SRCREV_pn-gtkhtml2 ?= "1158" SRCREV_pn-gypsy ?= "134" SRCREV_pn-hildon-1 ?= "14429" @@ -152,10 +152,12 @@ SRCREV_pn-opkg-sdk ?= "4247" SRCREV_pn-oprofileui ?= "160" SRCREV_pn-packagekit ?= "432046796fa420f57ab6c71081f7ba14e9a92574" SRCREV_pn-psplash ?= "249" -SRCREV_pn-py-odeviced ?= "283" +SRCREV_pn-python-odeviced ?= "e2ae2c252ef43be23781c2d09567a8d21ca1e965" +SRCREV_pn-python-ophoned ?= "e657c81a6729aeef21ba4c6b75590658cbbef391" +SRCREV_pn-pygsm ?= "976477f6b403f422b4ea730f71ebf409f6671141" SRCREV_pn-pylgrim ?= "20" -SRCREV_pn-pyneod ?= "88" -SRCREV_pn-pyneog ?= "88" +SRCREV_pn-pyneod ?= "41de4d538b50b27ab2a2f5aae1a180b880a05b6a" +SRCREV_pn-pyneog ?= "41de4d538b50b27ab2a2f5aae1a180b880a05b6a" SRCREV_pn-python-formencode = "3148" SRCREV_pn-python-gsmd = "148" SRCREV_pn-python-lightmediascanner = "68" @@ -173,4 +175,4 @@ SRCREV_pn-webkit-qt ?= "28656" SRCREV_pn-webkit-qtopia ?= "28656" SRCREV_pn-wesnoth ?= "22021" SRCREV_pn-xoo ?= "1971" - +SRCREV_pn-zhone ?= "a9496c35328f66ed8e4f840709721c5bacae2bb4" diff --git a/packages/freesmartphone/gsm0710muxd_git.bb b/packages/freesmartphone/gsm0710muxd_git.bb new file mode 100644 index 0000000000..d5e9bd0672 --- /dev/null +++ b/packages/freesmartphone/gsm0710muxd_git.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "GSM 07.10 muxer userspace daemon" +HOMEPAGE = "http://www.freesmartphone.org/mediawiki/index.php/Implementations/gsm0710muxd" +AUTHOR = "M. Dietrich" +SECTION = "console/network" +DEPENDS = "dbus dbus-glib" +RDEPENDS = "dbus dbus-glib" +LICENSE = "GPL" +PV = "0.9.1+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "${FREESMARTPHONE_GIT}/gsm0710muxd.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +inherit autotools + +# install init script for people who want to manually +# start/stop it, but don't add runlevels. +do_install_append() { + install -d ${D}${sysconfdir}/init.d + install -m 0755 data/gsm0710muxd ${D}${sysconfdir}/init.d/ +} + +FILES_${PN} += "${datadir} ${sysconfdir}" diff --git a/packages/freesmartphone/gsm0710muxd_svn.bb b/packages/freesmartphone/gsm0710muxd_svn.bb deleted file mode 100644 index 07eac3c919..0000000000 --- a/packages/freesmartphone/gsm0710muxd_svn.bb +++ /dev/null @@ -1,23 +0,0 @@ -DESCRIPTION = "GSM 07.10 muxer userspace daemon" -HOMEPAGE = "http://www.freesmartphone.org" -AUTHOR = "M. Dietrich" -SECTION = "console/network" -DEPENDS = "dbus dbus-glib" -RDEPENDS = "dbus dbus-glib" -LICENSE = "GPL" -PV = "0.9.1+svnr${SRCREV}" -PR = "r1" - -SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=gsm0710muxd" -S = "${WORKDIR}/gsm0710muxd" - -inherit autotools - -# install init script for people who want to manually -# start/stop it, but don't add runlevels. -do_install_append() { - install -d ${D}${sysconfdir}/init.d - install -m 0755 data/gsm0710muxd ${D}${sysconfdir}/init.d/ -} - -FILES_${PN} += "${datadir} ${sysconfdir}" diff --git a/packages/freesmartphone/py-odeviced/.mtn2git_empty b/packages/freesmartphone/py-odeviced/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/freesmartphone/py-odeviced/odeviced b/packages/freesmartphone/py-odeviced/odeviced deleted file mode 100644 index 52d3a1d196..0000000000 --- a/packages/freesmartphone/py-odeviced/odeviced +++ /dev/null @@ -1,40 +0,0 @@ -#! /bin/sh -# -# odeviced This shell script starts and stops the open device daemon. -# -# chkconfig: 345 90 20 -# description: py-odeviced is the open device daemon -# processname: python - -PATH=/bin:/usr/bin:/sbin:/usr/sbin -NAME=odeviced - -[ -f /etc/default/rcS ] && . /etc/default/rcS - -case "$1" in - start) - echo -n "Starting open device daemon: " - start-stop-daemon --start --pidfile /var/run/${NAME}.pid --make-pidfile --background -x /usr/bin/odeviced - if [ $? = 0 ]; then - echo "(ok)" - else - echo "(failed)" - fi - ;; - stop) - echo -n "Stopping open device 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/packages/freesmartphone/py-odeviced/odeviced.conf b/packages/freesmartphone/py-odeviced/odeviced.conf deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/freesmartphone/py-odeviced/om-gta02/.mtn2git_empty b/packages/freesmartphone/py-odeviced/om-gta02/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/freesmartphone/py-odeviced/om-gta02/odeviced.conf b/packages/freesmartphone/py-odeviced/om-gta02/odeviced.conf deleted file mode 100644 index b2f979a784..0000000000 --- a/packages/freesmartphone/py-odeviced/om-gta02/odeviced.conf +++ /dev/null @@ -1,4 +0,0 @@ -[idlenotifier] -# don't read from accellerometers for now -ignoreinput=2,3 - diff --git a/packages/freesmartphone/py-odeviced_svn.bb b/packages/freesmartphone/py-odeviced_svn.bb deleted file mode 100644 index 55b230c3ec..0000000000 --- a/packages/freesmartphone/py-odeviced_svn.bb +++ /dev/null @@ -1,35 +0,0 @@ -DESCRIPTION = "The Open Device Daemon Prototype in Python" -HOMEPAGE = "http://www.freesmartphone.org" -AUTHOR = "Michael 'Mickey' Lauer " -SECTION = "console/network" -DEPENDS = "python-cython-native python-pyrex-native" -LICENSE = "GPLv2" -PV = "0.7.9+svnr${SRCREV}" -PR = "r0" - -inherit distutils update-rc.d - -INITSCRIPT_NAME = "odeviced" -INITSCRIPT_PARAMS = "defaults 20" - -SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=py-odeviced \ - file://odeviced \ - file://odeviced.conf" -S = "${WORKDIR}/py-odeviced" - -do_install_append() { - install -d ${D}${sysconfdir}/init.d/ - install -m 0755 ${WORKDIR}/odeviced ${D}${sysconfdir}/init.d/ - install -m 0644 ${WORKDIR}/odeviced.conf ${D}${sysconfdir} - install -d ${D}${sysconfdir}/dbus-1/system.d/ - mv -f ${D}${datadir}/etc/dbus-1/system.d/odeviced.conf ${D}${sysconfdir}/dbus-1/system.d/ -} - -RDEPENDS_${PN} += "\ - python-dbus \ - python-pygobject \ - python-pyrtc \ - python-syslog \ -" - -FILES_${PN} += "${sysconfdir}" diff --git a/packages/freesmartphone/pygsm_git.bb b/packages/freesmartphone/pygsm_git.bb new file mode 100644 index 0000000000..7ee9d6824f --- /dev/null +++ b/packages/freesmartphone/pygsm_git.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Python support library for GSM 07.07 / GSM 07.05 daemons" +AUTHOR = "Michael Dietrich" +SECTION = "console/network" +DEPENDS = "python-cython-native python-pyrex-native" +LICENSE = "GPL" +PV = "0.0.0+gitr${SRCREV}" +PR = "r0" + +inherit distutils + +SRC_URI = "${FREESMARTPHONE_GIT}/pygsm.git;protocol=git;branch=master" +S = "${WORKDIR}/git" + +RDEPENDS_${PN} += "\ + python-dbus \ + python-pygobject \ + python-syslog \ +" diff --git a/packages/freesmartphone/pyneod_git.bb b/packages/freesmartphone/pyneod_git.bb new file mode 100644 index 0000000000..7cdfaace22 --- /dev/null +++ b/packages/freesmartphone/pyneod_git.bb @@ -0,0 +1,67 @@ +DESCRIPTION = "Zad - daemons" +HOMEPAGE = "http://neo1973-germany.de/wiki/Zad" +AUTHOR = "M. Dietrich" +SECTION = "console/network" +DEPENDS = "python" +LICENSE = "GPL" +PV = "0.0.0+gitr${SRCREV}" +PR = "r0" + +inherit update-rc.d + +INITSCRIPT_NAME = "pyneod" +INITSCRIPT_PARAMS = "defaults 40" + +SRC_URI = "${FREESMARTPHONE_GIT}/pyneo.git;protocol=git;branch=master" +S = "${WORKDIR}/git/pyneod" + +export D := "${D}" +export PREFIX = "${prefix}" + +do_compile() { + : +} + +do_install() { + python setup.py +} + +RCONFLICTS = "gsmd" +RREPLACES = "gsmd" +RDEPENDS = "\ + python-codecs \ + python-compression \ + python-crypt \ + python-curses \ + python-datetime \ + python-dbus \ + python-fcntl \ + python-gdbm \ + python-gst \ + python-html \ + python-io \ + python-lang \ + python-logging \ + python-math \ + python-mime \ + python-netclient \ + python-netserver \ + python-pickle \ + python-pprint \ + python-pycrypto \ + python-pygobject \ + python-pyserial \ + python-re \ + python-readline \ + python-shell \ + python-simplejson \ + python-sqlite3 \ + python-stringold \ + python-syslog \ + python-threading \ + python-xml \ + python-zlib \ +" + +FILES_${PN} = "${datadir} ${sysconfdir} ${bindir}" +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/packages/freesmartphone/pyneod_svn.bb b/packages/freesmartphone/pyneod_svn.bb deleted file mode 100644 index 1ca728afe1..0000000000 --- a/packages/freesmartphone/pyneod_svn.bb +++ /dev/null @@ -1,66 +0,0 @@ -DESCRIPTION = "FIC Neo Smartphone daemons implementing the freesmartphone.org dbus APIs" -AUTHOR = "M. Dietrich" -SECTION = "console/network" -DEPENDS = "python" -LICENSE = "GPL" -PV = "0.0+svnr${SRCREV}" -PR = "r3" - -inherit update-rc.d - -INITSCRIPT_NAME = "pyneod" -INITSCRIPT_PARAMS = "defaults 40" - -SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=pyneod" -S = "${WORKDIR}/pyneod" - -export D := "${D}" -export PREFIX = "${prefix}" - -do_compile() { - : -} - -do_install() { - python setup.py -} - -RCONFLICTS = "gsmd" -RREPLACES = "gsmd" -RDEPENDS = "\ - python-codecs \ - python-compression \ - python-crypt \ - python-curses \ - python-datetime \ - python-dbus \ - python-fcntl \ - python-gdbm \ - python-gst \ - python-html \ - python-io \ - python-lang \ - python-logging \ - python-math \ - python-mime \ - python-netclient \ - python-netserver \ - python-pickle \ - python-pprint \ - python-pycrypto \ - python-pygobject \ - python-pyserial \ - python-re \ - python-readline \ - python-shell \ - python-simplejson \ - python-sqlite3 \ - python-stringold \ - python-syslog \ - python-threading \ - python-xml \ - python-zlib \ -" - -FILES_${PN} = "${datadir} ${sysconfdir} ${bindir}" -PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/packages/freesmartphone/pyneog_git.bb b/packages/freesmartphone/pyneog_git.bb new file mode 100644 index 0000000000..c7d0235d03 --- /dev/null +++ b/packages/freesmartphone/pyneog_git.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "Zad - GUI" +HOMEPAGE = "http://neo1973-germany.de/wiki/Zad" +AUTHOR = "M. Dietrich" +SECTION = "python/ui" +LICENSE = "GPL" +PV = "0.0.0+gitr${SRCREV}" +PR = "r0" + +SRC_URI = "${FREESMARTPHONE_GIT}/pyneo.git;protocol=git;branch=master" +S = "${WORKDIR}/git/pyneog" + +do_compile() { + : +} + +do_install() { + find . -name ".svn"|xargs rm -rf + install -d ${D}${datadir}/pyneog + for i in media *.py; do + cp -a $i ${D}${datadir}/pyneog/ + done + + install -d ${D}${sysconfdir}/X11/Xsession.d/ + install -m 0755 80pyneog ${D}${sysconfdir}/X11/Xsession.d/ +} + +FILES_${PN} = "${datadir} ${bindir} ${sysconfdir}" + +RCONFLICTS = "openmoko-session2" +RREPlACES = "openmoko-session2" +RDEPENDS = "task-python-efl" +PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/packages/freesmartphone/pyneog_svn.bb b/packages/freesmartphone/pyneog_svn.bb deleted file mode 100644 index 389c7369e5..0000000000 --- a/packages/freesmartphone/pyneog_svn.bb +++ /dev/null @@ -1,31 +0,0 @@ -DESCRIPTION = "FIC Neo Smartphone UI Environment" -AUTHOR = "M. Dietrich" -SECTION = "python/ui" -LICENSE = "GPL" -PV = "0.0+svnr${SRCREV}" -PR = "r0" - -SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=pyneog" -S = "${WORKDIR}/pyneog" - -do_compile() { - : -} - -do_install() { - find . -name ".svn"|xargs rm -rf - install -d ${D}${datadir}/pyneog - for i in media *.py; do - cp -a $i ${D}${datadir}/pyneog/ - done - - install -d ${D}${sysconfdir}/X11/Xsession.d/ - install -m 0755 80pyneog ${D}${sysconfdir}/X11/Xsession.d/ -} - -FILES_${PN} = "${datadir} ${bindir} ${sysconfdir}" - -RCONFLICTS = "openmoko-session2" -RREPlACES = "openmoko-session2" -RDEPENDS = "task-python-efl" -PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/packages/freesmartphone/python-odeviced/.mtn2git_empty b/packages/freesmartphone/python-odeviced/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/freesmartphone/python-odeviced/odeviced b/packages/freesmartphone/python-odeviced/odeviced new file mode 100644 index 0000000000..52d3a1d196 --- /dev/null +++ b/packages/freesmartphone/python-odeviced/odeviced @@ -0,0 +1,40 @@ +#! /bin/sh +# +# odeviced This shell script starts and stops the open device daemon. +# +# chkconfig: 345 90 20 +# description: py-odeviced is the open device daemon +# processname: python + +PATH=/bin:/usr/bin:/sbin:/usr/sbin +NAME=odeviced + +[ -f /etc/default/rcS ] && . /etc/default/rcS + +case "$1" in + start) + echo -n "Starting open device daemon: " + start-stop-daemon --start --pidfile /var/run/${NAME}.pid --make-pidfile --background -x /usr/bin/odeviced + if [ $? = 0 ]; then + echo "(ok)" + else + echo "(failed)" + fi + ;; + stop) + echo -n "Stopping open device 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/packages/freesmartphone/python-odeviced/odeviced.conf b/packages/freesmartphone/python-odeviced/odeviced.conf new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/freesmartphone/python-odeviced/om-gta02/.mtn2git_empty b/packages/freesmartphone/python-odeviced/om-gta02/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/freesmartphone/python-odeviced/om-gta02/odeviced.conf b/packages/freesmartphone/python-odeviced/om-gta02/odeviced.conf new file mode 100644 index 0000000000..b2f979a784 --- /dev/null +++ b/packages/freesmartphone/python-odeviced/om-gta02/odeviced.conf @@ -0,0 +1,4 @@ +[idlenotifier] +# don't read from accellerometers for now +ignoreinput=2,3 + diff --git a/packages/freesmartphone/python-odeviced_git.bb b/packages/freesmartphone/python-odeviced_git.bb new file mode 100644 index 0000000000..d380473878 --- /dev/null +++ b/packages/freesmartphone/python-odeviced_git.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "The Open Device Daemon Prototype in Python" +HOMEPAGE = "http://www.freesmartphone.org/mediawiki/index.php/Implementations/OpenDeviceDaemon" +AUTHOR = "Michael 'Mickey' Lauer " +SECTION = "console/network" +DEPENDS = "python-cython-native python-pyrex-native" +LICENSE = "GPLv2" +PV = "0.7.9+gitr${SRCREV}" +PR = "r0" + +inherit distutils update-rc.d + +INITSCRIPT_NAME = "odeviced" +INITSCRIPT_PARAMS = "defaults 20" + +SRC_URI = "${FREESMARTPHONE_GIT}/python-odeviced.git;protocol=git;branch=master \ + file://odeviced \ + file://odeviced.conf" +S = "${WORKDIR}/git" + +do_install_append() { + install -d ${D}${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/odeviced ${D}${sysconfdir}/init.d/ + install -m 0644 ${WORKDIR}/odeviced.conf ${D}${sysconfdir} + install -d ${D}${sysconfdir}/dbus-1/system.d/ + mv -f ${D}${datadir}/etc/dbus-1/system.d/odeviced.conf ${D}${sysconfdir}/dbus-1/system.d/ +} + +RDEPENDS_${PN} += "\ + python-dbus \ + python-pygobject \ + python-pyrtc \ + python-syslog \ +" + +FILES_${PN} += "${sysconfdir}" diff --git a/packages/freesmartphone/python-ophoned/.mtn2git_empty b/packages/freesmartphone/python-ophoned/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/freesmartphone/python-ophoned_git.bb b/packages/freesmartphone/python-ophoned_git.bb new file mode 100644 index 0000000000..ebfe0c4b13 --- /dev/null +++ b/packages/freesmartphone/python-ophoned_git.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "The Open Phone Daemon (Python Implementation)" +HOMEPAGE = "http://www.freesmartphone.org/mediawiki/index.php/Implementations/OpenPhoneServer" +AUTHOR = "Michael 'Mickey' Lauer " +SECTION = "console/network" +DEPENDS = "python-cython-native python-pyrex-native" +LICENSE = "GPLv2" +PV = "0.0.0+gitr${SRCREV}" +PR = "r0" + +inherit distutils update-rc.d + +INITSCRIPT_NAME = "ophoned" +INITSCRIPT_PARAMS = "defaults 20" + +SRC_URI = "${FREESMARTPHONE_GIT}/python-ophoned.git;protocol=git;branch=master \ + file://ophoned" +S = "${WORKDIR}/git" + +do_install_append() { + install -d ${D}${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/ophoned ${D}${sysconfdir}/init.d/ +# install -m 0644 ${WORKDIR}/odeviced.conf ${D}${sysconfdir} + install -d ${D}${sysconfdir}/dbus-1/system.d/ +# mv -f ${D}${datadir}/etc/dbus-1/system.d/odeviced.conf ${D}${sysconfdir}/dbus-1/system.d/ +} + +RDEPENDS_${PN} += "\ + python-dbus \ + python-pygobject \ + python-pyrtc \ + python-syslog \ +" + +FILES_${PN} += "${sysconfdir}" -- cgit v1.2.3