diff options
author | Philip Balister <philip@balister.org> | 2009-02-13 14:12:54 -0500 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2009-02-13 14:12:54 -0500 |
commit | 18992093169e9ebd2a61989b853986a77199be35 (patch) | |
tree | d08928e78b95ea9dcbd7a4f5a193b18e197e8a8d /packages/connman | |
parent | 36001a65d7eb5f4432b999d24c29501834a3b431 (diff) | |
parent | 97b340db7c7b9ee3ed53e02eaa63c9873f4e1610 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/connman')
-rw-r--r-- | packages/connman/connman-gnome_0.4.bb | 13 | ||||
-rw-r--r-- | packages/connman/connman.inc | 4 | ||||
-rw-r--r-- | packages/connman/connman_0.10.bb | 4 | ||||
-rw-r--r-- | packages/connman/files/connman-applet.desktop | 10 | ||||
-rw-r--r-- | packages/connman/files/phrase-lenght.diff | 23 |
5 files changed, 50 insertions, 4 deletions
diff --git a/packages/connman/connman-gnome_0.4.bb b/packages/connman/connman-gnome_0.4.bb index 7714a08bf4..fdcf61823d 100644 --- a/packages/connman/connman-gnome_0.4.bb +++ b/packages/connman/connman-gnome_0.4.bb @@ -3,9 +3,18 @@ HOMEPAGE = "http://www.moblin.org/projects/projects_connman.php" SECTION = "libs/network" LICENSE = "GPL" DEPENDS = "gtk+ dbus" -PR = "r1" +PR = "r7" -SRC_URI = "ftp://ftp.moblin.org/connman/releases/connman-gnome-${PV}.tar.gz" +RRECOMMENDS_${PN} = "connman connman-plugin-ethernet connman-plugin-loopback connman-plugin-udhcp connman-plugin-wifi" + +SRC_URI = "http://repo.moblin.org/connman/releases/connman-gnome-${PV}.tar.gz \ + file://phrase-lenght.diff;patch=1 \ + file://connman-applet.desktop" inherit autotools gtk-icon-cache +do_install_append() { + install -d ${D}${datadir}/applications/ + install ${WORKDIR}/connman-applet.desktop ${D}${datadir}/applications/ +} + diff --git a/packages/connman/connman.inc b/packages/connman/connman.inc index a97ca44c90..c79c22cabb 100644 --- a/packages/connman/connman.inc +++ b/packages/connman/connman.inc @@ -24,6 +24,10 @@ do_configure_append() { ln -sf . include/connman } +do_compile_append() { + sed -i -e s:deny:allow:g src/connman-dbus.conf +} + do_install_append() { install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman } diff --git a/packages/connman/connman_0.10.bb b/packages/connman/connman_0.10.bb index a20bf24ea5..dfd631b9bf 100644 --- a/packages/connman/connman_0.10.bb +++ b/packages/connman/connman_0.10.bb @@ -1,5 +1,5 @@ require connman.inc -PR = "r5" +PR = "r6" EXTRA_OECONF += "\ --disable-gtk-doc \ @@ -30,7 +30,7 @@ EXTRA_OECONF += "\ " SRC_URI = "\ - http://ftp.moblin.org/connman/releases/connman-${PV}.tar.gz \ + http://repo.moblin.org/connman/releases/connman-${PV}.tar.gz \ file://connman \ " diff --git a/packages/connman/files/connman-applet.desktop b/packages/connman/files/connman-applet.desktop new file mode 100644 index 0000000000..ad17682507 --- /dev/null +++ b/packages/connman/files/connman-applet.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Connection Manager +Comment=Connection Manager applet +Icon=stock_internet +Exec=connman-applet +Terminal=false +Type=Application +Categories=Network;GTK + diff --git a/packages/connman/files/phrase-lenght.diff b/packages/connman/files/phrase-lenght.diff new file mode 100644 index 0000000000..383c86cd3a --- /dev/null +++ b/packages/connman/files/phrase-lenght.diff @@ -0,0 +1,23 @@ +From: Marcel Holtmann <marcel@holtmann.org> +Date: Fri, 30 Jan 2009 14:34:05 +0000 (+0100) +Subject: Don't limit input field length for passphrases +X-Git-Url: http://git.moblin.org/cgi-bin/gitweb/gitweb.cgi?p=projects%2Fconnman-gnome.git;a=commitdiff_plain;h=faa1dee0cea9bdf47d91f5665880dab335dd94b4 + +Don't limit input field length for passphrases +--- + +diff --git a/applet/main.c b/applet/main.c +index cf12a34..434e7c8 100644 +--- a/applet/main.c ++++ b/applet/main.c +@@ -151,8 +151,8 @@ static void passphrase_dialog(const char *path, const char *name) + GTK_EXPAND | GTK_FILL, GTK_SHRINK, 0, 0); + + entry = gtk_entry_new(); +- gtk_entry_set_max_length(GTK_ENTRY(entry), 16); +- gtk_entry_set_width_chars(GTK_ENTRY(entry), 16); ++ gtk_entry_set_max_length(GTK_ENTRY(entry), 120); ++ gtk_entry_set_width_chars(GTK_ENTRY(entry), 20); + gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE); + gtk_entry_set_activates_default(GTK_ENTRY(entry), TRUE); + gtk_container_add(GTK_CONTAINER(vbox), entry); |