All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Problems bumping clutter recipes
Date: Wed, 30 Jun 2010 15:53:09 +0200	[thread overview]
Message-ID: <i0fi85$g27$1@dough.gmane.org> (raw)
In-Reply-To: <201006301446.13623.schnitzeltony@gmx.de>

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

On 30-06-10 14:46, Andreas Mueller wrote:
> On Tuesday 29 June 2010 09:10:32 pm Koen Kooi wrote:
>>> 2. In clutter-box2d.inc I removed PACKAGE_ARCH = "${MACHINE_ARCH}" because I had the feeling that this caused OE build an
>>
>> You need the PACKAGE_ARCH = "${MACHINE_ARCH}" since configure uses a
>> different gl setting per machine.

Let me repeat:

Configure uses a different gl setting per machine

So the output is machine specific. And hence PACKAGE_ARCH = MACHINE_ARCH


>>
>> regards,
>>
>> Koen
> 
> For better understanding of what's going on, I did clean & build clutter-box2d twice:
> - with PACKAGE_ARCH = "${MACHINE_ARCH}"
> - without PACKAGE_ARCH = "${MACHINE_ARCH}"
> 
> and diffed the Makefiles created. The (shortened) result is:
> 
> -ACLOCAL = 
> ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run 
> aclocal-1.11
> -AMTAR = ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run 
> tar
> +ACLOCAL = ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run 
> aclocal-1.11
> +AMTAR = ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run 
> tar
> ...
> -AUTOCONF = 
> ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run autoconf
> -AUTOHEADER = 
> ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run autoheader
> -AUTOMAKE = 
> ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run 
> automake-1.11
> +AUTOCONF = 
> ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run autoconf
> +AUTOHEADER = 
> ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run autoheader
> +AUTOMAKE = 
> ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run 
> automake-1.11
> ...
> -MAKEINFO = 
> ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run makeinfo
> +MAKEINFO = ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/missing --run 
> makeinfo
> ...
> -abs_builddir = /home/Superandi/OpenEmbedded/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git
> -abs_srcdir = /home/Superandi/OpenEmbedded/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git
> -abs_top_builddir = /home/Superandi/OpenEmbedded/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git
> -abs_top_srcdir = /home/Superandi/OpenEmbedded/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git
> +abs_builddir = /home/Superandi/OpenEmbedded/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git
> +abs_srcdir = /home/Superandi/OpenEmbedded/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git
> +abs_top_builddir = /home/Superandi/OpenEmbedded/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git
> +abs_top_srcdir = /home/Superandi/OpenEmbedded/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git
> ...
> -install_sh = ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/armv7a-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/install-sh
> +install_sh = ${SHELL} /home/Superandi/OpenEmbedded/tmp/work/overo-angstrom-linux-gnueabi/clutter-box2d-0.10.0-r0+gitdae84a82efe22b284cba8ca1985ce14bb4e86c99/git/install-sh
> 
> As far as I can see, only the pathes have changed. Together with the assumption that Makefile is the only configure output used for building, I think it is no difference to have PACKAGE_ARCH 
> = "${MACHINE_ARCH} or not. Sorry for insisting but I am not sure to miss some issue on this.
> 
> 
> 
> Coming to the second issue:
> 
> On Tue, Jun 29, 2010 at 8:47 AM, Andreas Mueller <schnitzeltony@gmx.de> wrote:
>> ..I had success so far but now I am in trouble with clutter-gst.
> 
> On Tuesday 29 June 2010 08:57:07 pm Khem Raj wrote:
>> what it seems to me is that you need
>> to bump some of dependency versions too
> 
> I found some dependency information coming with clutter-gst in the file clutter-gst.pc.in
>> Requires: clutter-@CLUTTER_API_VERSION@ gstreamer-0.10 gstreamer-base-0.10 gstreamer-plugins-base-0.10
> 
> All gstreamer stuff is 0.10.29 - I think this should be OK.
> 
> 
> On Tue, Jun 29, 2010 at 8:47 AM, Andreas Mueller <schnitzeltony@gmx.de> wrote:
>> | ./clutter-gst-video-sink.c:138: error: expected ')' before 'GLUNIFORM1IPROC'
>> | ./clutter-gst-video-sink.c:140: error: expected ')' before 'GLGENPROGRAMSPROC'
>> | ./clutter-gst-video-sink.c:141: error: expected ')' before 'GLBINDPROGRAMPROC'
>> | ./clutter-gst-video-sink.c:142: error: expected ')' before 'GLPROGRAMSTRINGPROC'
>> | ./clutter-gst-video-sink.c:147: error: expected specifier-qualifier-list before 'GLGENPROGRAMSPROC'
>> ...
>> I seems that APIENTRYP is not defined. APIENTRYP is found in <OEDir>/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/GL/gl.h the mesa OpenGL header which is not to be included
>> here. 
> 
> To get further information, I manually added in clutter-gst-video-sink.c:
> 
> #include <GL/gl.h>
> 
> And - surprisingly - get
> 
> | /home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/GLES2/gl2.h: At top level:
> | /home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/GLES2/gl2.h:35: error: conflicting types for 'GLintptr'
> | /home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/GL/glext.h:4325: error: previous declaration of 'GLintptr' was here
> | /home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/GLES2/gl2.h:36: error: conflicting types for 'GLsizeiptr'
> | /home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/GL/glext.h:4326: error: previous declaration of 'GLsizeiptr' was here
> | /home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/GLES2/gl2.h:576: error: conflicting types for 'glTexImage2D'
> | /home/Superandi/OpenEmbedded/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/GL/gl.h:1326: error: previous declaration of 'glTexImage2D' was here
> 
> but the previous complains related to APIENTRYP are gone!
> 
> Long talk - two questions:
> 
> 	1. Is it possible that clutter-gst is not really prepared for gles it and will only build against gl?
> 	2. What is the role of mesa in systems supporting gles? I think I have read something that mesa gets a 'gl-wrapper' for this. Is that true?
> 
> If you read up to here: Thanks for your patience...

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD4DBQFMK0xFMkyGM64RGpERAsMvAJ94V+gBSux6N1Y+XEHc7GQiZcmQiACTBTM8
OK96zhzIVu19YKNYzYfLWA==
=0ibl
-----END PGP SIGNATURE-----




  reply	other threads:[~2010-06-30 13:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-29 15:47 Problems bumping clutter recipes Andreas Mueller
2010-06-29 18:57 ` Khem Raj
2010-06-29 19:10 ` Koen Kooi
2010-06-30 12:46   ` Andreas Mueller
2010-06-30 13:53     ` Koen Kooi [this message]
2010-07-01 15:21       ` Andreas Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i0fi85$g27$1@dough.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.