Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-efl] question about OpenGL ES and Evas
Date: Thu, 26 Sep 2013 19:54:37 +0200	[thread overview]
Message-ID: <20130926175437.GA3902@jama> (raw)
In-Reply-To: <CAHTvVMe_qJ+k6gDMxnn=A=O3cemKz+cmGpsDWBOSg6VFqEzefA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1375 bytes --]

On Thu, Sep 26, 2013 at 06:26:29PM +0200, Nicolas Aguirre wrote:
> Hi,
> 
> I'm building an image based on meta-efl.
> I added recipes to build OpenGL ES for my hardware (allwinner sunxi
> based processor with mali gpu) but i'm facing a problem.
> When Evas is build, it will try to find gles includes in sysroot. If
> they are found, it's correctly built with this support. So i need to
> build and install all this stuff before building evas.
> Which is not always the case, when i build an image from scratch for example
> 
> I would like to know wihch is the best practice in this case ?
> 
> - Add a bbappend to evas in my specific case ?
> - Modify evas recipe upstream : detect opengl in distro feature and
> add a dependency on virtual/gl in this case ?
> - Another solution ?

Combination of above :)

1) it has to be either explicitly enabled or disable, it shouldn't
autodetect it from sysroot (it doesn't detect mesa, otherwise my scripts
would find it already).

2) best way would be PACKAGECONFIG in upstream recipe and default value
can be set from DISTRO_FEATURES

3) people who don't want to enable ES (e.g. with only mesa sw available)
will be able to disable PACKAGECONFIG for that with simple .bbpappend
even when they have opengl in DISTRO_FEATURES

Regards,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      reply	other threads:[~2013-09-26 17:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-26 16:26 [meta-efl] question about OpenGL ES and Evas Nicolas Aguirre
2013-09-26 17:54 ` Martin Jansa [this message]

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=20130926175437.GA3902@jama \
    --to=martin.jansa@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox