From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 03/10 v7] package/mesa3d-headers: new package
Date: Sat, 21 Feb 2015 17:43:41 +0100 [thread overview]
Message-ID: <20150221174341.4387d3ff@free-electrons.com> (raw)
In-Reply-To: <f37c4782a8b2fb8e9e41b92bf1f321a9a154c843.1423597914.git.yann.morin.1998@free.fr>
Dear Yann E. MORIN,
On Tue, 10 Feb 2015 21:01:10 +0100, Yann E. MORIN wrote:
> Some OpenGL/EGL/GLES/VG providers do not provide the corresponding
> headers, and rely on using "the headers provided by the distribution".
>
> In our case, we can not rely on such headers, because we are not a
> distribution, and we have no way to provide those headers (not even
> speaking about relying on the headers provided by hte host distribution,
> because they might well not be installed at all).
>
> Also, we can not rely on another package to provide those headers,
> because we can only have one provider enabled in any configuration.
>
> The Khronos group provides such headers, and they are the reference
> headers, but we can not realy use them:
>
> - most of them are not packaged: they are not versioned and not
> provided in a tarball, but as separately downloadable files;
>
> - those headers are anyway incomplete: there are headers not provided
> by Khronos, like GL.h
>
> Instead, we rely on mesa3d to provide those headers: mesa3d has all the
> headers we need.
>
> Modifying the existing mesa3d package would not be easy; we'd have to
> differentiate whther we need only the headers or the full package. The
> meas3d Config.in and .mk are already quite non-trivial that adding such
> a feature would render them even more illegible.
>
> So, we introduce mea3d-headers as a new package, that is in fact just
> mesa3d with a much simplified Config.in and .mk, that other OpenXXX
> providers may select if they do not provide the OpenXXX headers.
>
> Note: we're not installing GLES3 headers, because what Buildroot
> currently calls libgles is in fact libgles2; we have no way to specify
> that we have libgles3. So, we just install headers for GLES and GLES2.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Thanks, applied, after doing some minor changes:
[Thomas:
- Wrap Config.in help text to a reasonable length.
- Don't rely on mesa3d to provide mesa3d-headers: they should be
mutually exclusive. Instead, error out if both packages are
selected.
- Take into account the update of mesa3d to 10.4.5.
- Don't copy each header file individually, use a cp -dpfr call to
copy entires header files directories.]
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-02-21 16:43 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-10 20:01 [Buildroot] [PATCH 0/10 v7] NVidia GPU binary blobs for x86 and ARM (branch yem/gfx2) Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 01/10 v7] package/python-lxml: new host package Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 02/10 v7] package/python-lxml: add target variant Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 03/10 v7] package/mesa3d-headers: new package Yann E. MORIN
2015-02-11 14:06 ` Nicolas Serafini
2015-02-11 18:02 ` Yann E. MORIN
2015-02-12 17:25 ` Nicolas Serafini
2015-02-20 12:39 ` Jérôme Pouiller
2015-02-14 9:09 ` Thomas Petazzoni
2015-02-14 9:12 ` Yann E. MORIN
2015-02-21 16:43 ` Thomas Petazzoni [this message]
2015-02-10 20:01 ` [Buildroot] [PATCH 04/10 v7] package/mesa3d-headers: also install dri header and .pc file Yann E. MORIN
2015-02-21 16:45 ` Thomas Petazzoni
2015-02-10 20:01 ` [Buildroot] [PATCH 05/10 v7] package/nvidia-driver: add NVidia's OpenGL binary blob Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 06/10 v7] package/nvidia-driver: Add gl.pc Yann E. MORIN
2015-04-24 20:16 ` Bernd Kuhls
2015-04-24 20:53 ` Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 07/10 v7] package/nvidia-driver: build the kernel module Yann E. MORIN
2015-02-21 22:30 ` Thomas Petazzoni
2015-02-10 20:01 ` [Buildroot] [PATCH 08/10 v7] package/nvidia-tegra23-binaries: new package Yann E. MORIN
2015-02-11 13:42 ` Nicolas Serafini
2015-02-11 17:52 ` Yann E. MORIN
2015-02-21 22:46 ` Thomas Petazzoni
2015-02-21 22:58 ` Yann E. MORIN
2015-02-23 11:41 ` Nicolas Serafini
2015-03-04 22:39 ` Laurent Colloud
2015-03-06 23:15 ` Yann E. MORIN
2015-03-07 8:03 ` Thomas Petazzoni
2015-03-07 9:53 ` Bernd Kuhls
2015-03-07 13:01 ` Yann E. MORIN
2015-03-07 13:19 ` Thomas Petazzoni
2015-03-07 15:04 ` Yann E. MORIN
2015-03-09 19:25 ` Laurent Colloud
2015-03-09 21:27 ` Yann E. MORIN
2015-03-10 10:07 ` Nicolas Serafini
2015-03-07 8:05 ` Thomas Petazzoni
2015-03-07 8:06 ` Thomas Petazzoni
2015-02-10 20:01 ` [Buildroot] [PATCH 09/10 v7] package.nvidia-tegra23-binaries: add gstreamer plugins Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 10/10 v7] package/nvidia-tegra23-codecs: new package Yann E. MORIN
2015-02-10 20:10 ` [Buildroot] [PATCH 0/10 v7] NVidia GPU binary blobs for x86 and ARM (branch yem/gfx2) Yann E. MORIN
2015-02-14 8:59 ` Thomas Petazzoni
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=20150221174341.4387d3ff@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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.