All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/6] package/libgl-headers: introduce as a new virtual package for providers of OpenGL-compatible headers
@ 2020-05-12 13:28 Jakub Skrzypnik
  2020-05-12 13:28 ` [Buildroot] [PATCH 2/6] package/mesa3d-headers: make it a provider for libgl-headers Jakub Skrzypnik
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Jakub Skrzypnik @ 2020-05-12 13:28 UTC (permalink / raw)
  To: buildroot

Currently, there can be more than one provider of OpenGL/EGL API headers (GL/gl.h, etc.)

These are usually the same everywhere, as there are universal (as universal OpenGL is) but
to avoid excessive patching and dependency mangling, a virtual package "libgl-headers" was
born to provide these generic API headers.

Not to confuse with private Mesa headers or other vendor-specific stuff, but these are
always in different header files.

Signed-off-by: Jakub Skrzypnik <jskrzypnik@novomatic-tech.com>
---
 package/opengl/Config.in                      | 1 +
 package/opengl/libgl-headers/Config.in        | 6 ++++++
 package/opengl/libgl-headers/libgl-headers.mk | 7 +++++++
 3 files changed, 14 insertions(+)
 create mode 100644 package/opengl/libgl-headers/Config.in
 create mode 100644 package/opengl/libgl-headers/libgl-headers.mk

diff --git a/package/opengl/Config.in b/package/opengl/Config.in
index cbc001427d..7080fdb979 100644
--- a/package/opengl/Config.in
+++ b/package/opengl/Config.in
@@ -1,4 +1,5 @@
 source "package/opengl/libgl/Config.in"
+source "package/opengl/libgl-headers/Config.in"
 source "package/opengl/libegl/Config.in"
 source "package/opengl/libgles/Config.in"
 source "package/opengl/libopencl/Config.in"
diff --git a/package/opengl/libgl-headers/Config.in b/package/opengl/libgl-headers/Config.in
new file mode 100644
index 0000000000..dfc3fb40fe
--- /dev/null
+++ b/package/opengl/libgl-headers/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_LIBGL_HEADERS
+	bool
+
+config BR2_PACKAGE_PROVIDES_LIBGL_HEADERS
+	string
+	depends on BR2_PACKAGE_HAS_LIBGL_HEADERS
diff --git a/package/opengl/libgl-headers/libgl-headers.mk b/package/opengl/libgl-headers/libgl-headers.mk
new file mode 100644
index 0000000000..2155868b6d
--- /dev/null
+++ b/package/opengl/libgl-headers/libgl-headers.mk
@@ -0,0 +1,7 @@
+################################################################################
+#
+# libgl-headers
+#
+################################################################################
+
+$(eval $(virtual-package))
-- 
2.26.2


-- 
CONFIDENTIALITY NOTICE
------------------------------------
This
 E-mail is 
intended only to be read or used by the addressee.The 
information 
contained in this E-mail message may be confidential 
information. If you 
are not the intended recipient, any use, 
interference with, distribution, 
disclosure or copying of this material 
is unauthorized and prohibited. 
Confidentiality attached to this 
communication is not waived or lost by 
reason of the mistaken delivery 
to you.
If you have received this message 
in error, please delete
 it and notify us by return E-mail or telephone 
NOVOMATIC Technologies 
Poland S.A. +48 12 258 00 50. Any E-mail attachment 
may contain software
 viruses which could damage your own computer system. 
Whilst reasonable 
precaution has been taken to minimize this risk, we 
cannot accept 
liability for any damage which you sustain as a result of 
software 
viruses. You should therefore carry out your own virus checks 
before 
opening any attachments.
------------------------------------

NOVOMATIC Technologies Poland S.A., Poland, Krakowska 368, 32-080 Zabierz?w

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-05-17 21:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 13:28 [Buildroot] [PATCH 1/6] package/libgl-headers: introduce as a new virtual package for providers of OpenGL-compatible headers Jakub Skrzypnik
2020-05-12 13:28 ` [Buildroot] [PATCH 2/6] package/mesa3d-headers: make it a provider for libgl-headers Jakub Skrzypnik
2020-05-12 13:28 ` [Buildroot] [PATCH 3/6] package/libglvnd: new package Jakub Skrzypnik
2020-05-12 13:28 ` [Buildroot] [PATCH 4/6] package/mesa3d: make it aware of libglvnd and support it when present Jakub Skrzypnik
2020-05-12 13:28 ` [Buildroot] [PATCH 5/6] package/x11r7/xserver_xorg-server: disable GLAMOR support with NVIDIA drivers Jakub Skrzypnik
2020-05-12 13:28 ` [Buildroot] [PATCH 6/6] package/nvidia-driver: update to 390.132, 435.21, 440.82 Jakub Skrzypnik
2020-05-12 15:58 ` [Buildroot] [PATCH 1/6] package/libgl-headers: introduce as a new virtual package for providers of OpenGL-compatible headers Yann E. MORIN
2020-05-17 20:39 ` [Buildroot] [PATCH v2 0/4] Initial GLVND support + NVIDIA drivers upgrade Jakub Skrzypnik
2020-05-17 20:40   ` [Buildroot] [PATCH v2 1/4] package/libglvnd: new package Jakub Skrzypnik
2020-05-17 20:40   ` [Buildroot] [PATCH v2 2/4] package/mesa3d: make it aware of libglvnd and support it when present Jakub Skrzypnik
2020-05-17 20:40   ` [Buildroot] [PATCH v2 3/4] package/x11r7/xserver_xorg-server: disable GLAMOR support with NVIDIA drivers Jakub Skrzypnik
2020-05-17 21:12     ` Yann E. MORIN
2020-05-17 20:40   ` [Buildroot] [PATCH v2 4/4] package/nvidia-driver: update to 390.132, 435.21, 440.82 Jakub Skrzypnik

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.