Skip to contentSkip to conversation

updates and fixes again

PATCH New Andreas Müller 1 participant 7 messages Aug 30, 2015

lore
Share & tools
lore
#0 lore raw

v2 cover updates and fixes again

Note: xfce4-icon-theme patch is OK I've checked meanwhile

V2: appended gnome-bluetooth libnotify fix

The following changes since commit 985fca448f2593f5e5aeba07656eb8f2dad60183:

dhcp: fix parsing warning (2015-08-24 14:06:58 +0200)

are available in the git repository at:

git://github.com/schnitzeltony/meta-openembedded.git patches1

for you to fetch changes up to 8402dae17d7b30c74fccc666acd13a2b3598292c:

gnome-disk-utility: fix build for libnotify 0.7.x (2015-08-27 16:44:42 +0200)

----------------------------------------------------------------

Andreas Müller (5):
fontforge: update to 20150824
rodent-icon-theme: add RPROVIDES/RREPLACE/RCONFLICTS for
xfce4-icon-theme
xfce4-notifyd: fix build for libnotify 0.7.x
gnome-disk-utility: fix build for libnotify 0.7.x
gnome-bluetooth: fix build with libnotofy >= 0.7.0

Martin Jansa (1):
xfce4-icon-theme: remove

 .../0003-Fix-build-with-libnotify-0.7.0.patch      |  47 +++++++
 .../gnome-bluetooth/gnome-bluetooth_2.32.0.bb      |   1 +
 .../0002-Require-libnotify-0.6.1.patch             |  49 +++++++
 .../gnome-disk-utility_2.32.0.bb                   |   1 +
 ...fontforge_20141126.bb => fontforge_20150824.bb} |  11 +-
 ...ore-libnotify-version-7.0.0-compatibility.patch | 152 ---------------------
 .../xfce4-notifyd/xfce4-notifyd_0.2.4.bb           |   1 -
 .../rodent-icon-theme/rodent-icon-theme_5.0.bb     |   5 +
 .../xfce4-icon-theme/xfce4-icon-theme_4.4.3.bb     |  14 --
 9 files changed, 109 insertions(+), 172 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0003-Fix-build-with-libnotify-0.7.0.patch
 create mode 100644 meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/0002-Require-libnotify-0.6.1.patch
 rename meta-oe/recipes-graphics/fontforge/{fontforge_20141126.bb => fontforge_20150824.bb} (77%)
 delete mode 100644 meta-xfce/recipes-apps/xfce4-notifyd/files/0001-Restore-libnotify-version-7.0.0-compatibility.patch
 delete mode 100644 meta-xfce/recipes-art/xfce4-icon-theme/xfce4-icon-theme_4.4.3.bb
Signature · 1 line
2.1.0
#1 lore raw

PATCH v2 1/6 fontforge: update to 20150824

* LICENSE was rewrittem stating out more clearly that huge parts were initially licensed under BSD clause 3 - so add that licence.
* Follow suggestion not to use github release tarballs [1] and use git as source.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2015-August/102843.html

---
 .../{fontforge_20141126.bb => fontforge_20150824.bb}          | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-graphics/fontforge/{fontforge_20141126.bb => fontforge_20150824.bb} (77%)
meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb renamed from meta-oe/recipes-graphics/fontforge/fontforge_20141126.bb +6 -5
similarity index 77%
rename from meta-oe/recipes-graphics/fontforge/fontforge_20141126.bb
rename to meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb
index a2d6cc6..eb58d8f 100644
@@ -1,9 +1,9 @@
 SUMMARY = "A font editor"
 HOMEPAGE = "http://fontforge.github.io/en-US/"
-LICENSE = "GPLv3"
+LICENSE = "BSD-3-Clause & GPLv3"
 LIC_FILES_CHKSUM = " \
     file://COPYING.gplv3;md5=d32239bcb673463ab874e80d47fae504 \
-    file://LICENSE;md5=71d636ba7678baa1573e1b531041386e \
+    file://LICENSE;md5=3f922b42ed0033fa0fd4cd3268f6429c \
 "
 
 inherit autotools pkgconfig pythonnative distro_features_check
@@ -12,9 +12,10 @@ DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool"
 DEPENDS_append_class-target = " libxi"
 REQUIRED_DISTRO_FEATURES_append_class-target = " x11"
 
-SRC_URI = "https://github.com/${BPN}/${BPN}/archive/${PV}.tar.gz"
-SRC_URI[md5sum] = "0d6f5112c4e5689087339a94aceadf77"
-SRC_URI[sha256sum] = "9c90c640023463c0b2b97b87575a014fcf44f688c3763f4cd136d3c267092106"
+SRC_URI = "git://github.com/${BPN}/${BPN}.git"
+# tag 20150824
+SRCREV = "07d5ccff2704f8a56f1b3cc6695a4e31f85f88e6"
+S = "${WORKDIR}/git"
 
 EXTRA_OECONF_append_class-native = " with_x=no --disable-python-extension --disable-python-scripting"
 
