Skip to contentSkip to conversation

gtk+-native build problem

PATCH In review Steffen Sledz 3 participants 8 messages Sep 7, 2010 – Sep 9, 2010

lore
Share & tools
lore
#0 lore raw

While running some builds for testing-next i hit a problem with gtk+-native.

The do_configure stage failed with "configure: error: *** Sorry, cups-config present but cups/cups.h missing." (for details see
<http://tinderbox.openembedded.org/packages/734326/>).

I guess the problem is that at the build host cups is installed but not cups-devel and gtk+-native somehow likes to use it.

Can someone have a look at it. May be a cups-dev dependency in gtk+.inc fixes the problem?

Steffen

#1 lore raw

PATCH 1/1 gtk+: fix configure problem for native build

---
 recipes/gtk+/gtk+_2.18.6.bb |    2 +-
 recipes/gtk+/gtk+_2.20.0.bb |    2 +-
 recipes/gtk+/gtk+_2.20.1.bb |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
recipes/gtk+/gtk+_2.18.6.bb +1 -1
index 237689d..864f4ba 100644
@@ -16,7 +16,7 @@ XKBTOGGLE = " --disable-xkb"
 XKBTOGGLE_angstrom = ""
 
 EXTRA_OECONF = "--with-libtiff ${XKBTOGGLE} --disable-glibtest gio_can_sniff=yes"
-EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg"
+EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg --disable-cups"
 
 PACKAGES_DYNAMIC = "gtk-module-* gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"
 
recipes/gtk+/gtk+_2.20.0.bb +1 -1
index 2c061b7..1e07e83 100644
@@ -20,7 +20,7 @@ XKBTOGGLE = " --disable-xkb"
 XKBTOGGLE_angstrom = ""
 
 EXTRA_OECONF = "--with-libtiff ${XKBTOGGLE} --disable-glibtest gio_can_sniff=yes"
-EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg"
+EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg --disable-cups"
 
 PACKAGES_DYNAMIC = "gtk-module-* gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"
 
recipes/gtk+/gtk+_2.20.1.bb +1 -1
index 1568e61..ca5e197 100644
@@ -24,7 +24,7 @@ XKBTOGGLE = " --disable-xkb"
 XKBTOGGLE_angstrom = ""
 
 EXTRA_OECONF = "--with-libtiff ${XKBTOGGLE} --disable-glibtest gio_can_sniff=yes"
-EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg"
+EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg --disable-cups"
 
 PACKAGES_DYNAMIC = "gtk-module-* gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"
 
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#2 lore raw

Re: [PATCH] gtk+: fix configure problem for native build

G

Quoted 46 lines · Steffen Sledz
---
 recipes/gtk+/gtk+_2.18.6.bb |    2 +-
 recipes/gtk+/gtk+_2.20.0.bb |    2 +-
 recipes/gtk+/gtk+_2.20.1.bb |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
recipes/gtk+/gtk+_2.18.6.bb +1 -1
index 237689d..864f4ba 100644
@@ -16,7 +16,7 @@ XKBTOGGLE = " --disable-xkb"
 XKBTOGGLE_angstrom = ""
 
 EXTRA_OECONF = "--with-libtiff ${XKBTOGGLE} --disable-glibtest gio_can_sniff=yes"
-EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg"
+EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg --disable-cups"
 
 PACKAGES_DYNAMIC = "gtk-module-* gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"
 
recipes/gtk+/gtk+_2.20.0.bb +1 -1
index 2c061b7..1e07e83 100644
@@ -20,7 +20,7 @@ XKBTOGGLE = " --disable-xkb"
 XKBTOGGLE_angstrom = ""
 
 EXTRA_OECONF = "--with-libtiff ${XKBTOGGLE} --disable-glibtest gio_can_sniff=yes"
-EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg"
+EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg --disable-cups"
 
 PACKAGES_DYNAMIC = "gtk-module-* gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"
 
recipes/gtk+/gtk+_2.20.1.bb +1 -1
index 1568e61..ca5e197 100644
@@ -24,7 +24,7 @@ XKBTOGGLE = " --disable-xkb"
 XKBTOGGLE_angstrom = ""
 
 EXTRA_OECONF = "--with-libtiff ${XKBTOGGLE} --disable-glibtest gio_can_sniff=yes"
-EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg"
+EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg --disable-cups"
 
 PACKAGES_DYNAMIC = "gtk-module-* gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"
 
#3 lore raw

Re: [PATCH] gtk+: fix configure problem for native build

Patch pushed to the testing-next branch by mistake. :(

Big problem?

Sorry,
Steffen

#4 lore raw

Re: [PATCH] gtk+: fix configure problem for native build

Quoted 2 lines · Steffen Sledz

Patch pushed to the testing-next branch by mistake. :(

Well you should push it to org.openembedded.dev as well. or may be we could merge back testing-next into org.openembedded.dev after this cycle.

Quoted 12 lines

Big problem?

Sorry,
Steffen

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

#6 lore raw

Re: [PATCH] gtk+: fix configure problem for native build

In reply to Steffen Sledz
Quoted 44 lines · Steffen Sledz

---

 recipes/gtk+/gtk+_2.18.6.bb |    2 +-
 recipes/gtk+/gtk+_2.20.0.bb |    2 +-
 recipes/gtk+/gtk+_2.20.1.bb |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
recipes/gtk+/gtk+_2.18.6.bb +0 -0
index 237689d..864f4ba 100644
@@ -16,7 +16,7 @@ XKBTOGGLE = " --disable-xkb"

 XKBTOGGLE_angstrom = ""

 EXTRA_OECONF = "--with-libtiff ${XKBTOGGLE} --disable-glibtest gio_can_sniff=yes"

recipes/gtk+/gtk+_2.18.6.bb +1 -1
-EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg"
+EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg --disable-cups"

 PACKAGES_DYNAMIC = "gtk-module-* gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"

recipes/gtk+/gtk+_2.20.0.bb +0 -0
index 2c061b7..1e07e83 100644
@@ -20,7 +20,7 @@ XKBTOGGLE = " --disable-xkb"

 XKBTOGGLE_angstrom = ""

 EXTRA_OECONF = "--with-libtiff ${XKBTOGGLE} --disable-glibtest gio_can_sniff=yes"

recipes/gtk+/gtk+_2.20.0.bb +1 -1
-EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg"
+EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg --disable-cups"

 PACKAGES_DYNAMIC = "gtk-module-* gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"

recipes/gtk+/gtk+_2.20.1.bb +0 -0
index 1568e61..ca5e197 100644
@@ -24,7 +24,7 @@ XKBTOGGLE = " --disable-xkb"

 XKBTOGGLE_angstrom = ""

 EXTRA_OECONF = "--with-libtiff ${XKBTOGGLE} --disable-glibtest gio_can_sniff=yes"

recipes/gtk+/gtk+_2.20.1.bb +1 -1
-EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg"
+EXTRA_OECONF_append_virtclass-native = " --without-libtiff --without-libjpeg --disable-cups"
Quoted 2 lines

 PACKAGES_DYNAMIC = "gtk-module-* gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"

Why are we disabling cups ? you could have added dependency on cups-native instead if your build machine does not
have full installation of cups. you would also need to BBCLASSEXTEND cups recipes.

Quoted 9 lines

--
1.7.1

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

#5 lore raw

Re: [PATCH] gtk+: fix configure problem for native build

In reply to Khem Raj

Am 08.09.2010 19:41, schrieb Khem Raj:

Quoted 6 lines · Steffen Sledz
Quoted 1 line

Patch pushed to the testing-next branch by mistake. :(

Well you should push it to org.openembedded.dev as well. or may be we could merge back testing-next into org.openembedded.dev after this cycle.

I did.

Steffen

#7 lore raw

Re: [PATCH] gtk+: fix configure problem for native build

In reply to Khem Raj

Am 08.09.2010 19:45, schrieb Khem Raj:

Quoted 4 lines

Why are we disabling cups ? you could have added dependency on cups-native instead if your build machine does not have full installation of cups.
you would also need to BBCLASSEXTEND cups recipes.

It was a suggestion from Graeme (a gtk+ maintainer) and i agreed. For the *native* build there is no need for cups.

Steffen

Signature · 8 lines
Steffen Sledz
DResearch Digital Media Systems GmbH
Otto-Schmirgal-Str.3, D-10319 Berlin, Germany
Tel: +49 (30) 515932237 mailto:[email protected]
Fax: +49 (30) 515932299 http://www.DResearch.DE
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 54412;
Ust.-IDNr. DE169013825; WEEE Reg.-Nr. DE 85995642