fix zenity build, and remove blacklist
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 fix zenity build, and remove blacklist
Zenity was blacklisted in meta-gnome, but it seems the fixes for the problem listed in blacklist reason were rather minimal,
additionally the newer version of libnotify no longer has the notify_notification_new_with_status_icon function, so this had to be replaced with notify_notification_new to get the build to complete
--- .../0002-fix-build-with-newer-libnotify.patch | 28 ++++++++++++++++++++++ meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb | 12 ++++++---- 2 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 meta-gnome/recipes-gnome/zenity/files/0002-fix-build-with-newer-libnotify.patch
meta-gnome/recipes-gnome/zenity/files/0002-fix-build-with-newer-libnotify.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 87f5f2acbf4f2cad50a0d1ea389d7170fe325b4e Mon Sep 17 00:00:00 2001 +From: Kai Iskratsch <[email protected]> +Date: Thu, 27 Oct 2016 13:08:40 +0200 +Subject: [PATCH] fix build with newer libnotify + +--- + src/notification.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/notification.c b/src/notification.c +index 99a2e36..3e5b320 100644 +--- a/src/notification.c ++++ b/src/notification.c +@@ -184,10 +184,10 @@ zenity_notification_handle_stdin (GIOChannel *channel, + icon = freeme = g_filename_to_uri (icon_file, NULL, NULL); + } + +- notif = notify_notification_new_with_status_icon ( ++ notif = notify_notification_new ( + message[0] /* title */, + message[1] /* summary */, +- icon, status_icon); ++ gtk_status_icon_get_icon_name( status_icon)); + + g_strfreev (message); + g_free (freeme); +-- +2.10.1
meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb +7 -5
@@ -4,18 +4,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" PR = "r2" -PNBLACKLIST[zenity] ?= "BROKEN: doesn't build with B!=S" - -DEPENDS = "gtk+ glib-2.0 libnotify gnome-doc-utils" +GNOME_COMPRESS_TYPE = "bz2" +DEPENDS = "gtk+ glib-2.0 libnotify gnome-doc-utils intltool-native" +RDEPENDS_${PN} += "perl" inherit gnomebase -SRC_URI += "file://0001-Makefile.am-don-t-build-help.patch" +SRC_URI += "file://0001-Makefile.am-don-t-build-help.patch \ + file://0002-fix-build-with-newer-libnotify.patch \ + " SRC_URI[archive.md5sum] = "aa66ec35451b16e424519b4973082170" SRC_URI[archive.sha256sum] = "8838be041a07364b62a4281c971392e4a09bb01bb3237a836ec0457ec0ea18ac" EXTRA_OECONF += "--disable-scrollkeeper" # remove -I/usr/include from zenity_CPPFLAGS do_configure_prepend() { - sed -i -e '/-I$(includedir)/d' src/Makefile.am + sed -i -e '/-I$(includedir)/d' ${S}/src/Makefile.am }
Signature · 1 line
2.10.1
Quoted 8 lines · Kai Iskratsch
Zenity was blacklisted in meta-gnome, but it seems the fixes for the problem listed in blacklist reason were rather minimal,
additionally the newer version of libnotify no longer has the
notify_notification_new_with_status_iconfunction, so this had to be replaced withnotify_notification_newto get the build to complete
this looks fine
Quoted 73 lines
---
.../0002-fix-build-with-newer-libnotify.patch| 28 ++++++++++++++++++++++
meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb | 12 ++++++----2 files changed, 35 insertions(+), 5 deletions(-)create mode 100644
meta-gnome/recipes-gnome/zenity/files/0002-fix-build-with-newer-libnotify.patchmeta-gnome/recipes-gnome/zenity/files/0002-fix-build-with-newer-libnotify.patch new file +28
-0@@ -0,0 +1,28 @@ +From 87f5f2acbf4f2cad50a0d1ea389d7170fe325b4e Mon Sep 17 00:00:00 2001 +From: Kai Iskratsch <[email protected]> +Date: Thu, 27 Oct 2016 13:08:40 +0200 +Subject: [PATCH] fix build with newer libnotify + +--- + src/notification.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/notification.c b/src/notification.c +index 99a2e36..3e5b320 100644 +--- a/src/notification.c ++++ b/src/notification.c +@@ -184,10 +184,10 @@ zenity_notification_handle_stdin (GIOChannel *channel, + icon = freeme = g_filename_to_uri (icon_file, NULL, NULL); + } + +- notif = notify_notification_new_with_status_icon ( ++ notif = notify_notification_new ( + message[0] /* title */, + message[1] /* summary */, +- icon, status_icon); ++ gtk_status_icon_get_icon_name( status_icon)); + + g_strfreev (message); + g_free (freeme); +-- +2.10.1meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb +6
-4@@ -4,18 +4,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" PR = "r2" -PNBLACKLIST[zenity] ?= "BROKEN: doesn't build with B!=S" - -DEPENDS = "gtk+ glib-2.0 libnotify gnome-doc-utils" +GNOME_COMPRESS_TYPE = "bz2" +DEPENDS = "gtk+ glib-2.0 libnotify gnome-doc-utils intltool-native" +RDEPENDS_${PN} += "perl" inherit gnomebase -SRC_URI += "file://0001-Makefile.am-don-t-build-help.patch" +SRC_URI += "file://0001-Makefile.am-don-t-build-help.patch \ + file://0002-fix-build-with-newer-libnotify.patch \ + "SRC_URI[archive.md5sum] = "
aa66ec35451b16e424519b4973082170" SRC_URI[archive.sha256sum] = "8838be041a07364b62a4281c971392e4a09bb01bb3237a836ec0457ec0ea18ac"
EXTRA_OECONF+= "--disable-scrollkeeper"# remove -I/usr/include from zenity_CPPFLAGS do_configure_prepend() {meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb +1
-1- sed -i -e '/-I$(includedir)/d' src/Makefile.am + sed -i -e '/-I$(includedir)/d' ${S}/src/Makefile.am}
--
2.10.1--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 6 lines · Kai Iskratsch
Zenity was blacklisted in meta-gnome, but it seems the fixes for the problem listed in blacklist reason were rather minimal,
additionally the newer version of libnotify no longer has the
notify_notification_new_with_status_iconfunction, so this had to be replaced withnotify_notification_newto get the build to complete
Is this already fixed in krogoth, morty and master?
I don't think so, so it needs to be fixed in master first and then it might be backported into older releases.
Quoted 78 lines
--- .../0002-fix-build-with-newer-libnotify.patch | 28 ++++++++++++++++++++++ meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb | 12 ++++++---- 2 files changed, 35 insertions(+), 5 deletions(-)create mode 100644
meta-gnome/recipes-gnome/zenity/files/0002-fix-build-with-newer-libnotify.patchmeta-gnome/recipes-gnome/zenity/files/0002-fix-build-with-newer-libnotify.patch new file +28
-0@@ -0,0 +1,28 @@ +From 87f5f2acbf4f2cad50a0d1ea389d7170fe325b4e Mon Sep 17 00:00:00 2001 +From: Kai Iskratsch <[email protected]> +Date: Thu, 27 Oct 2016 13:08:40 +0200 +Subject: [PATCH] fix build with newer libnotify + +--- + src/notification.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/notification.c b/src/notification.c +index 99a2e36..3e5b320 100644 +--- a/src/notification.c ++++ b/src/notification.c +@@ -184,10 +184,10 @@ zenity_notification_handle_stdin (GIOChannel *channel, + icon = freeme = g_filename_to_uri (icon_file, NULL, NULL); + } + +- notif = notify_notification_new_with_status_icon ( ++ notif = notify_notification_new ( + message[0] /* title */, + message[1] /* summary */, +- icon, status_icon); ++ gtk_status_icon_get_icon_name( status_icon)); + + g_strfreev (message); + g_free (freeme); +-- +2.10.1meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb +7
-5@@ -4,18 +4,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" PR = "r2" -PNBLACKLIST[zenity] ?= "BROKEN: doesn't build with B!=S" - -DEPENDS = "gtk+ glib-2.0 libnotify gnome-doc-utils" +GNOME_COMPRESS_TYPE = "bz2" +DEPENDS = "gtk+ glib-2.0 libnotify gnome-doc-utils intltool-native" +RDEPENDS_${PN} += "perl" inherit gnomebase -SRC_URI += "file://0001-Makefile.am-don-t-build-help.patch" +SRC_URI += "file://0001-Makefile.am-don-t-build-help.patch \ + file://0002-fix-build-with-newer-libnotify.patch \ + " SRC_URI[archive.md5sum] = "aa66ec35451b16e424519b4973082170" SRC_URI[archive.sha256sum] = "8838be041a07364b62a4281c971392e4a09bb01bb3237a836ec0457ec0ea18ac" EXTRA_OECONF += "--disable-scrollkeeper" # remove -I/usr/include from zenity_CPPFLAGS do_configure_prepend() { - sed -i -e '/-I$(includedir)/d' src/Makefile.am + sed -i -e '/-I$(includedir)/d' ${S}/src/Makefile.am }Signature · 7 lines
2.10.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
At work we only use a jethro based system, when we tried updating to krogoth we were getting lots of build errors so company decission was to stay with jethro. So i doubt i will get time allocated for testing the patch with master or krogoth. So all i can do is send patches for jethro or no patches at all.
The zenity receipe is unchanged in master so the patch should apply in master too, so its likely it works there too, but build could fail on new problems and I don't want to send it in for master without testing.
Quoted 91 lines · Martin Jansa
Quoted 5 lines · Kai Iskratsch
Zenity was blacklisted in meta-gnome, but it seems the fixes for the problem listed in blacklist reason were rather minimal,
additionally the newer version of libnotify no longer has the
notify_notification_new_with_status_iconfunction, so this had to be replaced withnotify_notification_newto get the build to completeIs this already fixed in krogoth, morty and master?
I don't think so, so it needs to be fixed in master first and then it might be backported into older releases.
Quoted 78 lines
--- .../0002-fix-build-with-newer-libnotify.patch | 28 ++++++++++++++++++++++ meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb | 12 ++++++---- 2 files changed, 35 insertions(+), 5 deletions(-)create mode 100644
meta-gnome/recipes-gnome/zenity/files/0002-fix-build-with-newer-libnotify.patchmeta-gnome/recipes-gnome/zenity/files/0002-fix-build-with-newer-libnotify.patch new file +28
-0@@ -0,0 +1,28 @@ +From 87f5f2acbf4f2cad50a0d1ea389d7170fe325b4e Mon Sep 17 00:00:00 2001 +From: Kai Iskratsch <[email protected]> +Date: Thu, 27 Oct 2016 13:08:40 +0200 +Subject: [PATCH] fix build with newer libnotify + +--- + src/notification.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/notification.c b/src/notification.c +index 99a2e36..3e5b320 100644 +--- a/src/notification.c ++++ b/src/notification.c +@@ -184,10 +184,10 @@ zenity_notification_handle_stdin (GIOChannel *channel, + icon = freeme = g_filename_to_uri (icon_file, NULL, NULL); + } + +- notif = notify_notification_new_with_status_icon ( ++ notif = notify_notification_new ( + message[0] /* title */, + message[1] /* summary */, +- icon, status_icon); ++ gtk_status_icon_get_icon_name( status_icon)); + + g_strfreev (message); + g_free (freeme); +-- +2.10.1meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb +7
-5@@ -4,18 +4,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" PR = "r2" -PNBLACKLIST[zenity] ?= "BROKEN: doesn't build with B!=S" - -DEPENDS = "gtk+ glib-2.0 libnotify gnome-doc-utils" +GNOME_COMPRESS_TYPE = "bz2" +DEPENDS = "gtk+ glib-2.0 libnotify gnome-doc-utils intltool-native" +RDEPENDS_${PN} += "perl" inherit gnomebase -SRC_URI += "file://0001-Makefile.am-don-t-build-help.patch" +SRC_URI += "file://0001-Makefile.am-don-t-build-help.patch \ + file://0002-fix-build-with-newer-libnotify.patch \ + " SRC_URI[archive.md5sum] = "aa66ec35451b16e424519b4973082170" SRC_URI[archive.sha256sum] = "8838be041a07364b62a4281c971392e4a09bb01bb3237a836ec0457ec0ea18ac" EXTRA_OECONF += "--disable-scrollkeeper" # remove -I/usr/include from zenity_CPPFLAGS do_configure_prepend() { - sed -i -e '/-I$(includedir)/d' src/Makefile.am + sed -i -e '/-I$(includedir)/d' ${S}/src/Makefile.am }Signature · 7 lines
2.10.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel