Skip to contentSkip to conversation

gtk+_2.20.1: Depend on gdk-pixbuf-native

PATCH Applied Khem Raj 6 participants 11 messages Aug 27, 2012 – Sep 14, 2012

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gtk+_2.20.1: Depend on gdk-pixbuf-native

also BBCLASSEXTEND gdk-pixbuf recipes to provide native version

Newer distros which ship glib-2.0 version 2.32+ there are some missing symbols that gtk+ 2.20 will complain about. So we create own gdk-pixbuf so it does not link to library from host system

---
 recipes/gtk+/gdk-pixbuf_2.10.14.bb |    1 +
 recipes/gtk+/gtk+_2.20.1.bb        |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
recipes/gtk+/gdk-pixbuf_2.10.14.bb +1 -0
index e41f9e0..c41a2be 100644
@@ -64,6 +64,7 @@ do_install() {
 	cd gdk-pixbuf && oe_runmake install DESTDIR=${D}
 }
 
+BBCLASSEXTEND = "native"
 
 SRC_URI[md5sum] = "018d7dd0fa7de01cfdb77c7c55e7ba26"
 SRC_URI[sha256sum] = "d02344239d048390ba02fcfd7de4f9efc0dfb51e7b06dfa46a6314d666ea4de2"
recipes/gtk+/gtk+_2.20.1.bb +2 -2
index 62f2f3c..4d801f1 100644
@@ -13,13 +13,13 @@ SRC_URI_append = "file://gtk-dnd-grab-deadlock-fix.patch \
 SRC_URI[gtk.md5sum] = "53e6f3a93bd22934878fc4a4a34c68aa"
 SRC_URI[gtk.sha256sum] = "0e081731d21e34ff45c82199490c2889504fa8b3c7e117c043e82ababaec0f65"
 
-PR = "${INC_PR}.5"
+PR = "${INC_PR}.6"
 
 BBCLASSEXTEND = "native"
 
 ARM_INSTRUCTION_SET = "arm"
 
-DEPENDS_virtclass-native = "libpng-native atk-native pango-native cairo-native libxrender-native libxext-native libgcrypt-native"
+DEPENDS_virtclass-native = "gdk-pixbuf-native libpng-native atk-native pango-native cairo-native libxrender-native libxext-native libgcrypt-native"
 PROVIDES_virtclass-native = "gdk-pixbuf-csource-native"
 
 # Enable xkb selectively
Signature · 1 line
1.7.9.5
Applied
#1 lore raw
Quoted 9 lines · Khem Raj

also BBCLASSEXTEND gdk-pixbuf recipes to provide native version

Newer distros which ship glib-2.0 version 2.32+ there are some missing symbols that gtk+ 2.20 will complain about. So we create own gdk-pixbuf so it does not link to library from host system

Applied to 2011.03-maintenance branch.

Signature · 1 line
Tom
#2 lore raw
In reply to Khem Raj
Quoted 7 lines · Khem Raj

also BBCLASSEXTEND gdk-pixbuf recipes to provide native version

Newer distros which ship glib-2.0 version 2.32+ there are some missing symbols that gtk+ 2.20 will complain about. So we create own gdk-pixbuf so it does not link to library from host system

It seems that the dependencies are incomplete.

-----------> snip <-----------
...

| checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0    atk >= 1.9.0    pango >= 1.12.0    cairo >= 1.2.0) were not met:
|
| No package 'atk' found
| No package 'pango' found
| No package 'cairo' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
| and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
|

NOTE: package gdk-pixbuf-native-2.10.14-r2: task do_configure: Failed -----------> snip <-----------

Steffen

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#3 lore raw
Quoted 26 lines · Steffen Sledz
Quoted 7 lines · Khem Raj

also BBCLASSEXTEND gdk-pixbuf recipes to provide native version

Newer distros which ship glib-2.0 version 2.32+ there are some missing symbols that gtk+ 2.20 will complain about. So we create own gdk-pixbuf so it does not link to library from host system

It seems that the dependencies are incomplete.

-----------> snip <-----------
...

| checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0    atk >= 1.9.0    pango >= 1.12.0    cairo >= 1.2.0) were not met:
|
| No package 'atk' found
| No package 'pango' found
| No package 'cairo' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
| and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
|
Quoted 2 lines

