summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-connectivity
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-gnome/recipes-connectivity
downloadmeta-openembedded-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-gnome/recipes-connectivity')
-rw-r--r--meta-gnome/recipes-connectivity/network-manager-applet/files/0001-remove-classes-and-properties-which-are-not-supporte.patch69
-rw-r--r--meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-00.pngbin0 -> 494 bytes
-rw-r--r--meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-100.pngbin0 -> 413 bytes
-rw-r--r--meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-25.pngbin0 -> 500 bytes
-rw-r--r--meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-50.pngbin0 -> 496 bytes
-rw-r--r--meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-75.pngbin0 -> 474 bytes
-rw-r--r--meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_0.9.8.0.bb48
-rw-r--r--meta-gnome/recipes-connectivity/obex/obexd/ssize_t_definition.patch32
-rw-r--r--meta-gnome/recipes-connectivity/obex/obexd_0.48.bb22
9 files changed, 171 insertions, 0 deletions
diff --git a/meta-gnome/recipes-connectivity/network-manager-applet/files/0001-remove-classes-and-properties-which-are-not-supporte.patch b/meta-gnome/recipes-connectivity/network-manager-applet/files/0001-remove-classes-and-properties-which-are-not-supporte.patch
new file mode 100644
index 000000000..b8ba181f5
--- /dev/null
+++ b/meta-gnome/recipes-connectivity/network-manager-applet/files/0001-remove-classes-and-properties-which-are-not-supporte.patch
@@ -0,0 +1,69 @@
1From 023b17f53d888dfb45981b141ce4dc151ab140f0 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Thu, 4 Apr 2013 20:23:00 +0200
4Subject: [PATCH] remove classes and properties which are not supported by
5 gtk+
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10unsupported classes caused nm-connection editor to crash
11
12Upstream-Status: Inappropriate [configuration]
13
14Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
15---
16 src/connection-editor/ce-page-general.ui | 7 +------
17 src/connection-editor/nm-connection-editor.ui | 2 +-
18 2 files changed, 2 insertions(+), 7 deletions(-)
19
20diff --git a/src/connection-editor/ce-page-general.ui b/src/connection-editor/ce-page-general.ui
21index f505c14..a3e8d2b 100644
22--- a/src/connection-editor/ce-page-general.ui
23+++ b/src/connection-editor/ce-page-general.ui
24@@ -37,8 +37,6 @@
25 <object class="GtkComboBox" id="dependent_vpn_combo">
26 <property name="visible">True</property>
27 <property name="can_focus">False</property>
28- <property name="margin_left">26</property>
29- <property name="margin_bottom">12</property>
30 <property name="model">dependent_vpn_model</property>
31 <child>
32 <object class="GtkCellRendererText" id="renderer1"/>
33@@ -59,7 +57,6 @@
34 <property name="visible">True</property>
35 <property name="can_focus">True</property>
36 <property name="receives_default">False</property>
37- <property name="margin_bottom">12</property>
38 <property name="use_underline">True</property>
39 <property name="xalign">0</property>
40 <property name="draw_indicator">True</property>
41@@ -86,11 +83,9 @@
42 </packing>
43 </child>
44 <child>
45- <object class="GtkBox" id="box2">
46+ <object class="GtkVBox" id="box2">
47 <property name="visible">True</property>
48 <property name="can_focus">False</property>
49- <property name="valign">start</property>
50- <property name="vexpand">True</property>
51 <property name="spacing">6</property>
52 <child>
53 <object class="GtkLabel" id="firewall_zone_label">
54diff --git a/src/connection-editor/nm-connection-editor.ui b/src/connection-editor/nm-connection-editor.ui
55index 74ee266..6f1e166 100644
56--- a/src/connection-editor/nm-connection-editor.ui
57+++ b/src/connection-editor/nm-connection-editor.ui
58@@ -11,7 +11,7 @@
59 <property name="icon_name">preferences-system-network</property>
60 <property name="type_hint">dialog</property>
61 <child internal-child="vbox">
62- <object class="GtkBox" id="dialog-vbox2">
63+ <object class="GtkVBox" id="dialog-vbox2">
64 <property name="visible">True</property>
65 <property name="can_focus">False</property>
66 <property name="orientation">vertical</property>
67--
681.7.6.5
69
diff --git a/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-00.png b/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-00.png
new file mode 100644
index 000000000..836e723a2
--- /dev/null
+++ b/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-00.png
Binary files differ
diff --git a/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-100.png b/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-100.png
new file mode 100644
index 000000000..def2da969
--- /dev/null
+++ b/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-100.png
Binary files differ
diff --git a/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-25.png b/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-25.png
new file mode 100644
index 000000000..362960b8e
--- /dev/null
+++ b/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-25.png
Binary files differ
diff --git a/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-50.png b/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-50.png
new file mode 100644
index 000000000..1add41dcb
--- /dev/null
+++ b/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-50.png
Binary files differ
diff --git a/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-75.png b/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-75.png
new file mode 100644
index 000000000..6b509e804
--- /dev/null
+++ b/meta-gnome/recipes-connectivity/network-manager-applet/files/icons/nm-signal-75.png
Binary files differ
diff --git a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_0.9.8.0.bb b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_0.9.8.0.bb
new file mode 100644
index 000000000..6c0028322
--- /dev/null
+++ b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_0.9.8.0.bb
@@ -0,0 +1,48 @@
1SUMMARY = "GTK+ applet for NetworkManager"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
4
5DEPENDS = "gnome-bluetooth polkit-gnome libnotify networkmanager dbus-glib libglade gconf gnome-keyring libgnome-keyring iso-codes"
6
7inherit gnome gtk-icon-cache
8
9GNOME_COMPRESS_TYPE = "xz"
10
11SRC_URI += " \
12 file://0001-remove-classes-and-properties-which-are-not-supporte.patch \
13 file://images/* \
14"
15SRC_URI[archive.md5sum] = "531ce56c51ec86c5d2dc4cbe58649583"
16SRC_URI[archive.sha256sum] = "1afb6e736870ba95132bf0d211c46849e02a820ba3902a059a616be888053590"
17
18# GTK2.x mode
19EXTRA_OECONF += " \
20 --with-gtkver=2 \
21 --with-bluetooth=yes \
22"
23
24do_configure_append() {
25 rm config.log
26 # Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror
27 for i in $(find ${S} -name "Makefile") ; do
28 sed -i -e s:-Werror::g $i
29 done
30}
31
32do_install_append() {
33 install -m 0644 ${WORKDIR}/icons/* ${D}/usr/share/icons/hicolor/22x22/apps/
34}
35
36RDEPENDS_${PN} =+ "networkmanager"
37RRECOMMENDS_${PN} =+ "gnome-bluetooth gnome-keyring"
38
39FILES_${PN} += " \
40 ${datadir}/nm-applet/ \
41 ${datadir}/libnm-gtk/wifi.ui \
42"
43
44FILES_${PN} += "${libdir}/gnome-bluetooth/plugins/*.so"
45FILES_${PN}-dev += "${libdir}/gnome-bluetooth/plugins/libnma.la"
46FILES_${PN}-staticdev += "${libdir}/gnome-bluetooth/plugins/libnma.a"
47FILES_${PN}-dbg += "${libdir}/gnome-bluetooth/plugins/.debug/"
48
diff --git a/meta-gnome/recipes-connectivity/obex/obexd/ssize_t_definition.patch b/meta-gnome/recipes-connectivity/obex/obexd/ssize_t_definition.patch
new file mode 100644
index 000000000..2009dcd22
--- /dev/null
+++ b/meta-gnome/recipes-connectivity/obex/obexd/ssize_t_definition.patch
@@ -0,0 +1,32 @@
1include unistd.h to get ssize_t definitions
2
3Fixes errors like
4
5| In file included from plugins/mas.c:36:0:
6| ./src/obex.h:39:1: error: unknown type name 'ssize_t'
7| ./src/obex.h:49:1: error: unknown type name 'ssize_t'
8| ./src/obex.h:50:1: error: unknown type name 'ssize_t'
9| In file included from plugins/mas.c:38:0:
10| ./src/mimetype.h:36:2: error: expected specifier-qualifier-list before 'ssize_t'
11| In file included from plugins/mas.c:39:0:
12| plugins/filesystem.h:24:1: error: unknown type name 'ssize_t'
13| plugins/mas.c:550:1: error: unknown type name 'ssize_t'
14| plugins/mas.c:557:1: error: unknown type name 'ssize_t'
15| plugins/mas.c: In function 'any_read':
16| plugins/mas.c:560:2: error: unknown type name 'ssize_t'
17
18Upstream-Status: Pending
19
20Signed-off-by: Khem Raj <raj.khem@gmail.com>
21Index: obexd-0.44/plugins/mas.c
22===================================================================
23--- obexd-0.44.orig/plugins/mas.c 2012-01-11 14:53:53.000000000 -0800
24+++ obexd-0.44/plugins/mas.c 2013-01-08 12:51:12.681882174 -0800
25@@ -29,6 +29,7 @@
26 #include <glib.h>
27 #include <fcntl.h>
28 #include <inttypes.h>
29+#include <unistd.h>
30
31 #include "obexd.h"
32 #include "plugin.h"
diff --git a/meta-gnome/recipes-connectivity/obex/obexd_0.48.bb b/meta-gnome/recipes-connectivity/obex/obexd_0.48.bb
new file mode 100644
index 000000000..e7bff3f6f
--- /dev/null
+++ b/meta-gnome/recipes-connectivity/obex/obexd_0.48.bb
@@ -0,0 +1,22 @@
1SUMMARY = "OBEX Server and Client"
2DEPENDS = "glib-2.0 dbus bluez4 libical"
3
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
6
7
8SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/obexd-${PV}.tar.gz \
9 file://ssize_t_definition.patch \
10"
11SRC_URI[md5sum] = "d03cf9bad2983243837f4f6d76ef14a6"
12SRC_URI[sha256sum] = "eaa9d8d9542700e6750918d72a3ce00f8cf3a2771d3e2516efd1be5a05f78582"
13
14inherit autotools-brokensep
15
16PACKAGES =+ "obex-client obex-plugins"
17
18FILES_${PN} += "${datadir}/dbus-1/services/${PN}.service"
19FILES_obex-client = "${libexecdir}/obex-client \
20 ${datadir}/dbus-1/services/obex-client.service"
21# currently the plugins are empty
22FILES_obex-plugins = "${libdir}/obex/plugins"