Signature · 1 line
2.1.0
#2 lore raw

PATCH v2 2/6 xfce4-icon-theme: remove

In reply to Andreas Müller

From: Martin Jansa <[email protected]>

* replaced by rodent-icon-theme

---
 .../recipes-art/xfce4-icon-theme/xfce4-icon-theme_4.4.3.bb | 14 --------------
 1 file changed, 14 deletions(-)
 delete mode 100644 meta-xfce/recipes-art/xfce4-icon-theme/xfce4-icon-theme_4.4.3.bb
meta-xfce/recipes-art/xfce4-icon-theme/xfce4-icon-theme_4.4.3.bb deleted +0 -14
deleted file mode 100644
index 1e4b06b..0000000
@@ -1,14 +0,0 @@
-SUMMARY = "xfce4 icon theme rodent"
-SECTION = "x11/wm"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-
-DEPENDS = "intltool-native xfce4-dev-tools-native"
-
-inherit xfce
-
-SRC_URI = "http://archive.xfce.org/src/art/${BPN}/${@'${PV}'[0:3]}/${BP}.tar.bz2"
-SRC_URI[md5sum] = "73ce2977b84f634a6a6c5d9c27e336db"
-SRC_URI[sha256sum] = "d4786692d56b8a563f66a5f260f1f13ade11e86c78cbcb25a9f9a5fc47cf66fa"
-
-FILES_${PN} += "${datadir}/xfce4/mime"
Signature · 1 line
2.1.0
#3 lore raw

PATCH v2 3/6 rodent-icon-theme: add RPROVIDES/RREPLACE/RCONFLICTS for xfce4-icon-theme

In reply to Andreas Müller

rodent-icon-theme is successor of xfce4-icon-theme

---
 meta-xfce/recipes-art/rodent-icon-theme/rodent-icon-theme_5.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-xfce/recipes-art/rodent-icon-theme/rodent-icon-theme_5.0.bb +5 -0
index 130e032..40ba340 100644
@@ -9,3 +9,8 @@ SRC_URI[md5sum] = "4b097d344a160d6497c6498985c8df15"
 SRC_URI[sha256sum] = "6ed00d16faa1f55b3bb7b13862de1d7f5cfd978b93e42487ded21595d0dbe208"
 
 FILES_${PN} += "${datadir}/icons"
+
+RREPLACES_${PN} += "xfce4-icon-theme"
+RPROVIDES_${PN} += "xfce4-icon-theme"
+RCONFLICTS_${PN} += "xfce4-icon-theme"
+
Signature · 1 line
2.1.0
#4 lore raw

PATCH v2 4/6 xfce4-notifyd: fix build for libnotify 0.7.x

In reply to Andreas Müller

the patch included during last commit only made latest xfce4-notifyd work with old version of libnotify. I expected it to work also for libnotify 0.7.x but that failed so remove the patch.

---
 ...ore-libnotify-version-7.0.0-compatibility.patch | 152 ---------------------
 .../xfce4-notifyd/xfce4-notifyd_0.2.4.bb           |   1 -
 2 files changed, 153 deletions(-)
 delete mode 100644 meta-xfce/recipes-apps/xfce4-notifyd/files/0001-Restore-libnotify-version-7.0.0-compatibility.patch
meta-xfce/recipes-apps/xfce4-notifyd/files/0001-Restore-libnotify-version-7.0.0-compatibility.patch deleted +0 -152
deleted file mode 100644
index 9e61a0e..0000000
@@ -1,152 +0,0 @@
-From ebfbe9358068716ed7f39e253bce4d13e696bc9b Mon Sep 17 00:00:00 2001
-From: Ivailo Monev <[email protected]>
-Date: Wed, 11 Dec 2013 13:18:13 +0000
-Subject: [PATCH 1/1] Restore libnotify version < 7.0.0 compatibility
-
-Upstream-Status: Pending [1]
-
-[1] https://mail.xfce.org/pipermail/xfce/2013-December/032733.html
-
-Signed-off-by: Ivailo Monev <[email protected]>
----
- Makefile.am                 |  4 +++-
- configure.ac                |  2 +-
- tests/test-actions.c        |  7 ++++++-
- tests/test-positioning.c    |  7 ++++++-
- tests/test-text.c           | 21 ++++++++++++++++++---
- xfce4-notifyd-config/main.c |  7 ++++++-
- 6 files changed, 40 insertions(+), 8 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index df81bea..034d6c1 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -271,9 +271,11 @@ noinst_PROGRAMS = \
- 
- tests_cflags = \
- 	-I$(top_srcdir) \
--	$(LIBNOTIFY_CFLAGS)
-+	$(LIBNOTIFY_CFLAGS) \
-+	$(common_cflags)
- 
- tests_ldadd = \
-+	$(common_ldadd) \
- 	$(LIBNOTIFY_LIBS)
- 
- tests_test_actions_SOURCES = tests/test-actions.c
-diff --git a/configure.ac b/configure.ac
-index cf5258f..9d2e8a7 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -67,7 +67,7 @@ XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [0.1.0svn-r26876])
- XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.14.0])
- XDT_CHECK_PACKAGE([DBUS], [dbus-1], [1.0.0])
- XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [0.72])
--XDT_CHECK_PACKAGE([LIBNOTIFY], [libnotify], [0.7.0])
-+XDT_CHECK_PACKAGE([LIBNOTIFY], [libnotify], [0.5.0])
- 
- AC_PATH_PROG([DBUS_BINDING_TOOL], [dbus-binding-tool])
- AS_IF([test -z "$DBUS_BINDING_TOOL"],
-diff --git a/tests/test-actions.c b/tests/test-actions.c
-index a7f6494..4cdf882 100644
---- a/tests/test-actions.c
-+++ b/tests/test-actions.c
-@@ -106,7 +106,12 @@ int main (int argc, char **argv)
- 
-   notification = notify_notification_new ("Action!",
-                                           "Click my shiny actions",
--                                          NULL);
-+                                          NULL
-+#if NOTIFY_CHECK_VERSION > (0, 6, 9)
-+                                          );
-+#else
-+                                          ,NULL);
-+#endif
- 
-   notify_notification_add_action (notification,
-                                   "action1",
-diff --git a/tests/test-positioning.c b/tests/test-positioning.c
-index 4478a92..2a90c6e 100644
---- a/tests/test-positioning.c
-+++ b/tests/test-positioning.c
-@@ -60,7 +60,12 @@ int main (int argc, char **argv)
- 
-       notification = notify_notification_new (summary,
-                                               body,
--                                              NULL);
-+                                              NULL
-+#if NOTIFY_CHECK_VERSION > (0, 6, 9)
-+                                              );
-+#else
-+                                              ,NULL);
-+#endif
- 
-       if (!notify_notification_show (notification, NULL))
-         {
-diff --git a/tests/test-text.c b/tests/test-text.c
-index 7500cb2..ac95931 100644
---- a/tests/test-text.c
-+++ b/tests/test-text.c
-@@ -40,7 +40,12 @@ int main (int argc, char **argv)
- 
-   notification = notify_notification_new ("Test text support",
-                                           "Does it work?",
--                                          NULL);
-+                                          NULL
-+#if NOTIFY_CHECK_VERSION > (0, 6, 9)
-+                                          );
-+#else
-+                                          ,NULL);
-+#endif
- 
-   if (!notify_notification_show (notification, NULL))
-     {
-@@ -56,7 +61,12 @@ int main (int argc, char **argv)
- 
-   notification = notify_notification_new ("Summary only support",
-                                           NULL,
--                                          NULL);
-+                                          NULL
-+#if NOTIFY_CHECK_VERSION > (0, 6, 9)
-+                                          );
-+#else
-+                                          ,NULL);
-+#endif
- 
-   if (!notify_notification_show (notification, NULL))
-     {
-@@ -75,7 +85,12 @@ int main (int argc, char **argv)
-                                           "<b>Bold</b>\n"
-                                           "<u>Underlined</u>\n"
-                                           "<a href=\"http://www.xfce.org\">Xfce Web site</a>",
--                                          NULL);
-+                                          NULL
-+#if NOTIFY_CHECK_VERSION > (0, 6, 9)
-+                                          );
-+#else
-+                                          ,NULL);
-+#endif
- 
-   if (!notify_notification_show (notification, NULL))
-     {
-diff --git a/xfce4-notifyd-config/main.c b/xfce4-notifyd-config/main.c
-index 5977749..eff4994 100644
---- a/xfce4-notifyd-config/main.c
-+++ b/xfce4-notifyd-config/main.c
-@@ -56,7 +56,12 @@ xfce_notifyd_config_show_notification_preview(GtkWindow *parent_window)
-     notification =
-         notify_notification_new(_("Notification Preview"),
-                                 _("This is how notifications will look like"),
--                                "xfce4-notifyd");
-+                                "xfce4-notifyd"
-+#if NOTIFY_CHECK_VERSION > (0, 6, 9)
-+                                );
-+#else
-+                                ,NULL);
-+#endif
- 
-     notify_notification_add_action(notification,
-                                    "button",
--- 
-1.9.3
-
meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.2.4.bb +0 -1
index 9d0e198..5f874ad 100644
@@ -8,7 +8,6 @@ inherit xfce-app
 
 SRC_URI[md5sum] = "094be6f29206aac8299f27084e284e88"
 SRC_URI[sha256sum] = "8c7ed62f9496816d1391281f77d1b32216f9bf6fd22fbe4f6f3f4e07a6bbced0"
-SRC_URI += "file://0001-Restore-libnotify-version-7.0.0-compatibility.patch"
 
 do_compile_prepend() {
 	mkdir -p xfce4-notifyd
Signature · 1 line
2.1.0
#5 lore raw

PATCH v2 5/6 gnome-disk-utility: fix build for libnotify 0.7.x

In reply to Andreas Müller
---
 .../0002-Require-libnotify-0.6.1.patch             | 49 ++++++++++++++++++++++
 .../gnome-disk-utility_2.32.0.bb                   |  1 +
 2 files changed, 50 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/0002-Require-libnotify-0.6.1.patch
meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/0002-Require-libnotify-0.6.1.patch new file +49 -0
new file mode 100644
index 0000000..0bc9707
@@ -0,0 +1,49 @@
+From f8dea8dd411cba10a54ec083c3d5c9d641ec36c0 Mon Sep 17 00:00:00 2001
+From: William Jon McCann <[email protected]>
+Date: Tue, 12 Oct 2010 00:12:49 -0400
+Subject: [PATCH] Require libnotify 0.6.1
+
+https://bugzilla.gnome.org/show_bug.cgi?id=631940
+
+Upstream-Status: Backport [1]
+
+[1] https://git.gnome.org/browse/gnome-disk-utility/commit/?id=f8dea8dd411cba10a54ec083c3d5c9d641ec36c0
+
+Signed-off-by: David Zeuthen <[email protected]>
+---
+ configure.ac                         | 2 +-
+ src/notification/notification-main.c | 5 +----
+ 2 files changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index c61212e..3790fcf 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -128,7 +128,7 @@ DBUS_GLIB_REQUIRED=0.74
+ GNOME_KEYRING_REQUIRED=2.22
+ GTK2_REQUIRED=2.20.0
+ UNIQUE_REQUIRED=1.0
+-LIBNOTIFY_REQUIRED=0.3.0
++LIBNOTIFY_REQUIRED=0.6.1
+ NAUTILUS_REQUIRED=2.24.0
+ AVAHI_UI_REQUIRED=0.6.25
+ 
+diff --git a/src/notification/notification-main.c b/src/notification/notification-main.c
+index 18e9672..b6a713f 100644
+--- a/src/notification/notification-main.c
++++ b/src/notification/notification-main.c
+@@ -535,10 +535,7 @@ update_status_icon (NotificationData *data)
+                     _("A hard disk may be failing"),
+                     /* Translators: This is used as the text of the notification*/
+                     _("One or more hard disks report health problems. Click the icon to get more information."),
+-                    "gtk-dialog-warning",
+-                    NULL);
+-                notify_notification_attach_to_status_icon (data->ata_smart_notification,
+-                                                           data->status_icon);
++                    "gtk-dialog-warning");
+                 notify_notification_set_urgency (data->ata_smart_notification, NOTIFY_URGENCY_CRITICAL);
+                 notify_notification_set_timeout (data->ata_smart_notification, NOTIFY_EXPIRES_NEVER);
+                 show_notification (data);
+-- 
+2.1.0
+
meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb +1 -0
index 2c526c8..cfc5f77 100644
@@ -16,6 +16,7 @@ SRC_URI += "\
     file://fix-dbus-interfaces.patch \
     file://sysrooted-pkg-config.patch \
     file://0001-Add-support-for-DeviceAutomountHint.patch \
+    file://0002-Require-libnotify-0.6.1.patch \
 "
 
 EXTRA_OECONF += "--disable-scrollkeeper"
Signature · 1 line
2.1.0
#6 lore raw

PATCH v2 6/6 gnome-bluetooth: fix build with libnotofy >= 0.7.0

In reply to Andreas Müller
---
 .../0003-Fix-build-with-libnotify-0.7.0.patch      | 47 ++++++++++++++++++++++
 .../gnome-bluetooth/gnome-bluetooth_2.32.0.bb      |  1 +
 2 files changed, 48 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0003-Fix-build-with-libnotify-0.7.0.patch
meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0003-Fix-build-with-libnotify-0.7.0.patch new file +47 -0
new file mode 100644
index 0000000..118ef93
@@ -0,0 +1,47 @@
+From 08a5b66d709781c0c596108278979a11b26331d5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+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 <[email protected]>
+---
+ 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
+
meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb +1 -0
index 9edceb5..5d2a364 100644
@@ -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"
Signature · 1 line
2.1.0