NOTE: package gdk-pixbuf-native-2.10.14-r2: task do_configure: Failed -----------> snip <-----------

Ping!

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#4 lore raw

PATCH 1/1 gdk-pixbuf: add missing dependencies

This fixes an error in do_configure step for target and native build.

| checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0    atk >= 1.9.0    pango >= 1.12.0    cairo >= 1.2.0) were not met:
|
| No package 'atk' found
| No package 'pango' found
| No package 'cairo' found
---
 recipes/gtk+/gdk-pixbuf_2.10.14.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes/gtk+/gdk-pixbuf_2.10.14.bb +1 -1
index c41a2be..e9493f9 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.gtk.org/"
 SECTION = "libs"
 LICENSE = "LGPL"
 PRIORITY = "optional"
-DEPENDS = "libpng gettext glib-2.0"
+DEPENDS = "libpng gettext glib-2.0 atk pango cairo"
 PR = "r2"
 
 S = "${WORKDIR}/gtk+-${PV}"
Signature · 1 line
1.7.10.4
#5 lore raw

Re: [2011.03-maintenance][PATCH] gdk-pixbuf: add missing dependencies

Quoted 3 lines · Steffen Sledz
| No package 'atk' found
| No package 'pango' found
| No package 'cairo' found

Those are spurious dependencies in a very old version of gdk-pixbuf.

oe-core master has 2.24.1 at the moment, is there a good reason why meta-oe is hanging onto 2.10.14?

Ross

#6 lore raw

Re: [2011.03-maintenance][PATCH] gdk-pixbuf: add missing dependencies

Quoted 9 lines · Ross
Quoted 3 lines · Steffen Sledz
| No package 'atk' found
| No package 'pango' found
| No package 'cairo' found

Those are spurious dependencies in a very old version of gdk-pixbuf.

oe-core master has 2.24.1 at the moment, is there a good reason why meta-oe is hanging onto 2.10.14?

2011.03-maintenance != meta-oe

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

Re: [2011.03-maintenance][PATCH] gdk-pixbuf: add missing dependencies

In reply to Burton, Ross
Quoted 9 lines · Ross
Quoted 3 lines · Steffen Sledz
| No package 'atk' found
| No package 'pango' found
| No package 'cairo' found

Those are spurious dependencies in a very old version of gdk-pixbuf.

oe-core master has 2.24.1 at the moment, is there a good reason why meta-oe is hanging onto 2.10.14?

This is the OE-Classic 2011.03-maintenance branch. I was surprised too until I realised where this was :)

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#8 lore raw

Re: [2011.03-maintenance][PATCH] gdk-pixbuf: add missing dependencies

Quoted 5 lines · Paul Eggleton
Quoted 2 lines

oe-core master has 2.24.1 at the moment, is there a good reason why meta-oe is hanging onto 2.10.14?

This is the OE-Classic 2011.03-maintenance branch. I was surprised too until I realised where this was :)

Oh, wow. In that case I recommend either patching out those dependencies instead, or upgrading to a more modern version of gdk-pixbuf.

Ross

#9 lore raw

Re: [2011.03-maintenance][PATCH] gdk-pixbuf: add missing dependencies

Quoted 10 lines · Ross
Quoted 5 lines · Paul Eggleton
Quoted 2 lines

oe-core master has 2.24.1 at the moment, is there a good reason why meta-oe is hanging onto 2.10.14?

This is the OE-Classic 2011.03-maintenance branch. I was surprised too until I realised where this was :)

Oh, wow. In that case I recommend either patching out those dependencies instead, or upgrading to a more modern version of gdk-pixbuf.

This is a maintenance branch. Tom normally does not accept upgrade patches if there's no critical problem it fixes.

I just wanted to fix a build problem introduced with Khem's commit.

Steffen

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
Applied
#10 lore raw

Re: [2011.03-maintenance][PATCH] gdk-pixbuf: add missing dependencies

In reply to Steffen Sledz
Quoted 9 lines · Steffen Sledz

This fixes an error in do_configure step for target and native build.

| checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0    atk >= 1.9.0    pango >= 1.12.0    cairo >= 1.2.0) were not met:
|
| No package 'atk' found
| No package 'pango' found
| No package 'cairo' found

Applied, thanks!

Signature · 1 line
Tom