[oe-commits] Koen Kooi : connman: update to 0.75
git version control
git at git.openembedded.org
Thu Jul 14 06:43:54 UTC 2011
Module: meta-openembedded.git
Branch: master
Commit: e8636471d26edce61803b004118b5cce13eaa9aa
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=e8636471d26edce61803b004118b5cce13eaa9aa
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Wed Jul 13 09:52:45 2011 +0200
connman: update to 0.75
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
meta-oe/recipes-connectivity/connman/connman.inc | 13 +++++++++----
.../connman/{connman_0.74.bb => connman_0.75.bb} | 11 +++++++----
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/meta-oe/recipes-connectivity/connman/connman.inc b/meta-oe/recipes-connectivity/connman/connman.inc
index c0cdf7b..1022ce7 100644
--- a/meta-oe/recipes-connectivity/connman/connman.inc
+++ b/meta-oe/recipes-connectivity/connman/connman.inc
@@ -43,10 +43,15 @@ do_compile_append() {
do_install_append() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman
+
+ install -d ${D}${bindir}
+ install -m 0755 ${S}/tools/*-test ${D}${bindir}
+ install -m 0755 ${S}/tools/wispr ${D}${bindir}
+ install -m 0755 ${S}/tools/wifi-scan ${D}${bindir}
}
python populate_packages_prepend() {
- depmap = dict( pppd="ppp", udhcp="busybox connman-scripts", dhclient="dhcp-client", wifi="wpa-supplicant", resolvconf="resolvconf", bluetooth="bluez4", ntpd="ntp" )
+ depmap = dict( pppd="ppp", udhcp="busybox connman-scripts", dhclient="dhcp-client", wifi="wpa-supplicant", resolvconf="resolvconf", bluetooth="bluez4", ntpd="ntp", ofono="ofono" )
packages = []
hook = lambda file,pkg,b,c,d:packages.append((file,pkg))
plugin_dir = bb.data.expand('${libdir}/connman/plugins/', d)
@@ -62,8 +67,10 @@ python populate_packages_prepend() {
PACKAGES_DYNAMIC = "${PN}-plugin-*"
-PACKAGES += "${PN}-scripts ${PN}-test-utils"
+PACKAGES =+ "${PN}-scripts ${PN}-tools ${PN}-tests"
+FILES_${PN}-tools = "${bindir}/wispr ${bindir}/wifi-scan"
+FILES_${PN{-tests = "${bindir}/*-test"
FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \
${sysconfdir} ${sharedstatedir} ${localstatedir} \
${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*.so* ${datadir}/${PN} \
@@ -97,8 +104,6 @@ pkg_postrm_connman-systemd() {
# Needed when using DNS proxy feature
RRECOMMENDS_${PN} += "dnsmasq-dbus"
-FILES_${PN}-test-utils += "${libdir}/connman/test/*"
-
FILES_${PN}-scripts += "${libdir}/connman/scripts"
FILES_${PN}-dbg += "${libdir}/connman/*/.debug"
FILES_${PN}-dev += "${libdir}/connman/*/*.la"
diff --git a/meta-oe/recipes-connectivity/connman/connman_0.74.bb b/meta-oe/recipes-connectivity/connman/connman_0.75.bb
similarity index 65%
rename from meta-oe/recipes-connectivity/connman/connman_0.74.bb
rename to meta-oe/recipes-connectivity/connman/connman_0.75.bb
index 7e29487..8270761 100644
--- a/meta-oe/recipes-connectivity/connman/connman_0.74.bb
+++ b/meta-oe/recipes-connectivity/connman/connman_0.75.bb
@@ -1,7 +1,5 @@
require connman.inc
-PR = "r1"
-
EXTRA_OECONF += "\
--disable-gtk-doc \
--enable-debug \
@@ -25,5 +23,10 @@ SRC_URI = "\
file://connman \
"
-SRC_URI[md5sum] = "3feb49e7c6dea22de83647cb1790a1b3"
-SRC_URI[sha256sum] = "a283b590bd2ed5c1cd08630cbc7880d9906a3ca763cad121a66c9a5ddfc2882d"
+SRC_URI[md5sum] = "9973cb89a11fff6b51fc85b51c13b711"
+SRC_URI[sha256sum] = "b15361237f7ec8092fb0e55d4585550ab35491485edaf10ddd032d6e36299db7"
+
+# alg-test doesn't build, so disable that
+do_configure_prepend() {
+ sed -i 's:tools/alg-test ::g' Makefile.am
+}
More information about the Openembedded-commits
mailing list