diff options
Diffstat (limited to 'meta/recipes-connectivity/connman')
-rw-r--r-- | meta/recipes-connectivity/connman/connman-0.65/connman (renamed from meta/recipes-connectivity/connman/connman-0.63/connman) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/connman/connman-0.65/dbusperms.patch (renamed from meta/recipes-connectivity/connman/connman-0.63/dbusperms.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch (renamed from meta/recipes-connectivity/connman/connman-0.63/fix-shutdown-ap-disconnect.patch) | 0 | ||||
-rw-r--r-- | meta/recipes-connectivity/connman/connman-gnome/connman-applet.desktop | 10 | ||||
-rw-r--r-- | meta/recipes-connectivity/connman/connman-gnome/remove-connman-property-desktop-file.patch | 42 | ||||
-rw-r--r-- | meta/recipes-connectivity/connman/connman-gnome/service_name_update.patch | 36 | ||||
-rw-r--r-- | meta/recipes-connectivity/connman/connman-gnome_0.5.bb | 10 | ||||
-rw-r--r-- | meta/recipes-connectivity/connman/connman_0.65.bb (renamed from meta/recipes-connectivity/connman/connman_0.63.bb) | 4 |
8 files changed, 83 insertions, 19 deletions
diff --git a/meta/recipes-connectivity/connman/connman-0.63/connman b/meta/recipes-connectivity/connman/connman-0.65/connman index f01bf371c2..f01bf371c2 100644 --- a/meta/recipes-connectivity/connman/connman-0.63/connman +++ b/meta/recipes-connectivity/connman/connman-0.65/connman | |||
diff --git a/meta/recipes-connectivity/connman/connman-0.63/dbusperms.patch b/meta/recipes-connectivity/connman/connman-0.65/dbusperms.patch index 100af0367b..100af0367b 100644 --- a/meta/recipes-connectivity/connman/connman-0.63/dbusperms.patch +++ b/meta/recipes-connectivity/connman/connman-0.65/dbusperms.patch | |||
diff --git a/meta/recipes-connectivity/connman/connman-0.63/fix-shutdown-ap-disconnect.patch b/meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch index a0ad0991df..a0ad0991df 100644 --- a/meta/recipes-connectivity/connman/connman-0.63/fix-shutdown-ap-disconnect.patch +++ b/meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch | |||
diff --git a/meta/recipes-connectivity/connman/connman-gnome/connman-applet.desktop b/meta/recipes-connectivity/connman/connman-gnome/connman-applet.desktop deleted file mode 100644 index 83d96ee67d..0000000000 --- a/meta/recipes-connectivity/connman/connman-gnome/connman-applet.desktop +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | [Desktop Entry] | ||
2 | Encoding=UTF-8 | ||
3 | Name=Connection Manager | ||
4 | Comment=Connection Manager applet | ||
5 | Icon=stock_internet | ||
6 | Exec=connman-applet | ||
7 | Terminal=false | ||
8 | Type=Application | ||
9 | Categories=Network;GTK; | ||
10 | |||
diff --git a/meta/recipes-connectivity/connman/connman-gnome/remove-connman-property-desktop-file.patch b/meta/recipes-connectivity/connman/connman-gnome/remove-connman-property-desktop-file.patch new file mode 100644 index 0000000000..2a8cff3593 --- /dev/null +++ b/meta/recipes-connectivity/connman/connman-gnome/remove-connman-property-desktop-file.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | diff -ruN connman-gnome-0.5-orig/po/POTFILES.in connman-gnome-0.5/po/POTFILES.in | ||
2 | --- connman-gnome-0.5-orig/po/POTFILES.in 2010-12-16 16:03:29.000000000 +0800 | ||
3 | +++ connman-gnome-0.5/po/POTFILES.in 2010-12-17 10:27:17.000000000 +0800 | ||
4 | @@ -4,4 +4,3 @@ | ||
5 | properties/advanced.c | ||
6 | properties/ethernet.c | ||
7 | properties/wifi.c | ||
8 | -properties/connman-properties.desktop.in | ||
9 | diff -ruN connman-gnome-0.5-orig/properties/Makefile.am connman-gnome-0.5/properties/Makefile.am | ||
10 | --- connman-gnome-0.5-orig/properties/Makefile.am 2010-12-16 16:03:29.000000000 +0800 | ||
11 | +++ connman-gnome-0.5/properties/Makefile.am 2010-12-17 10:27:09.000000000 +0800 | ||
12 | @@ -17,16 +17,6 @@ | ||
13 | |||
14 | INCLUDES = -I$(top_srcdir)/common | ||
15 | |||
16 | -desktopdir = $(datadir)/applications | ||
17 | - | ||
18 | -desktop_in_files = connman-properties.desktop.in | ||
19 | - | ||
20 | -desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) | ||
21 | - | ||
22 | @INTLTOOL_DESKTOP_RULE@ | ||
23 | |||
24 | -CLEANFILES = $(desktop_DATA) | ||
25 | - | ||
26 | -EXTRA_DIST = $(desktop_in_files) | ||
27 | - | ||
28 | MAINTAINERCLEANFILES = Makefile.in | ||
29 | diff -ruN connman-gnome-0.5-orig/properties/connman-properties.desktop.in connman-gnome-0.5/properties/connman-properties.desktop.in | ||
30 | --- connman-gnome-0.5-orig/properties/connman-properties.desktop.in 2010-12-16 16:03:29.000000000 +0800 | ||
31 | +++ connman-gnome-0.5/properties/connman-properties.desktop.in 1970-01-01 08:00:00.000000000 +0800 | ||
32 | @@ -1,10 +0,0 @@ | ||
33 | -[Desktop Entry] | ||
34 | -Encoding=UTF-8 | ||
35 | -_Name=Connection Management | ||
36 | -_Comment=Configure connection management | ||
37 | -Icon=stock_internet | ||
38 | -Exec=connman-properties | ||
39 | -Terminal=false | ||
40 | -Type=Application | ||
41 | -Categories=Settings; | ||
42 | -OnlyShowIn=GNOME; | ||
diff --git a/meta/recipes-connectivity/connman/connman-gnome/service_name_update.patch b/meta/recipes-connectivity/connman/connman-gnome/service_name_update.patch new file mode 100644 index 0000000000..942cfc883c --- /dev/null +++ b/meta/recipes-connectivity/connman/connman-gnome/service_name_update.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | diff -ruN connman-gnome-0.5-orig/common/connman-dbus.h connman-gnome-0.5/common/connman-dbus.h | ||
2 | --- connman-gnome-0.5-orig/common/connman-dbus.h 2010-12-30 09:45:03.312043457 +0800 | ||
3 | +++ connman-gnome-0.5/common/connman-dbus.h 2010-12-30 09:45:33.978499439 +0800 | ||
4 | @@ -22,7 +22,7 @@ | ||
5 | #include <dbus/dbus-glib.h> | ||
6 | #include <gtk/gtk.h> | ||
7 | |||
8 | -#define CONNMAN_SERVICE "org.moblin.connman" | ||
9 | +#define CONNMAN_SERVICE "net.connman" | ||
10 | |||
11 | #define CONNMAN_ERROR_INTERFACE CONNMAN_SERVICE ".Error" | ||
12 | #define CONNMAN_AGENT_INTERFACE CONNMAN_SERVICE ".Agent" | ||
13 | diff -ruN connman-gnome-0.5-orig/common/instance.c connman-gnome-0.5/common/instance.c | ||
14 | --- connman-gnome-0.5-orig/common/instance.c 2010-12-30 09:45:03.316085542 +0800 | ||
15 | +++ connman-gnome-0.5/common/instance.c 2010-12-30 09:46:01.654479049 +0800 | ||
16 | @@ -29,7 +29,7 @@ | ||
17 | |||
18 | #include "instance.h" | ||
19 | |||
20 | -#define CONNMAN_SERVICE "org.moblin.connman" | ||
21 | +#define CONNMAN_SERVICE "net.connman" | ||
22 | #define CONNMAN_INSTANCE CONNMAN_SERVICE ".Instance" | ||
23 | |||
24 | static DBusGConnection *connection; | ||
25 | diff -ruN connman-gnome-0.5-orig/common/instance.xml connman-gnome-0.5/common/instance.xml | ||
26 | --- connman-gnome-0.5-orig/common/instance.xml 2010-12-30 09:45:03.312043457 +0800 | ||
27 | +++ connman-gnome-0.5/common/instance.xml 2010-12-30 09:45:49.868372780 +0800 | ||
28 | @@ -1,7 +1,7 @@ | ||
29 | <?xml version="1.0" encoding="UTF-8" ?> | ||
30 | |||
31 | <node name="/"> | ||
32 | - <interface name="org.moblin.connman.Instance"> | ||
33 | + <interface name="net.connman.Instance"> | ||
34 | <method name="Present"> | ||
35 | </method> | ||
36 | </interface> | ||
diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.5.bb b/meta/recipes-connectivity/connman/connman-gnome_0.5.bb index 4729c5dfde..3b7d1b8f58 100644 --- a/meta/recipes-connectivity/connman/connman-gnome_0.5.bb +++ b/meta/recipes-connectivity/connman/connman-gnome_0.5.bb | |||
@@ -6,20 +6,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ | |||
6 | file://properties/main.c;beginline=1;endline=20;md5=50c77c81871308b033ab7a1504626afb \ | 6 | file://properties/main.c;beginline=1;endline=20;md5=50c77c81871308b033ab7a1504626afb \ |
7 | file://common/connman-dbus.c;beginline=1;endline=20;md5=de6b485c0e717a0236402d220187717a" | 7 | file://common/connman-dbus.c;beginline=1;endline=20;md5=de6b485c0e717a0236402d220187717a" |
8 | DEPENDS = "gtk+ dbus" | 8 | DEPENDS = "gtk+ dbus" |
9 | PR = "r1" | 9 | PR = "r3" |
10 | 10 | ||
11 | RRECOMMENDS_${PN} = "python python-dbus connman connman-plugin-ethernet connman-plugin-loopback connman-plugin-udhcp connman-plugin-wifi connman-plugin-fake connman-plugin-bluetooth connman-plugin-dnsproxy" | 11 | RRECOMMENDS_${PN} = "python python-dbus connman connman-plugin-ethernet connman-plugin-loopback connman-plugin-udhcp connman-plugin-wifi connman-plugin-fake connman-plugin-bluetooth connman-plugin-dnsproxy" |
12 | 12 | ||
13 | SRC_URI = "http://www.kernel.org/pub/linux/network/connman/connman-gnome-${PV}.tar.gz \ | 13 | SRC_URI = "http://www.kernel.org/pub/linux/network/connman/connman-gnome-${PV}.tar.gz \ |
14 | file://connman-gnome.patch \ | 14 | file://connman-gnome.patch \ |
15 | file://connman-applet.desktop" | 15 | file://remove-connman-property-desktop-file.patch \ |
16 | file://service_name_update.patch" | ||
16 | 17 | ||
17 | SRC_URI[md5sum] = "0e1c4c25d19cad9b08a216848a320716" | 18 | SRC_URI[md5sum] = "0e1c4c25d19cad9b08a216848a320716" |
18 | SRC_URI[sha256sum] = "4d5fe481b444fc3e64fd9caa149dbcd76de166a25733f18fd93da01d2abf5d1c" | 19 | SRC_URI[sha256sum] = "4d5fe481b444fc3e64fd9caa149dbcd76de166a25733f18fd93da01d2abf5d1c" |
19 | 20 | ||
20 | inherit autotools gtk-icon-cache | 21 | inherit autotools gtk-icon-cache |
21 | |||
22 | do_install_append() { | ||
23 | install -d ${D}${datadir}/applications/ | ||
24 | install ${WORKDIR}/connman-applet.desktop ${D}${datadir}/applications/ | ||
25 | } | ||
diff --git a/meta/recipes-connectivity/connman/connman_0.63.bb b/meta/recipes-connectivity/connman/connman_0.65.bb index e99f7840af..0b077e1d98 100644 --- a/meta/recipes-connectivity/connman/connman_0.63.bb +++ b/meta/recipes-connectivity/connman/connman_0.65.bb | |||
@@ -24,5 +24,5 @@ SRC_URI = "\ | |||
24 | file://connman \ | 24 | file://connman \ |
25 | " | 25 | " |
26 | 26 | ||
27 | SRC_URI[md5sum] = "11616a4fa1d03f96f0739730645f7c53" | 27 | SRC_URI[md5sum] = "bd714da295ed2d2d91a49539f4c4fa3a" |
28 | SRC_URI[sha256sum] = "e2a57376cdcd42b3876262da6959aa58428941e0eb2df9a4724cd3f1af934492" | 28 | SRC_URI[sha256sum] = "a1c1d93da6bb4c2d8ae53293b06f237e02f5e796d2bba73ec639a466d05259c3" |