Fix connman-gnome for connman 0.79
cover Fix connman-gnome for connman 0.79
The following change since commit 4396db54dba4afdb9f1099f4e386dc25c76f49fb:
grub: Add missing dependency on autogen-native to avoid build failures (2012-04-14 23:42:16 +0100)
is available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/connman-gnome
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/connman-gnome
Paul Eggleton (1):
connman-gnome: connman 0.79 API fixes
...0001-Monitor-the-Manager-s-State-property.patch | 48 + .../0002-Update-for-ConnMan-0.79-API-changes.patch | 865 ++++++++++++++++++ .../0003-Fix-setting-IPv4-configuration.patch | 85 ++ ...Handle-WiFi-authentication-using-an-agent.patch | 923 ++++++++++++++++++++ ...emove-all-handling-of-Passphrase-property.patch | 249 ++++++ ...ix-status-descriptions-in-properties-tree.patch | 42 + .../connman/connman-gnome/3g.patch | 507 ----------- .../connman/connman-gnome/security-type.patch | 41 - .../connman/connman-gnome_0.5.bb | 14 +- 9 files changed, 2221 insertions(+), 553 deletions(-) create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0001-Monitor-the-Manager-s-State-property.patch create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0002-Update-for-ConnMan-0.79-API-changes.patch create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0003-Fix-setting-IPv4-configuration.patch create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0004-Handle-WiFi-authentication-using-an-agent.patch create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0005-Remove-all-handling-of-Passphrase-property.patch create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0006-Fix-status-descriptions-in-properties-tree.patch delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/3g.patch delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/security-type.patch
Signature · 1 line
1.7.5.4
PATCH 1/1 connman-gnome: connman 0.79 API fixes
Fix connman-gnome to work with connman 0.79, which made a number of fairly serious DBus API changes. Also switch over to the newly repopulated git repo on kernel.org in which the two previous patches have been merged.
Fixes [YOCTO #2202].
--- ...0001-Monitor-the-Manager-s-State-property.patch | 48 + .../0002-Update-for-ConnMan-0.79-API-changes.patch | 865 ++++++++++++++++++ .../0003-Fix-setting-IPv4-configuration.patch | 85 ++ ...Handle-WiFi-authentication-using-an-agent.patch | 923 ++++++++++++++++++++ ...emove-all-handling-of-Passphrase-property.patch | 249 ++++++ ...ix-status-descriptions-in-properties-tree.patch | 42 + .../connman/connman-gnome/3g.patch | 507 ----------- .../connman/connman-gnome/security-type.patch | 41 - .../connman/connman-gnome_0.5.bb | 14 +- 9 files changed, 2221 insertions(+), 553 deletions(-) create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0001-Monitor-the-Manager-s-State-property.patch create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0002-Update-for-ConnMan-0.79-API-changes.patch create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0003-Fix-setting-IPv4-configuration.patch create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0004-Handle-WiFi-authentication-using-an-agent.patch create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0005-Remove-all-handling-of-Passphrase-property.patch create mode 100644 meta/recipes-connectivity/connman/connman-gnome/0006-Fix-status-descriptions-in-properties-tree.patch delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/3g.patch delete mode 100644 meta/recipes-connectivity/connman/connman-gnome/security-type.patch
meta/recipes-connectivity/connman/connman-gnome/0001-Monitor-the-Manager-s-State-property.patch new file +48 -0
@@ -0,0 +1,48 @@ +From 56d307993c0a661c73fcdd72b1392c3719a0c297 Mon Sep 17 00:00:00 2001 +Message-Id: <56d307993c0a661c73fcdd72b1392c3719a0c297.1334369310.git.paul.eggleton@linux.intel.com> +In-Reply-To: <[email protected]> +References: <[email protected]> +From: Joshua Lock <[email protected]> +Date: Tue, 10 Apr 2012 17:54:56 -0700 +Subject: [PATCH 1/6] Monitor the Manager's State property + +Monitor the Manager's State property and update global_ready +appropriately when it changes. + +Without this change using the applet with connman 0.79 and +starting the applet after the daemon no status icon is shown. + +With this change this icon displays an appropriate state when +the applet launches. + +Upstream-Status: Submitted + +Signed-off-by: Joshua Lock <[email protected]> +--- + applet/main.c | 10 ++++++++++ + 1 files changed, 10 insertions(+), 0 deletions(-) + +diff --git a/applet/main.c b/applet/main.c +index 224e2fd..68a77b1 100644 +--- a/applet/main.c ++++ b/applet/main.c +@@ -111,6 +111,16 @@ static void manager_property_changed(DBusGProxy *proxy, const char *property, + iterate_list, &path); + update_service(proxy, path); + g_free(path); ++ } else if (g_str_equal(property, "State") == TRUE) { ++ const gchar *state = g_value_get_string(value); ++ ++ if (g_strcmp0(state, "ready") == 0 || g_strcmp0(state, "online") == 0) { ++ global_ready = TRUE; ++ status_ready(global_strength); ++ } else { ++ global_ready = FALSE; ++ status_offline(); ++ } + } + } + +-- +1.7.5.4 +
meta/recipes-connectivity/connman/connman-gnome/0002-Update-for-ConnMan-0.79-API-changes.patch new file +865 -0
865 lines not on this page · raw message
meta/recipes-connectivity/connman/connman-gnome/0003-Fix-setting-IPv4-configuration.patch new file +85 -0
85 lines not on this page · raw message
meta/recipes-connectivity/connman/connman-gnome/0004-Handle-WiFi-authentication-using-an-agent.patch new file +923 -0
923 lines not on this page · raw message
meta/recipes-connectivity/connman/connman-gnome/0005-Remove-all-handling-of-Passphrase-property.patch new file +249 -0
249 lines not on this page · raw message
meta/recipes-connectivity/connman/connman-gnome/0006-Fix-status-descriptions-in-properties-tree.patch new file +42 -0
42 lines not on this page · raw message
meta/recipes-connectivity/connman/connman-gnome/3g.patch deleted +0 -507
507 lines not on this page · raw message
meta/recipes-connectivity/connman/connman-gnome/security-type.patch deleted +0 -41
41 lines not on this page · raw message
meta/recipes-connectivity/connman/connman-gnome_0.5.bb +9 -5
@@ -8,12 +8,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ DEPENDS = "gtk+ dbus" -PR = "r8" +PR = "r9" -SRCREV = "78d3c39db6f3f7977b466305110faa8ca5f74ec8" -SRC_URI = "git://github.com/connectivity/connman-gnome.git;protocol=git \ - file://3g.patch \ - file://security-type.patch" +SRCREV = "42c652d123ea133d0a0930b96e8e39dbd0c597b5" +SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman-gnome.git \ + file://0001-Monitor-the-Manager-s-State-property.patch \ + file://0002-Update-for-ConnMan-0.79-API-changes.patch \ + file://0003-Fix-setting-IPv4-configuration.patch \ + file://0004-Handle-WiFi-authentication-using-an-agent.patch \ + file://0005-Remove-all-handling-of-Passphrase-property.patch \ + file://0006-Fix-status-descriptions-in-properties-tree.patch" S = "${WORKDIR}/git"
Signature · 1 line
1.7.5.4
Saul Wold
AppliedQuoted 21 lines · Paul Eggleton
The following change since commit
4396db54dba4afdb9f1099f4e386dc25c76f49fb:grub: Add missing dependency on autogen-native to avoid build failures (2012-04-14 23:42:16 +0100)
is available in the git repository at:
git://git.openembedded.org/openembedded-core-contribpaule/connman-gnome
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/connman-gnomePaul Eggleton (1):
connman-gnome: connman 0.79 API fixes...0001-Monitor-the-Manager-s-State-property.patch | 48 + .../0002-Update-for-ConnMan-0.79-API-changes.patch | 865 ++++++++++++++++++ .../0003-Fix-setting-IPv4-configuration.patch | 85 ++ ...Handle-WiFi-authentication-using-an-agent.patch | 923 ++++++++++++++++++++ ...emove-all-handling-of-Passphrase-property.patch | 249 ++++++ ...ix-status-descriptions-in-properties-tree.patch | 42 + .../connman/connman-gnome/3g.patch | 507 ----------- .../connman/connman-gnome/security-type.patch | 41 - .../connman/connman-gnome_0.5.bb | 14 +- 9 files changed, 2221 insertions(+), 553 deletions(-)
Quoted 9 lines
create mode 100644
meta/recipes-connectivity/connman/connman-gnome/0001-Monitor-the-Manager-s-State-property.patchcreate mode 100644meta/recipes-connectivity/connman/connman-gnome/0002-Update-for-ConnMan-0.79-API-changes.patchcreate mode 100644meta/recipes-connectivity/connman/connman-gnome/0003-Fix-setting-IPv4-configuration.patchcreate mode 100644meta/recipes-connectivity/connman/connman-gnome/0004-Handle-WiFi-authentication-using-an-agent.patchcreate mode 100644meta/recipes-connectivity/connman/connman-gnome/0005-Remove-all-handling-of-Passphrase-property.patchcreate mode 100644meta/recipes-connectivity/connman/connman-gnome/0006-Fix-status-descriptions-in-properties-tree.patchdelete mode 100644meta/recipes-connectivity/connman/connman-gnome/3g.patch
delete mode 100644meta/recipes-connectivity/connman/connman-gnome/security-type.patch
Merged into OE-Core
Thanks
Sau!