Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 05/14 v6] package/mesa3d-headers: new package
Date: Mon, 26 Jan 2015 19:26:21 +0100	[thread overview]
Message-ID: <20150126182621.GB4228@free.fr> (raw)
In-Reply-To: <1491783.fYcJCMXy9W@aquila>

J?r?me, All,

On 2015-01-26 09:54 +0100, J?r?me Pouiller spake thusly:
> On Saturday 24 January 2015 00:24:34 Yann E. MORIN wrote:
> > Some headers required to build GL/EGL/GLES/... stuff are not provided by
> > Khronos, so we must find an alternate source for those headers.
> > Currently, we're missing:
> >   - gl.h for full GL (gl.h for GLES is available from Khronos)
> >   - dri_interface.h to be able to build GL-enabled Xorg
> > 
> > mesa3d provides all of them, and they are generic enough that they can
> > be re-used even for other GL/EGL/GLES/... implementations.
> > 
> > Unfortunately, modifying mesa3d so that it only installs its headers is
> > no trivial task, and would render the mesa3d package really ugly and
> > unmaintainable in the long run.
> Did you try "make install-data" in mesa3d tree? It should install all 
> files but the libraries (in other terms, it install headers only).

I thought of doing just that, indeed.

But then, it is only possible to run 'make install-anything' if the
package had previously been configured and built, i.e. './configure' and
.make' were previously called.

But then, what flags are we supposed to pass ./configure ? We surely do
not want to enable everything, jsut what is needed to get the headers.

And then, we would have to carefuly call 'make' so that it does not
build everything, just the headers.

> > Instead, we introduce a stripped-down mesa3d-headers package, which sole
> > purpose is to install those missing headers.
> hmmm... since mesa3d-headers provide all headers, do we really need 
> khronos-registry-* packages? In add, all developers test their code 
> using mesa3d headers. So, I would prefer to use headers provided by 
> mesa3d than khronos.

Well, I'm not really against droippign the Khronos registries, since it
is not fun packaging those.

However, as I said above, we'd have to carefuly craft mesa3d-headers to
just configure and build the headers, and I'm afraid that's not so
easy...

But I can give it a shot to see how dirty/difficult it would be.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-01-26 18:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23 23:24 [Buildroot] [PATCH 0/14 v6] NVidia GPU binary blobs for x86 and ARM (branch yem/gfx) Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 01/14 v6] package/python-lxml: new host package Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 02/14 v6] package/python-lxml: add target variant Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 03/14 v6] package/khronos-registry-khrplatform: new package Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 04/14 v6] package/khronos-registry-openkode: " Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 05/14 v6] package/mesa3d-headers: " Yann E. MORIN
2015-01-26  8:54   ` Jérôme Pouiller
2015-01-26 18:26     ` Yann E. MORIN [this message]
2015-01-23 23:24 ` [Buildroot] [PATCH 06/14 v6] package/khronos-registry-opengl: " Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 07/14 v6] package/khronos-registry-opengl: download and install extra headers Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 08/14 v6] package/khronos-registry-openmaxil: new package Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 09/14 v6] package/nvidia-driver: add NVidia's OpenGL binary blob Yann E. MORIN
2015-02-21 17:39   ` Thomas Petazzoni
2015-03-06 22:47     ` Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 10/14 v6] package/nvidia-driver: Add gl.pc Yann E. MORIN
2015-02-21 17:40   ` Thomas Petazzoni
2015-01-23 23:24 ` [Buildroot] [PATCH 11/14 v6] package/nvidia-driver: build the kernel module Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 12/14 v6] package/nvidia-tegra23-binaries: new package Yann E. MORIN
2015-01-26 13:31   ` Ben Ben
2015-01-26 18:19     ` Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 13/14 v6] package.nvidia-tegra23-binaries: add gstreamer plugins Yann E. MORIN
2015-01-23 23:24 ` [Buildroot] [PATCH 14/14 v6] package/nvidia-tegra23-codecs: new package Yann E. MORIN

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=20150126182621.GB4228@free.fr \
    --to=yann.morin.1998@free.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox