Skip to contentSkip to conversation

gnome-desktop3: add gnome-common to DEPENDS

PATCH In review Andreas Müller 3 participants 10 messages Apr 17, 2013 – Apr 26, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gnome-desktop3: add gnome-common to DEPENDS

error message was:

ERROR: Function failed: do_configure (see /home/andreas/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/gnome-desktop3/3.0.2-r1/temp/log.do_configure.15134 for further information)
ERROR: Logfile of failure stored in: /home/andreas/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/gnome-desktop3/3.0.2-r1/temp/log.do_configure.15134 Log data follows:

| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
| cp: cannot stat `/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/share/gnome-common/data/omf.make': No such file or directory
| ERROR: Function failed: do_configure (see /home/andreas/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/gnome-desktop3/3.0.2-r1/temp/log.do_configure.15134 for further information)

ERROR: Task 251 (/home/andreas/data/oe-core/sources/meta-openembedded/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.0.2.bb, do_configure) failed with exit code '1'

---
 .../gnome-desktop/gnome-desktop3_3.0.2.bb          |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop3_3.0.2.bb +2 -2
index 9694a88..4aacd5f 100644
@@ -4,7 +4,7 @@ LICENSE = "GPLv2 & LGPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2"
 
-PR = "r1"
+PR = "r2"
 
 BPN = "gnome-desktop"
 
@@ -12,7 +12,7 @@ inherit gnome pkgconfig
 SRC_URI[archive.md5sum] = "e2fd9d545d4d7ff66525f10364ab671e"
 SRC_URI[archive.sha256sum] = "0ac9b4a358c6d92d20283cf56a9817262ff3ce038013cbb5d98e4ab97aa2c9a3"
 
-DEPENDS += "gsettings-desktop-schemas gconf libxrandr virtual/libx11 gtk+3 glib-2.0 gnome-doc-utils"
+DEPENDS += "gsettings-desktop-schemas gconf libxrandr virtual/libx11 gtk+3 glib-2.0 gnome-doc-utils gnome-common"
 
 EXTRA_OECONF = "--disable-scrollkeeper --disable-desktop-docs"
 
Signature · 1 line
1.7.6.5
#1 lore raw

PATCH 2/2 libnotify: update to 0.7.5 and drop libnotify3

removing tests drops dependencies on gtk

Tested by:

* building nautilus3 (the only recipe found depending on libnotify3)
* running xfce-based image and checked notififations

---
 .../libnotify/libnotify/0001-disable-tests.patch   |   54 ++++++++++++++++++++
 .../recipes-gnome/libnotify/libnotify3_0.7.3.bb    |   13 -----
 .../recipes-gnome/libnotify/libnotify_0.6.0.bb     |   17 ------
 .../recipes-gnome/libnotify/libnotify_0.7.5.bb     |   17 ++++++
 4 files changed, 71 insertions(+), 30 deletions(-)
 create mode 100644 meta-gnome/recipes-gnome/libnotify/libnotify/0001-disable-tests.patch
 delete mode 100644 meta-gnome/recipes-gnome/libnotify/libnotify3_0.7.3.bb
 delete mode 100644 meta-gnome/recipes-gnome/libnotify/libnotify_0.6.0.bb
 create mode 100644 meta-gnome/recipes-gnome/libnotify/libnotify_0.7.5.bb
meta-gnome/recipes-gnome/libnotify/libnotify/0001-disable-tests.patch new file +54 -0
new file mode 100644
index 0000000..372e6fd
@@ -0,0 +1,54 @@
+From ff403cb57c307850cadddec2b6b1c0c5ee609249 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Wed, 17 Apr 2013 14:00:32 +0200
+Subject: [PATCH] disable tests
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+tests depend on gtk3 but many of us are still using gtk+.
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ Makefile.am  |    2 +-
+ configure.ac |    4 ----
+ 2 files changed, 1 insertions(+), 5 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 9e12a02..609fae0 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,6 +1,6 @@
+ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+ 
+-SUBDIRS = libnotify docs tools tests
++SUBDIRS = libnotify docs tools
+ 
+ pcdata_DATA = libnotify.pc
+ pcdatadir = $(libdir)/pkgconfig
+diff --git a/configure.ac b/configure.ac
+index ae2d2d7..e13adcf 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -86,16 +86,12 @@ AC_EXEEXT
+ LT_PREREQ([2.2])
+ LT_INIT
+ 
+-REQ_GTK_VERSION=2.90
+ REQ_GLIB_VERSION=2.26.0
+ 
+ pkg_modules="gdk-pixbuf-2.0 glib-2.0 >= $REQ_GLIB_VERSION gio-2.0 >= $REQ_GLIB_VERSION"
+ AC_SUBST([pkg_modules])
+ PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
+ 
+-tests_modules="gtk+-3.0 >= $REQ_GTK_VERSION"
+-PKG_CHECK_MODULES(TESTS, [$tests_modules])
+-
+ GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
+ AC_SUBST(GLIB_GENMARSHAL)
+ 
+-- 
+1.7.6.5
+
meta-gnome/recipes-gnome/libnotify/libnotify3_0.7.3.bb deleted +0 -13
deleted file mode 100644
index 4c46ec4..0000000
@@ -1,13 +0,0 @@
-DESCRIPTION = "Send desktop notifications to a notification daemon"
-SECTION = "libs"
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
-
-DEPENDS = "dbus gtk+3"
-
-BPN = "libnotify"
-
-inherit gnome lib_package
-
-SRC_URI[archive.md5sum] = "d20676bde7bd2d276508d019dc7276f1"
-SRC_URI[archive.sha256sum] = "322541fdf276eb803686df81763a5186af041b2ee3e9cc5fa1dc86c550388c88"
meta-gnome/recipes-gnome/libnotify/libnotify_0.6.0.bb deleted +0 -17
deleted file mode 100644
index 0a590e3..0000000
@@ -1,17 +0,0 @@
-DESCRIPTION = "Send desktop notifications to a notification daemon"
-SECTION = "libs"
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
-
-PR = "r1"
-
-DEPENDS = "dbus gtk+"
-
-inherit gnome
-SRC_URI[archive.md5sum] = "732c9d2cd5eb6a9069264a319d330516"
-SRC_URI[archive.sha256sum] = "73b16a79bb2fed62dcf146b11c4405776cb96a09dce66379ca541da7dbd64210"
-
-do_configure_prepend() {
-    sed -i /GTK3/d configure.ac
-    sed -i -e /test-gtk3/d -e 's/test-xy-stress \\/test-xy-stress/' tests/Makefile.am
-}
meta-gnome/recipes-gnome/libnotify/libnotify_0.7.5.bb new file +17 -0
new file mode 100644
index 0000000..718d504
@@ -0,0 +1,17 @@
+DESCRIPTION = "Send desktop notifications to a notification daemon"
+SECTION = "libs"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
+
+DEPENDS = "dbus glib-2.0"
+
+inherit gnome
+GNOME_COMPRESS_TYPE = "xz"
+
+SRC_URI += "file://0001-disable-tests.patch"
+SRC_URI[archive.md5sum] = "8e9f8bd26517bc197ab1df748df289a9"
+SRC_URI[archive.sha256sum] = "4378cb47874ba4d5f759b7890d8d28d086e81d3f0bd4f6e84e5ab66d82ffb652"
+
+PROVIDES += "libnotify3"
+RPROVIDES_${PN} += "libnotify3"
+RREPLACES_${PN} += "libnotify3"
Signature · 1 line
1.7.6.5
#2 lore raw

Re: [meta-gnome 2/2] libnotify: update to 0.7.5 and drop libnotify3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 17-04-13 15:49, Andreas Müller schreef:

Quoted 6 lines

removing tests drops dependencies on gtk

Tested by:

* building nautilus3 (the only recipe found depending on libnotify3) * running xfce-based image and checked notififations

The problem with libnotify was (is?) that it removed some API that GNOME 2.x depends on and later introduced API that GNOME 3.x depends on, hence the 2 recipes. Do all the GNOME 2.x bits build against this new libnotify? The error was a build break, so it things build, they are likely to work :)

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFRbqsnMkyGM64RGpERAo5KAJ9ocpDhDbogLX0xU08poPwCRT6zhQCfbIIS W+EIOPHTJx5UvUsuXNIwRl4=
=tnMk
-----END PGP SIGNATURE-----

#3 lore raw

Re: [meta-gnome 2/2] libnotify: update to 0.7.5 and drop libnotify3

Quoted 11 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 17-04-13 15:49, Andreas Müller schreef:

Quoted 6 lines

removing tests drops dependencies on gtk

Tested by:

* building nautilus3 (the only recipe found depending on libnotify3) * running xfce-based image and checked notififations

Quoted 9 lines

The problem with libnotify was (is?) that it removed some API that GNOME 2.x depends on and later introduced API that GNOME 3.x depends on, hence the 2 recipes. Do all the GNOME 2.x bits build against this new libnotify? The error was a build break, so it things build, they are likely to work :)

regards,

Koen

Martin's world shall let us know

Andreas

#4 lore raw

Re: [meta-gnome 2/2] libnotify: update to 0.7.5 and drop libnotify3

Quoted 17 lines · Andreas Müller
Quoted 16 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 17-04-13 15:49, Andreas Müller schreef:

Quoted 6 lines

removing tests drops dependencies on gtk

Tested by:

* building nautilus3 (the only recipe found depending on libnotify3) * running xfce-based image and checked notififations

The problem with libnotify was (is?) that it removed some API that GNOME 2.x depends on and later introduced API that GNOME 3.x depends on, hence the 2 recipes. Do all the GNOME 2.x bits build against this new libnotify? The error was a build break, so it things build, they are likely to work :)

Quoted 5 lines
Quoted 4 lines

regards,

Koen

Martin's world shall let us know

My slaves are looking forward to serve..

It's in queue, but still jenkins is 40+ hours behind, so I'll let you know later..

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw

Re: [meta-gnome 2/2] libnotify: update to 0.7.5 and drop libnotify3

Quoted 20 lines · Martin Jansa
Quoted 19 lines · Andreas Müller
Quoted 18 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 17-04-13 15:49, Andreas Müller schreef:

Quoted 6 lines

removing tests drops dependencies on gtk

Tested by:

* building nautilus3 (the only recipe found depending on libnotify3) * running xfce-based image and checked notififations

The problem with libnotify was (is?) that it removed some API that GNOME 2.x depends on and later introduced API that GNOME 3.x depends on, hence the 2 recipes. Do all the GNOME 2.x bits build against this new libnotify? The error was a build break, so it things build, they are likely to work :)

regards,

Quoted 8 lines
Quoted 3 lines
Quoted 2 lines

Koen

Martin's world shall let us know

My slaves are looking forward to serve..

It's in queue, but still jenkins is 40+ hours behind, so I'll let you know later..

I started and additional test. At least zenity fails for API change but seems not a big deal to fix. Will send follow up patches.

Andreas

#6 lore raw

Re: [meta-gnome 2/2] libnotify: update to 0.7.5 and drop libnotify3

Quoted 23 lines · Andreas Müller
Quoted 22 lines · Martin Jansa
Quoted 21 lines · Andreas Müller
Quoted 20 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 17-04-13 15:49, Andreas Müller schreef:

Quoted 6 lines

removing tests drops dependencies on gtk

Tested by:

* building nautilus3 (the only recipe found depending on libnotify3) * running xfce-based image and checked notififations

The problem with libnotify was (is?) that it removed some API that GNOME 2.x depends on and later introduced API that GNOME 3.x depends on, hence the 2 recipes. Do all the GNOME 2.x bits build against this new libnotify? The error was a build break, so it things build, they are likely to work :)

regards,

Koen

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Martin's world shall let us know

My slaves are looking forward to serve..

It's in queue, but still jenkins is 40+ hours behind, so I'll let you know later..

I started and additional test. At least zenity fails for API change but seems not a big deal to fix. Will send follow up patches.

I guess that to test this properly I should cleansstate both libnotify or do build from scratch, because I cannot know which one won into-the-sysroot race during last build.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#7 lore raw

Re: [meta-gnome 2/2] libnotify: update to 0.7.5 and drop libnotify3

Quoted 30 lines · Martin Jansa
Quoted 29 lines · Andreas Müller
Quoted 28 lines · Martin Jansa
Quoted 17 lines · Andreas Müller
Quoted 16 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 17-04-13 15:49, Andreas Müller schreef:

Quoted 6 lines

removing tests drops dependencies on gtk

Tested by:

* building nautilus3 (the only recipe found depending on libnotify3) * running xfce-based image and checked notififations

The problem with libnotify was (is?) that it removed some API that GNOME 2.x depends on and later introduced API that GNOME 3.x depends on, hence the 2 recipes. Do all the GNOME 2.x bits build against this new libnotify? The error was a build break, so it things build, they are likely to work :)

Quoted 5 lines
Quoted 4 lines

regards,

Koen

Martin's world shall let us know

My slaves are looking forward to serve..

It's in queue, but still jenkins is 40+ hours behind, so I'll let you know later..

Quoted 8 lines
Quoted 2 lines

I started and additional test. At least zenity fails for API change but seems not a big deal to fix. Will send follow up patches.

I guess that to test this properly I should cleansstate both libnotify or do build from scratch, because I cannot know which one won into-the-sysroot race during last build.

--

1. I think yes
2. I found build faults for gnome-power-manager zenity gnome-settings-daemon - hope to fix these until tomorrow.

Andreas

#8 lore raw

Re: [meta-gnome 2/2] libnotify: update to 0.7.5 and drop libnotify3

Quoted 38 lines · Andreas Müller
Quoted 37 lines · Martin Jansa
Quoted 23 lines · Andreas Müller
Quoted 22 lines · Martin Jansa
Quoted 21 lines · Andreas Müller
Quoted 20 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 17-04-13 15:49, Andreas Müller schreef:

Quoted 6 lines

removing tests drops dependencies on gtk

Tested by:

* building nautilus3 (the only recipe found depending on libnotify3) * running xfce-based image and checked notififations

The problem with libnotify was (is?) that it removed some API that GNOME 2.x depends on and later introduced API that GNOME 3.x depends on, hence the 2 recipes. Do all the GNOME 2.x bits build against this new libnotify? The error was a build break, so it things build, they are likely to work :)

regards,

Koen

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Martin's world shall let us know

My slaves are looking forward to serve..

It's in queue, but still jenkins is 40+ hours behind, so I'll let you know later..

I started and additional test. At least zenity fails for API change but seems not a big deal to fix. Will send follow up patches.

I guess that to test this properly I should cleansstate both libnotify or do build from scratch, because I cannot know which one won into-the-sysroot race during last build.

Quoted 6 lines
Quoted 1 line

--

1. I think yes
2. I found build faults for gnome-power-manager zenity gnome-settings-daemon - hope to fix these until tomorrow.

Andreas

Now after looking into it I suggest to forget these patches. Between 0.6.1 and 0.7.x not only the API changed but also the GObject interface. The properties

attach-widget
status-icon

were removed. This will cause unpredictable results for applications using them. The only chance I see is to put them back but this seems more efforts and deep understanding the difference between gtk+ and gtk3.

Andreas

#9 lore raw

Re: [meta-gnome 2/2] libnotify: update to 0.7.5 and drop libnotify3

Quoted 51 lines · Andreas Müller
Quoted 38 lines · Andreas Müller
Quoted 37 lines · Martin Jansa
Quoted 23 lines · Andreas Müller
Quoted 22 lines · Martin Jansa
Quoted 21 lines · Andreas Müller
Quoted 20 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 17-04-13 15:49, Andreas Müller schreef:

Quoted 6 lines

removing tests drops dependencies on gtk

Tested by:

* building nautilus3 (the only recipe found depending on libnotify3) * running xfce-based image and checked notififations

The problem with libnotify was (is?) that it removed some API that GNOME 2.x depends on and later introduced API that GNOME 3.x depends on, hence the 2 recipes. Do all the GNOME 2.x bits build against this new libnotify? The error was a build break, so it things build, they are likely to work :)

regards,

Koen

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Martin's world shall let us know

My slaves are looking forward to serve..

It's in queue, but still jenkins is 40+ hours behind, so I'll let you know later..

I started and additional test. At least zenity fails for API change but seems not a big deal to fix. Will send follow up patches.

I guess that to test this properly I should cleansstate both libnotify or do build from scratch, because I cannot know which one won into-the-sysroot race during last build.

Quoted 6 lines
Quoted 1 line

--

1. I think yes
2. I found build faults for gnome-power-manager zenity gnome-settings-daemon - hope to fix these until tomorrow.

Andreas

Now after looking into it I suggest to forget these patches. Between 0.6.1 and 0.7.x not only the API changed but also the GObject interface. The properties

Quoted 7 lines

attach-widget
status-icon

were removed. This will cause unpredictable results for applications using them. The only chance I see is to put them back but this seems more efforts and deep understanding the difference between gtk+ and gtk3.

yes seems like there is quite a few build issues

here are last 3 world builds with this change applied:
qemux86:
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130423_042257.log/
qemux86-64:
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130424_014915.log/
qemuarm
http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130425_025239.log/

ERROR: Task 5529 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-gnome/recipes-gnome/libgnome/libgnomecanvas_2.26.0.bb, do_compile) failed with exit code '1'
| gnome-canvas-rich-text.c:2150:2: error: implicit declaration of function 'gtk_text_layout_draw' [-Werror=implicit-function-declaration]

ERROR: Task 8938 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-gnome/recipes-gnome/libgnome/libgnome_2.32.1.bb, do_compile) failed with exit code '1'
| gnome-program.c:2067:2: error: implicit declaration of function
'g_atexit' [-Werror=implicit-function-declaration]

ERROR: Task 2143 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb, do_compile) failed with exit code '1'
| notification-main.c:539:21: error: too many arguments to function
'notify_notification_new'

ERROR: Task 13041 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_2.32.0.bb, do_compile) failed with exit code '1'
| notify.c:74:2: error: too many arguments to function
'notify_notification_new'

ERROR: Task 10197 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-gnome/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bb, do_compile) failed with exit code '1'
| gsd-a11y-keyboard-manager.c:612:64: error: too many arguments to
function 'notify_notification_new'

ERROR: Task 22117 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-gnome/recipes-gnome/epiphany/epiphany_2.30.6.bb, do_compile) failed with exit code '1'
| downloader-view.c:340:7: error: too many arguments to function
'notify_notification_new'

ERROR: Task 9420 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-gnome/recipes-gnome/zenity/zenity_2.32.1.bb, do_compile) failed with exit code '1'
| notification.c:187:11: error: implicit declaration of function 'notify_notification_new_with_status_icon'
[-Werror=implicit-function-declaration]

ERROR: Task 396 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-gnome/recipes-gnome/gnome-power-manager/gnome-power-manager_2.32.0.bb, do_compile) failed with exit code '1'
| gpm-manager.c:488:3: error: too many arguments to function
'notify_notification_new'

Quoted 6 lines

Andreas

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]