[oe-commits] =?UTF-8?Q?Andreas=20M=C3=BCller=20?=: gnome-bluetooth: fix build with libnotofy >= 0.7.0

git at git.openembedded.org git at git.openembedded.org
Mon Aug 31 18:20:15 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: 605d8059d603e5ef22730b93772a3e3244ca8127
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=605d8059d603e5ef22730b93772a3e3244ca8127

Author: Andreas Müller <schnitzeltony at googlemail.com>
Date:   Sun Aug 30 12:34:00 2015 +0200

gnome-bluetooth: fix build with libnotofy >= 0.7.0

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../0003-Fix-build-with-libnotify-0.7.0.patch      | 47 ++++++++++++++++++++++
 .../gnome-bluetooth/gnome-bluetooth_2.32.0.bb      |  1 +
 2 files changed, 48 insertions(+)

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
new file mode 100644
index 0000000..118ef93
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0003-Fix-build-with-libnotify-0.7.0.patch
@@ -0,0 +1,47 @@
+From 08a5b66d709781c0c596108278979a11b26331d5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony at 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 at 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
index 7b09fe1..7d33778 100644
--- 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
@@ -15,6 +15,7 @@ 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"



More information about the Openembedded-commits mailing list