Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jérôme Pouiller" <jezz@sysmic.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 04/11 v5] package/opengl-registry: new package
Date: Tue, 20 Jan 2015 14:51:40 +0100	[thread overview]
Message-ID: <1509892.j25xWyjvC8@aquila> (raw)
In-Reply-To: <a262173c20d1679301970131f119c65bc916d8be.1421699898.git.yann.morin.1998@free.fr>

Hello Yann,

On Monday 19 January 2015 21:40:34 Yann E. MORIN wrote:
> The OpenGL Registry provides all GL headers, save for gl.h itself. We
> vampirise the one from mesa3d (at the version we currently package),
> which is as good as any other.
> 
> Those headers are needed when an OpenGL/EGL/GLES implementation does
> not provide its own headers, like the NVidia binary blob (to come in
> follow-up patches.)
> 
> Note that, even though this is a generic package, and we could
> everything in the BUILD_CMDS, we decided to split the tweaking of glx.h
> in a post-build script, to really make it clear we are tweaking a
> generated file.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[...]

> +# Always install gl.h since the others may depend on it, and
> +# we are sure at least one OpenGL variants will be installed.
> +define OPENGL_REGISTRY_INSTALL_STAGING_CMDS
> +	$(INSTALL) -D -m 0644 package/opengl/khronos-registry/opengl-registry/gl.h \
> +		   $(STAGING_DIR)/usr/include/GL/gl.h
> +	for d in $(OPENGL_REGISTRY_DIRS); do \
> +		for h in $(@D)/$${d}/*.h; do \
> +			$(INSTALL) -D -m 0644 $${h} $(STAGING_DIR)/usr/include/$${d}/$${h##*/} \
> +			|| exit 1; \
> +		done \
> +	done
> +endef
I think we should also provide gl.pc, egl.pc, glesv1_cm.pc, etc... no?

-- 
J?r?me Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr

  reply	other threads:[~2015-01-20 13:51 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-19 20:40 [Buildroot] [PATCH 0/11 v5] NVidia GPU binary blobs for x86 and ARM (branch yem/gfx) Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 01/11 v5] package/python-lxml: new package Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 02/11 v5] package/khrplatform-registry: " Yann E. MORIN
2015-01-21  9:06   ` Jérôme Pouiller
2015-01-21 17:32     ` Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 03/11 v5] package/openkode-registry: " Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 04/11 v5] package/opengl-registry: " Yann E. MORIN
2015-01-20 13:51   ` Jérôme Pouiller [this message]
2015-01-21 17:34     ` Yann E. MORIN
2015-01-21 17:42       ` Jérôme Pouiller
2015-01-21 17:51         ` Yann E. MORIN
2015-01-20 17:12   ` Nicolas Serafini
2015-01-21 17:36     ` Yann E. MORIN
2015-01-22  7:12       ` Nicolas Serafini
2015-01-23 12:39         ` Yann E. MORIN
2015-01-23 13:24           ` Ben Ben
2015-01-21 22:40     ` Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 05/11 v5] package/openmax-registry: " Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 06/11 v5] package/nvidia-driver: add NVidia's OpenGL binary blob Yann E. MORIN
2015-01-20 14:00   ` Jérôme Pouiller
2015-01-21 17:40     ` Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 07/11 v5] package/nvidia-driver: build the kernel module Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 08/11 v5] package/nvidia-tegra23-binaries: new package Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 09/11 v5] package.nvidia-tegra23-binaries: add gstreamer plugins Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 10/11 v5] package/nvidia-tegra23-binaries: provides JPEG Yann E. MORIN
2015-01-20 17:05   ` Nicolas Serafini
2015-01-21 17:42     ` Yann E. MORIN
2015-01-19 20:40 ` [Buildroot] [PATCH 11/11 v5] 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=1509892.j25xWyjvC8@aquila \
    --to=jezz@sysmic.org \
    --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