Skip to contentSkip to conversation

libgsf: fix compile error, add missing dependency on gtk+

PATCH In review Petr Štetiar 3 participants 8 messages Nov 8, 2009 – Nov 9, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgsf: fix compile error, add missing dependency on gtk+

This patch fixes this compile error:
main.c:38:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory

---
 recipes/gnome/libgsf_1.14.16.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/gnome/libgsf_1.14.16.bb +1 -1
index 5697275..9405b42 100644
@@ -1,7 +1,7 @@
 LICENSE = "GPL"
 SECTION = "libs"
 
-DEPENDS= "libxml2 bzip2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs"
+DEPENDS= "gtk+ libxml2 bzip2 glib-2.0 zlib gtk-doc libbonobo gnome-vfs"
 RDEPENDS = "gconf gnome-vfs"
 
 PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev "
Signature · 1 line
1.5.6.3
#1 lore raw
Quoted 2 lines · Petr Štetiar

This patch fixes this compile error:
main.c:38:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory

I wonder if you might be better off depending on gdk-pixbuf rather than the full gtk+. Does that work for you?

p.

#2 lore raw

Phil Blundell <[email protected]> [2009-11-08 14:49:54]:

Quoted 6 lines · Petr Štetiar
Quoted 2 lines

This patch fixes this compile error:
main.c:38:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory

I wonder if you might be better off depending on gdk-pixbuf rather than the full gtk+. Does that work for you?

Yes, it works for me. What should I do now, since the patch has been commited already? :-)

-- ynezz

#3 lore raw

Hello,

2009/11/8 Petr Štetiar <[email protected]>:

Quoted 11 lines

Phil Blundell <[email protected]> [2009-11-08 14:49:54]:

Quoted 6 lines · Petr Štetiar
Quoted 2 lines

This patch fixes this compile error:
main.c:38:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory

I wonder if you might be better off depending on gdk-pixbuf rather than the full gtk+.  Does that work for you?

Yes, it works for me. What should I do now, since the patch has been commited already? :-)

Make a new one and bump PR again ;-)

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br
#4 lore raw
In reply to Petr Štetiar

Petr Štetiar <[email protected]> [2009-11-08 17:17:51]:

Quoted 11 lines

Phil Blundell <[email protected]> [2009-11-08 14:49:54]:

Quoted 6 lines · Petr Štetiar
Quoted 2 lines

This patch fixes this compile error:
main.c:38:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory

I wonder if you might be better off depending on gdk-pixbuf rather than the full gtk+. Does that work for you?

Yes, it works for me. What should I do now, since the patch has been commited already? :-)

I've encoutered few problems when using gdk-pixbuf as dependency, for example when building Abiword which than needs gdk-linux-fb package as dependency, which is pulled in by EXTRA_OECONF = "--with-gdktarget=linux-fb" in gdk-pixbuf package. So I think, that gtk+ in this patch is correct.

-- ynezz

#5 lore raw

Hello,

2009/11/8 Petr Štetiar <[email protected]>:

Quoted 11 lines

Petr Štetiar <[email protected]> [2009-11-08 17:17:51]:

Quoted 9 lines

Phil Blundell <[email protected]> [2009-11-08 14:49:54]:

Quoted 6 lines · Petr Štetiar
Quoted 2 lines

This patch fixes this compile error:
main.c:38:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory

I wonder if you might be better off depending on gdk-pixbuf rather than the full gtk+.  Does that work for you?

Quoted 7 lines
Quoted 2 lines

Yes, it works for me. What should I do now, since the patch has been commited already? :-)

I've encoutered few problems when using gdk-pixbuf as dependency, for example when building Abiword which than needs gdk-linux-fb package as dependency, which is pulled in by EXTRA_OECONF = "--with-gdktarget=linux-fb" in gdk-pixbuf package. So I think, that gtk+ in this patch is correct.

Maybe add a new package for gdk-linux-fb then?

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br
#6 lore raw

Otavio Salvador <[email protected]> [2009-11-08 18:33:20]:

Quoted 17 lines

Hello,

2009/11/8 Petr Štetiar <[email protected]>:

Quoted 14 lines

Petr Štetiar <[email protected]> [2009-11-08 17:17:51]:

Quoted 11 lines

Phil Blundell <[email protected]> [2009-11-08 14:49:54]:

Quoted 6 lines · Petr Štetiar
Quoted 2 lines

This patch fixes this compile error:
main.c:38:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory

I wonder if you might be better off depending on gdk-pixbuf rather than the full gtk+.  Does that work for you?

Yes, it works for me. What should I do now, since the patch has been commited already? :-)

Quoted 6 lines
Quoted 4 lines

I've encoutered few problems when using gdk-pixbuf as dependency, for example when building Abiword which than needs gdk-linux-fb package as dependency, which is pulled in by EXTRA_OECONF = "--with-gdktarget=linux-fb" in gdk-pixbuf package. So I think, that gtk+ in this patch is correct.

Maybe add a new package for gdk-linux-fb then?

The real issue, that I just found, is that gdk-pixbuf package overwrites pkgconfig files of GTK, so it reports GTK version of gdk-pixbuf package 2.10.14 instead of correct 2.18.3 of current GTK.

Directory gdk-pixbuf-2.10.14-r2/staging-pkg/staging/armv7a-angstrom-linux-gnueabi/usr/lib/pkgconfig contains:

gdk-2.0.pc
gdk-pixbuf-2.0.pc
gdk-pixbuf-xlib-2.0.pc
gtk+-2.0.pc
gtk+-unix-print-2.0.pc

and content of gtk+-2.0.pc is "Version: 2.10.14". It's then staged, and Abiword won't compile, because of GTK_VERSION_REQ=2.12.0.

-- ynezz

#7 lore raw

Hello,

2009/11/8 Petr Štetiar <[email protected]>:

Quoted 3 lines

The real issue, that I just found, is that gdk-pixbuf package overwrites pkgconfig files of GTK, so it reports GTK version of gdk-pixbuf package 2.10.14 instead of correct 2.18.3 of current GTK.

Cool; are you cooking a patch for it?

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br