All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 03/34] gnome-bluetooth: update to 3.18.2
Date: Tue, 23 Feb 2016 16:19:42 +0200	[thread overview]
Message-ID: <7b1eb1425975edb5948717bd0617b777de2e76b1.1456236552.git.alexander.kanavin@linux.intel.com> (raw)
In-Reply-To: <cover.1456236552.git.alexander.kanavin@linux.intel.com>
In-Reply-To: <cover.1456236552.git.alexander.kanavin@linux.intel.com>

This also enable gobject introspection support.
Drop obsolete patches.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
 .../0001-bluetooth-input-Fix-compile-errors.patch  |  37 -------
 ...luetooth-client-use-valid-interface-names.patch | 122 ---------------------
 .../0003-Fix-build-with-libnotify-0.7.0.patch      |  47 --------
 .../gnome-bluetooth/gnome-bluetooth_2.32.0.bb      |  38 -------
 .../gnome-bluetooth/gnome-bluetooth_3.18.2.bb      |  20 ++++
 5 files changed, 20 insertions(+), 244 deletions(-)
 delete mode 100644 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0001-bluetooth-input-Fix-compile-errors.patch
 delete mode 100644 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0002-bluetooth-client-use-valid-interface-names.patch
 delete mode 100644 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0003-Fix-build-with-libnotify-0.7.0.patch
 delete mode 100644 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb
 create mode 100644 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb

diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0001-bluetooth-input-Fix-compile-errors.patch b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0001-bluetooth-input-Fix-compile-errors.patch
deleted file mode 100644
index 0b0cf8b..0000000
--- a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0001-bluetooth-input-Fix-compile-errors.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From e3c789d6dca9a8a99b60b86e28d8119c55253c13 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 15 May 2013 08:37:03 -0700
-Subject: [PATCH] bluetooth-input: Fix compile errors
-
-XID is unsigned long type so %d will error out with -Wformat
-where format warnings are being treated at errors
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-Upstream-Status: Unknown
----
- wizard/bluetooth-input.c |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/wizard/bluetooth-input.c b/wizard/bluetooth-input.c
-index b3fbdaf..d17e67c 100644
---- a/wizard/bluetooth-input.c
-+++ b/wizard/bluetooth-input.c
-@@ -190,12 +190,12 @@ bluetooth_input_check_for_devices (BluetoothInput *input)
- 		if (bluetooth_input_device_get_type (&device_info[i], &is_mouse, &is_keyboard) == FALSE)
- 			continue;
- 		if (is_mouse != FALSE) {
--			g_message ("has mouse: %s (id = %d)", device_info[i].name, device_info[i].id);
-+			g_message ("has mouse: %s (id = %lu)", device_info[i].name, device_info[i].id);
- 			has_mouse = TRUE;
- 			//break;
- 		}
- 		if (is_keyboard != FALSE) {
--			g_message ("has keyboard: %s (id = %d)", device_info[i].name, device_info[i].id);
-+			g_message ("has keyboard: %s (id = %lu)", device_info[i].name, device_info[i].id);
- 			has_keyboard = TRUE;
- 			//break;
- 		}
--- 
-1.7.9.5
-
diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0002-bluetooth-client-use-valid-interface-names.patch b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0002-bluetooth-client-use-valid-interface-names.patch
deleted file mode 100644
index 99049a0..0000000
--- a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0002-bluetooth-client-use-valid-interface-names.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-From 1555f85b222db0d536efe277d31b57b2a8b938f4 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
-Date: Thu, 12 Feb 2015 01:19:41 +0100
-Subject: [PATCH] bluetooth-client: use valid interface names
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Upstream-Status: Inappropriate[version unmaintained upstream]
-
-Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
----
- lib/bluetooth-client.c   | 12 ++++++------
- lib/bluetooth-client.xml |  6 +++---
- lib/test-agent.c         |  2 +-
- 3 files changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
-index d62d56d..02e194c 100644
---- a/lib/bluetooth-client.c
-+++ b/lib/bluetooth-client.c
-@@ -721,7 +721,7 @@ static void add_device(DBusGProxy *adapter, GtkTreeIter *parent,
- 						BLUEZ_DEVICE_INTERFACE, path);
- 
- 		if (device != NULL)
--			device_get_properties(device, &hash, NULL);
-+			org_bluez_device_get_properties(device, &hash, NULL);
- 	} else
- 		device = NULL;
- 
-@@ -945,7 +945,7 @@ static void adapter_added(DBusGProxy *manager,
- 	adapter = dbus_g_proxy_new_from_proxy(manager,
- 					BLUEZ_ADAPTER_INTERFACE, path);
- 
--	adapter_get_properties(adapter, &hash, NULL);
-+	org_bluez_adapter_get_properties(adapter, &hash, NULL);
- 	if (hash != NULL) {
- 		value = g_hash_table_lookup(hash, "Address");
- 		address = value ? g_value_get_string(value) : NULL;
-@@ -1178,7 +1178,7 @@ static void bluetooth_client_init(BluetoothClient *client)
- 	dbus_g_proxy_connect_signal(priv->manager, "DefaultAdapterChanged",
- 			G_CALLBACK(default_adapter_changed), client, NULL);
- 
--	manager_list_adapters(priv->manager, &array, NULL);
-+	org_bluez_manager_list_adapters(priv->manager, &array, NULL);
- 	if (array != NULL) {
- 		int i;
- 
-@@ -1189,7 +1189,7 @@ static void bluetooth_client_init(BluetoothClient *client)
- 		}
- 	}
- 
--	manager_default_adapter(priv->manager, &default_path, NULL);
-+	org_bluez_manager_default_adapter(priv->manager, &default_path, NULL);
- 	if (default_path != NULL) {
- 		default_adapter_changed(priv->manager, default_path, client);
- 		g_free(default_path);
-@@ -1541,7 +1541,7 @@ gboolean bluetooth_client_start_discovery(BluetoothClient *client)
- 	if (adapter == NULL)
- 		return FALSE;
- 
--	adapter_start_discovery(adapter, NULL);
-+	org_bluez_adapter_start_discovery(adapter, NULL);
- 
- 	g_object_unref(adapter);
- 
-@@ -1568,7 +1568,7 @@ gboolean bluetooth_client_stop_discovery(BluetoothClient *client)
- 	if (adapter == NULL)
- 		return FALSE;
- 
--	adapter_stop_discovery(adapter, NULL);
-+	org_bluez_adapter_stop_discovery(adapter, NULL);
- 
- 	g_object_unref(adapter);
- 
-diff --git a/lib/bluetooth-client.xml b/lib/bluetooth-client.xml
-index 2326277..38c7fb0 100644
---- a/lib/bluetooth-client.xml
-+++ b/lib/bluetooth-client.xml
-@@ -1,7 +1,7 @@
- <?xml version="1.0" encoding="UTF-8" ?>
- 
- <node name="/">
--  <interface name="manager">
-+  <interface name="org.bluez.manager">
-     <method name="DefaultAdapter">
-       <arg type="o" direction="out"/>
-     </method>
-@@ -16,7 +16,7 @@
-     </method>
-   </interface>
- 
--  <interface name="adapter">
-+  <interface name="org.bluez.adapter">
-     <method name="GetProperties">
-       <arg type="a{sv}" direction="out"/>
-     </method>
-@@ -44,7 +44,7 @@
-     </method>
-   </interface>
- 
--  <interface name="device">
-+  <interface name="org.bluez.device">
-     <method name="GetProperties">
-       <arg type="a{sv}" direction="out"/>
-     </method>
-diff --git a/lib/test-agent.c b/lib/test-agent.c
-index 8d60da6..83464eb 100644
---- a/lib/test-agent.c
-+++ b/lib/test-agent.c
-@@ -40,7 +40,7 @@ static gboolean agent_pincode(DBusGMethodInvocation *context,
- 	GValue *value;
- 	const gchar *address, *name;
- 
--	device_get_properties(device, &hash, NULL);
-+	org_bluez_device_get_properties(device, &hash, NULL);
- 
- 	if (hash != NULL) {
- 		value = g_hash_table_lookup(hash, "Address");
--- 
-1.9.3
-
diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0003-Fix-build-with-libnotify-0.7.0.patch b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0003-Fix-build-with-libnotify-0.7.0.patch
deleted file mode 100644
index 118ef93..0000000
--- a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0003-Fix-build-with-libnotify-0.7.0.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 08a5b66d709781c0c596108278979a11b26331d5 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
-Date: Sun, 30 Aug 2015 12:14:53 +0200
-Subject: [PATCH] Fix build with libnotify >= 0.7.0
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Upstream-Status: Backport [1]
-
-[1] https://github.com/GNOME/gnome-bluetooth/commit/9f256799cc6b8367b2466f35b82f1d07076a950e
-
-Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
----
- applet/notify.c | 2 +-
- configure.ac    | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/applet/notify.c b/applet/notify.c
-index d2a4f51..cb01dfc 100644
---- a/applet/notify.c
-+++ b/applet/notify.c
-@@ -71,7 +71,7 @@ void show_notification(const gchar *summary, const gchar *message,
- 		notify_notification_close(notify, NULL);
- 	}
- 
--	notify = notify_notification_new(summary, message, icon_name, NULL);
-+	notify = notify_notification_new(summary, message, icon_name);
- 
- 	notify_notification_set_timeout(notify, timeout);
- 
-diff --git a/configure.ac b/configure.ac
-index 8bbce4e..98ec86e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -71,7 +71,7 @@ AM_CONDITIONAL([ICON_UPDATE], [test -n "$UPDATE_ICON_CACHE"])
- GTK_REQUIRED=2.19.1
- GLIB_REQUIRED=2.25.7
- DBUS_GLIB_REQUIRED=0.74
--NOTIFY_REQUIRED=0.4.3
-+NOTIFY_REQUIRED=0.7.0
- NAUTILUS_SENDTO_REQUIRED=2.31.7
- 
- dnl Requires for the properties window
--- 
-2.1.0
-
diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb
deleted file mode 100644
index f2128d8..0000000
--- a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb
+++ /dev/null
@@ -1,38 +0,0 @@
-SUMMARY = "GNOME bluetooth manager"
-LICENSE = "GPLv2 & LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
-                    file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \
-"
-
-PR = "r1"
-
-SECTION = "x11/gnome"
-DEPENDS = "obexd gnome-doc-utils-native gnome-doc-utils gconf gtk+ dbus-glib libunique libnotify libgnome-keyring virtual/libx11 libxi intltool-native"
-DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}"
-
-inherit gnomebase gtk-icon-cache
-
-SRC_URI += " \
-    file://0001-bluetooth-input-Fix-compile-errors.patch \
-    file://0002-bluetooth-client-use-valid-interface-names.patch \
-    file://0003-Fix-build-with-libnotify-0.7.0.patch \
-"
-SRC_URI[archive.md5sum] = "f129686fe46c4c98eb70a0cc85d59cae"
-SRC_URI[archive.sha256sum] = "57b1f06c96a1b85e1c19ff919d708cc38e95edae658881ed99968c325839a973"
-GNOME_COMPRESS_TYPE="bz2"
-
-# No 'nautilus-sendto' recipe in meta-gnome yet
-EXTRA_OECONF += "--enable-nautilus-sendto=no"
-
-# No native docbook XSL stylesheets recipe in OE yet
-do_configure_prepend() {
-    sed -i s/help// ${S}/Makefile.am
-}
-
-do_configure_append() {
-    sed -i 's,func_fatal_error "error: cannot install,echo "bogus message about,' ${HOST_SYS}-libtool
-}
-
-RRECOMMENDS_${PN} += "obexd obex-data-server"
-
-FILES_${PN}-dbg += "${libdir}/gnome-bluetooth/plugins/.debug/"
diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb
new file mode 100644
index 0000000..77e9a15
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_3.18.2.bb
@@ -0,0 +1,20 @@
+SUMMARY = "GNOME bluetooth manager"
+LICENSE = "GPLv2 & LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
+                    file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \
+"
+
+SECTION = "x11/gnome"
+
+# systemd is needed because it has a necessary version of libudev
+# Effectively this means that systemd must be in DISTRO_FEATURES
+DEPENDS = "systemd gtk+3 libnotify libcanberra"
+DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}"
+
+inherit gnomebase gtk-icon-cache distro_features_check
+REQUIRED_DISTRO_FEATURES = "systemd"
+
+SRC_URI[archive.md5sum] = "75d09c924468ec0c687f9ab3acf7f113"
+SRC_URI[archive.sha256sum] = "d8df073c331df0f97261869fb77ffcdbf4e3e4eaf460d3c3ed2b16e03d9c5398"
+
+FILES_${PN}-dbg += "${libdir}/gnome-bluetooth/plugins/.debug/"
-- 
2.7.0



  parent reply	other threads:[~2016-02-23 14:23 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23 14:19 [PATCH 00/34] Initial gobject introspection support for meta-openembedded Alexander Kanavin
2016-02-23 14:19 ` [PATCH 01/34] evolution-data-server: fix gobject introspection Alexander Kanavin
2016-02-23 14:19 ` [PATCH 02/34] evince: update to 3.18.2 Alexander Kanavin
2016-02-23 14:19 ` Alexander Kanavin [this message]
2016-02-23 14:19 ` [PATCH 04/34] gnome-desktop: remove pygtk dependency Alexander Kanavin
2016-02-23 14:19 ` [PATCH 05/34] gnumeric: fix gobject introspection support Alexander Kanavin
2016-02-23 14:19 ` [PATCH 06/34] libgdata: update to 0.16.1 Alexander Kanavin
2016-02-23 14:19 ` [PATCH 07/34] libgsf: fix gobject introspection Alexander Kanavin
2016-02-23 14:19 ` [PATCH 08/34] libwnck: " Alexander Kanavin
2016-02-23 14:19 ` [PATCH 09/34] libxklavier: " Alexander Kanavin
2016-02-23 14:19 ` [PATCH 10/34] goffice: " Alexander Kanavin
2016-02-23 14:19 ` [PATCH 11/34] tracker: " Alexander Kanavin
2016-02-24 13:55   ` Martin Jansa
2016-02-23 14:19 ` [PATCH 12/34] gupnp: " Alexander Kanavin
2016-02-23 14:19 ` [PATCH 13/34] rygel: " Alexander Kanavin
2016-02-23 14:19 ` [PATCH 14/34] media-service-demo: remove the recipe Alexander Kanavin
2016-02-23 14:19 ` [PATCH 15/34] python-gst: remove the 0.10 recipe Alexander Kanavin
2016-02-23 14:19 ` [PATCH 16/34] gstreamer-0.10: disable gobject introspection Alexander Kanavin
2016-02-23 14:19 ` [PATCH 17/34] libmediaart: fix " Alexander Kanavin
2016-02-23 14:19 ` [PATCH 18/34] bluez4: use real introspection instead of legacy pygobject Alexander Kanavin
2016-02-23 14:19 ` [PATCH 19/34] modemmanager: fix vala support Alexander Kanavin
2016-02-23 14:19 ` [PATCH 20/34] networkmanager: fix introspection and " Alexander Kanavin
2016-02-28 13:10   ` Adrian Freihofer
2016-02-23 14:20 ` [PATCH 21/34] telepathy-glib: fix gobject introspection support Alexander Kanavin
2016-02-23 14:20 ` [PATCH 22/34] libgee: " Alexander Kanavin
2016-02-23 14:20 ` [PATCH 23/34] polkit: " Alexander Kanavin
2016-02-23 14:20 ` [PATCH 24/34] gtkextra: " Alexander Kanavin
2016-02-23 14:20 ` [PATCH 25/34] libunique: " Alexander Kanavin
2016-02-23 14:20 ` [PATCH 26/34] babl: update to 0.1.16 Alexander Kanavin
2016-02-23 14:20 ` [PATCH 27/34] gegl: update to 0.3.4 Alexander Kanavin
2016-02-23 14:20 ` [PATCH 28/34] gimp: accept newer versins of babl and gegl Alexander Kanavin
2016-02-23 14:20 ` [PATCH 29/34] omgps: remove the recipe Alexander Kanavin
2016-02-23 14:20 ` [PATCH 30/34] poppler-data: fix do_install() Alexander Kanavin
2016-02-24 12:55   ` Martin Jansa
2016-02-23 14:20 ` [PATCH 31/34] poppler: fix gobject introspection Alexander Kanavin
2016-02-23 14:20 ` [PATCH 32/34] udisks2: " Alexander Kanavin
2016-02-23 14:20 ` [PATCH 33/34] upower: " Alexander Kanavin
2016-02-23 14:20 ` [PATCH 34/34] python-dbusmock: use real introspection instead on legacy pygobject Alexander Kanavin
2016-02-24 16:47 ` [PATCH 00/34] Initial gobject introspection support for meta-openembedded Martin Jansa
2016-02-25 13:36   ` Alexander Kanavin
2016-02-25 14:23     ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7b1eb1425975edb5948717bd0617b777de2e76b1.1456236552.git.alexander.kanavin@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.