aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2015-08-30 12:34:00 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2015-09-08 16:18:35 +0200
commit21be39e410f7b36065ff169ecdb5195b8a0d1754 (patch)
tree1696cf708f845aa836adee1a79dc3fa205e72e33 /meta-gnome
parent13bc1b4b0fcf3a755df2041e2e8ce09ef6ca3fe1 (diff)
downloadmeta-openembedded-contrib-21be39e410f7b36065ff169ecdb5195b8a0d1754.tar.gz
gnome-bluetooth: fix build with libnotify >= 0.7.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0003-Fix-build-with-libnotify-0.7.0.patch47
-rw-r--r--meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb1
2 files changed, 48 insertions, 0 deletions
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 0000000000..118ef93e3f
--- /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@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
index 7b09fe1ab8..7d33778c66 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"