diff options
-rw-r--r-- | meta/conf/distro/include/poky-fixed-revisions.inc | 1 | ||||
-rw-r--r-- | meta/conf/distro/include/poky-floating-revisions.inc | 1 | ||||
-rw-r--r-- | meta/packages/ofono/files/ofono | 42 | ||||
-rw-r--r-- | meta/packages/ofono/ofono.inc | 14 | ||||
-rw-r--r-- | meta/packages/ofono/ofono_0.12.bb | 9 | ||||
-rw-r--r-- | meta/packages/ofono/ofono_git.bb | 14 |
6 files changed, 81 insertions, 0 deletions
diff --git a/meta/conf/distro/include/poky-fixed-revisions.inc b/meta/conf/distro/include/poky-fixed-revisions.inc index 7674db261a..233da98815 100644 --- a/meta/conf/distro/include/poky-fixed-revisions.inc +++ b/meta/conf/distro/include/poky-fixed-revisions.inc | |||
@@ -196,6 +196,7 @@ SRCREV_pn-qemugl-nativesdk = "d888bbc723c00d197d34a39b5b7448660ec1b1c0" | |||
196 | SRCREV_pn-gobject-introspection = "efa7266bcf78478ce62e8dd778a4f0417bfd4d15" | 196 | SRCREV_pn-gobject-introspection = "efa7266bcf78478ce62e8dd778a4f0417bfd4d15" |
197 | #c54f10f4caef35b42229c48951ee647ef05ab557" | 197 | #c54f10f4caef35b42229c48951ee647ef05ab557" |
198 | SRCREV_pn-gobject-introspection-native = "efa7266bcf78478ce62e8dd778a4f0417bfd4d15" | 198 | SRCREV_pn-gobject-introspection-native = "efa7266bcf78478ce62e8dd778a4f0417bfd4d15" |
199 | SRCREV_pn-ofono = "14544d5996836f628613c2ce544380ee6fc8f514" | ||
199 | 200 | ||
200 | SRCREVMOZILLAHEADLESS ?= "f4348fd85697" | 201 | SRCREVMOZILLAHEADLESS ?= "f4348fd85697" |
201 | 202 | ||
diff --git a/meta/conf/distro/include/poky-floating-revisions.inc b/meta/conf/distro/include/poky-floating-revisions.inc index 99907c539c..5037265465 100644 --- a/meta/conf/distro/include/poky-floating-revisions.inc +++ b/meta/conf/distro/include/poky-floating-revisions.inc | |||
@@ -57,6 +57,7 @@ SRCREV_pn-libmatchbox ?= "${AUTOREV}" | |||
57 | SRCREV_pn-tasks ?= "${AUTOREV}" | 57 | SRCREV_pn-tasks ?= "${AUTOREV}" |
58 | SRCREV_pn-libjana = "${AUTOREV}" | 58 | SRCREV_pn-libjana = "${AUTOREV}" |
59 | SRCREV_pn-mutter = "${AUTOREV}" | 59 | SRCREV_pn-mutter = "${AUTOREV}" |
60 | SRCREV_pn-ofono = "${AUTOREV}" | ||
60 | 61 | ||
61 | SRCREV_pn-dri2proto = "${AUTOREV}" | 62 | SRCREV_pn-dri2proto = "${AUTOREV}" |
62 | #PREFERRED_VERSION_dri2proto ?= "1.99.1+git${SRCREV}" | 63 | #PREFERRED_VERSION_dri2proto ?= "1.99.1+git${SRCREV}" |
diff --git a/meta/packages/ofono/files/ofono b/meta/packages/ofono/files/ofono new file mode 100644 index 0000000000..6d46fb8966 --- /dev/null +++ b/meta/packages/ofono/files/ofono | |||
@@ -0,0 +1,42 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | DAEMON=/usr/sbin/ofonod | ||
4 | PIDFILE=/var/run/ofonod.pid | ||
5 | DESC="Telephony daemon" | ||
6 | |||
7 | if [ -f /etc/default/ofono] ; then | ||
8 | . /etc/default/ofono | ||
9 | fi | ||
10 | |||
11 | set -e | ||
12 | |||
13 | do_start() { | ||
14 | $DAEMON | ||
15 | } | ||
16 | |||
17 | do_stop() { | ||
18 | start-stop-daemon --stop --name ofonod --quiet | ||
19 | } | ||
20 | |||
21 | case "$1" in | ||
22 | start) | ||
23 | echo "Starting $DESC" | ||
24 | do_start | ||
25 | ;; | ||
26 | stop) | ||
27 | echo "Stopping $DESC" | ||
28 | do_stop | ||
29 | ;; | ||
30 | restart|force-reload) | ||
31 | echo "Restarting $DESC" | ||
32 | do_stop | ||
33 | sleep 1 | ||
34 | do_start | ||
35 | ;; | ||
36 | *) | ||
37 | echo "Usage: $0 {start|stop|restart|force-reload}" >&2 | ||
38 | exit 1 | ||
39 | ;; | ||
40 | esac | ||
41 | |||
42 | exit 0 | ||
diff --git a/meta/packages/ofono/ofono.inc b/meta/packages/ofono/ofono.inc new file mode 100644 index 0000000000..312d5bca62 --- /dev/null +++ b/meta/packages/ofono/ofono.inc | |||
@@ -0,0 +1,14 @@ | |||
1 | HOMEPAGE = "http://www.ofono.org" | ||
2 | SUMMARY = "open source telephony" | ||
3 | LICENSE = "GPL" | ||
4 | |||
5 | inherit autotools_stage pkgconfig update-rc.d | ||
6 | |||
7 | INITSCRIPT_NAME = "ofono" | ||
8 | INITSCRIPT_PARAMS = "defaults 22" | ||
9 | |||
10 | do_install_append() { | ||
11 | install -d ${D}${sysconfdir}/init.d/ | ||
12 | install -m 0755 ${WORKDIR}/ofono ${D}${sysconfdir}/init.d/ofono | ||
13 | } | ||
14 | |||
diff --git a/meta/packages/ofono/ofono_0.12.bb b/meta/packages/ofono/ofono_0.12.bb new file mode 100644 index 0000000000..0bccbb2e5e --- /dev/null +++ b/meta/packages/ofono/ofono_0.12.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | require ofono.inc | ||
2 | |||
3 | PV = "0.12" | ||
4 | |||
5 | DEPENDS = "dbus glib-2.0" | ||
6 | |||
7 | SRC_URI = "http://www.kernel.org/pub/linux/network/ofono/${P}.tar.bz2 \ | ||
8 | file://ofono" | ||
9 | |||
diff --git a/meta/packages/ofono/ofono_git.bb b/meta/packages/ofono/ofono_git.bb new file mode 100644 index 0000000000..db6476f1ef --- /dev/null +++ b/meta/packages/ofono/ofono_git.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | require ofono.inc | ||
2 | |||
3 | S = "${WORKDIR}/git" | ||
4 | PV = "0.12-git${SRCPV}" | ||
5 | |||
6 | DEPENDS = "dbus" | ||
7 | |||
8 | SRC_URI = "git://git.kernel.org/pub/scm/network/ofono/ofono.git;protocol=git \ | ||
9 | file://ofono" | ||
10 | |||
11 | do_configure_prepend () { | ||
12 | ${S}/bootstrap | ||
13 | } | ||
14 | |||