initial import
This commit is contained in:
82
mesa-demos/LICENSE
Normal file
82
mesa-demos/LICENSE
Normal file
@@ -0,0 +1,82 @@
|
||||
Disclaimer
|
||||
|
||||
Mesa is a 3-D graphics library with an API which is very similar to
|
||||
that of OpenGL*
|
||||
To the extent that Mesa utilizes the OpenGL command syntax or state
|
||||
machine, it is being used with authorization from Silicon Graphics,
|
||||
Inc.(SGI). However, the author does not possess an OpenGL license
|
||||
from SGI, and makes no claim that Mesa is in any way a compatible
|
||||
replacement for OpenGL or associated with SGI. Those who want a
|
||||
licensed implementation of OpenGL should contact a licensed
|
||||
vendor.
|
||||
|
||||
Please do not refer to the library as MesaGL (for legal
|
||||
reasons). It's just Mesa or The Mesa 3-D graphics
|
||||
library
|
||||
|
||||
* OpenGL is a trademark of Silicon Graphics Incorporated.
|
||||
|
||||
License / Copyright Information
|
||||
|
||||
The Mesa distribution consists of several components. Different copyrights
|
||||
and licenses apply to different components. For example, GLUT is copyrighted
|
||||
by Mark Kilgard, some demo programs are copyrighted by SGI, some of the Mesa
|
||||
device drivers are copyrighted by their authors. See below for a list of
|
||||
Mesa's main components and the license for each.
|
||||
|
||||
The core Mesa library is licensed according to the terms of the MIT license.
|
||||
This allows integration with the XFree86, Xorg and DRI projects.
|
||||
|
||||
The default Mesa license is as follows:
|
||||
|
||||
Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Attention, Contributors
|
||||
|
||||
When contributing to the Mesa project you must agree to the licensing terms
|
||||
of the component to which you're contributing.
|
||||
The following section lists the primary components of the Mesa distribution
|
||||
and their respective licenses.
|
||||
|
||||
|
||||
Mesa Component Licenses
|
||||
|
||||
Component Location Primary Author License
|
||||
----------------------------------------------------------------------------
|
||||
Main Mesa code src/mesa/ Brian Paul Mesa (MIT)
|
||||
|
||||
Device drivers src/mesa/drivers/* See drivers See drivers
|
||||
|
||||
Ext headers include/GL/glext.h SGI SGI Free B
|
||||
include/GL/glxext.h
|
||||
|
||||
GLUT src/glut/ Mark Kilgard Mark's copyright
|
||||
|
||||
Mesa GLU library src/glu/mesa/ Brian Paul GNU-LGPL
|
||||
|
||||
SGI GLU library src/glu/sgi/ SGI SGI Free B
|
||||
|
||||
demo programs progs/demos/ various see source files
|
||||
|
||||
X demos progs/xdemos/ Brian Paul see source files
|
||||
|
||||
SGI demos progs/samples/ SGI SGI copyright
|
||||
|
||||
RedBook demos progs/redbook/ SGI SGI copyright
|
||||
49
mesa-demos/PKGBUILD
Normal file
49
mesa-demos/PKGBUILD
Normal file
@@ -0,0 +1,49 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname='mesa-demos'
|
||||
pkgver=8.4.0
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
pkgdesc="Mesa demos and tools incl. glxinfo + glxgears"
|
||||
url="https://www.mesa3d.org/"
|
||||
license=('Expat')
|
||||
depends=('mesa-libgl' 'glew' 'freeglut')
|
||||
mksource=("https://mesa.freedesktop.org/archive/demos/mesa-demos-${pkgver}.tar.bz2"{,.sig})
|
||||
source=("https://repo.hyperbola.info:50000/sources/mesa-demos-libre/mesa-demos-libre-${pkgver}.tar.lz"{,.sig}
|
||||
'LICENSE'
|
||||
'libre.patch')
|
||||
mksha512sums=('b72d03cad36e0535ff18dcfb222ec4200064b9264f6da51a6e5f03b0dd912abe188bc1d600b6698de3ce6f63b28d2ce01565886ca8e7079edc4967fbf2fb0957'
|
||||
'SKIP')
|
||||
sha512sums=('51cd024ccc289ff135508af1a94b41f2eb5f696401a52ee6a5f759e078af2324ea4958a41672612cf1fd5adfa1713d74885bb029a0d943f0e4be5c0edcf99403'
|
||||
'SKIP'
|
||||
'25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2'
|
||||
'22adbecafe2a822357bf1b266ba090d97ca5d0e80698aa0650df66a0026861ff3ba5404a7345e4cf5e5ff1e308774e363bff5248cb177548ee098a5347b6c92c')
|
||||
validpgpkeys=('E390B9700582FAEA959ACAD41EEF53D38A3A9C67' # Andreas Boll
|
||||
'C92BAA713B8D53D3CAE63FC9E6974752F9704456') # André Silva
|
||||
|
||||
mksource() {
|
||||
cd mesa-demos-$pkgver
|
||||
|
||||
# remove nonfree demos (dinoshade, pointblast and spriteblast)
|
||||
rm -v src/demos/{dinoshade,pointblast,spriteblast}.c
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd mesa-demos-$pkgver
|
||||
|
||||
# remove nonfree demos references (pointblast and spriteblast)
|
||||
patch -Np1 -i ../libre.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd mesa-demos-$pkgver
|
||||
./configure --prefix=/usr \
|
||||
--with-system-data-files=/usr/share/mesa-demos
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd mesa-demos-$pkgver
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-demos/LICENSE"
|
||||
}
|
||||
172
mesa-demos/libre.patch
Normal file
172
mesa-demos/libre.patch
Normal file
@@ -0,0 +1,172 @@
|
||||
diff --git a/src/demos/Makefile.am b/src/demos/Makefile.am
|
||||
index 41603fa..b86558a 100644
|
||||
--- a/src/demos/Makefile.am
|
||||
+++ b/src/demos/Makefile.am
|
||||
@@ -41,7 +41,6 @@ bin_PROGRAMS = \
|
||||
copypix \
|
||||
cubemap \
|
||||
cuberender \
|
||||
- dinoshade \
|
||||
dissolve \
|
||||
drawpix \
|
||||
engine \
|
||||
@@ -65,7 +64,6 @@ bin_PROGRAMS = \
|
||||
multiarb \
|
||||
paltex \
|
||||
pixeltest \
|
||||
- pointblast \
|
||||
projtex \
|
||||
ray \
|
||||
readpix \
|
||||
@@ -74,7 +72,6 @@ bin_PROGRAMS = \
|
||||
shadowtex \
|
||||
singlebuffer \
|
||||
spectex \
|
||||
- spriteblast \
|
||||
stex3d \
|
||||
teapot \
|
||||
terrain \
|
||||
diff --git a/src/demos/Makefile.in b/src/demos/Makefile.in
|
||||
index 6dc4e0a..a0c94db 100644
|
||||
--- a/src/demos/Makefile.in
|
||||
+++ b/src/demos/Makefile.in
|
||||
@@ -116,7 +116,7 @@ host_triplet = @host@
|
||||
@HAVE_GLUT_TRUE@ arbocclude$(EXEEXT) arbocclude2$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ bounce$(EXEEXT) clearspd$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ copypix$(EXEEXT) cubemap$(EXEEXT) \
|
||||
-@HAVE_GLUT_TRUE@ cuberender$(EXEEXT) dinoshade$(EXEEXT) \
|
||||
+@HAVE_GLUT_TRUE@ cuberender$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ dissolve$(EXEEXT) drawpix$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ engine$(EXEEXT) fbo_firecube$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ fbotexture$(EXEEXT) fire$(EXEEXT) \
|
||||
@@ -128,11 +128,11 @@ host_triplet = @host@
|
||||
@HAVE_GLUT_TRUE@ ipers$(EXEEXT) isosurf$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ lodbias$(EXEEXT) morph3d$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ multiarb$(EXEEXT) paltex$(EXEEXT) \
|
||||
-@HAVE_GLUT_TRUE@ pixeltest$(EXEEXT) pointblast$(EXEEXT) \
|
||||
+@HAVE_GLUT_TRUE@ pixeltest$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ projtex$(EXEEXT) ray$(EXEEXT) readpix$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ reflect$(EXEEXT) renormal$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ shadowtex$(EXEEXT) singlebuffer$(EXEEXT) \
|
||||
-@HAVE_GLUT_TRUE@ spectex$(EXEEXT) spriteblast$(EXEEXT) \
|
||||
+@HAVE_GLUT_TRUE@ spectex$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ stex3d$(EXEEXT) teapot$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ terrain$(EXEEXT) tessdemo$(EXEEXT) \
|
||||
@HAVE_GLUT_TRUE@ texcyl$(EXEEXT) texenv$(EXEEXT) \
|
||||
@@ -184,9 +184,6 @@ cubemap_DEPENDENCIES = ../util/libutil.la
|
||||
cuberender_SOURCES = cuberender.c
|
||||
cuberender_OBJECTS = cuberender.$(OBJEXT)
|
||||
cuberender_DEPENDENCIES = ../util/libutil.la
|
||||
-dinoshade_SOURCES = dinoshade.c
|
||||
-dinoshade_OBJECTS = dinoshade.$(OBJEXT)
|
||||
-dinoshade_LDADD = $(LDADD)
|
||||
dissolve_SOURCES = dissolve.c
|
||||
dissolve_OBJECTS = dissolve.$(OBJEXT)
|
||||
dissolve_DEPENDENCIES = ../util/libutil.la
|
||||
@@ -256,9 +253,6 @@ paltex_LDADD = $(LDADD)
|
||||
pixeltest_SOURCES = pixeltest.c
|
||||
pixeltest_OBJECTS = pixeltest.$(OBJEXT)
|
||||
pixeltest_LDADD = $(LDADD)
|
||||
-pointblast_SOURCES = pointblast.c
|
||||
-pointblast_OBJECTS = pointblast.$(OBJEXT)
|
||||
-pointblast_LDADD = $(LDADD)
|
||||
projtex_SOURCES = projtex.c
|
||||
projtex_OBJECTS = projtex.$(OBJEXT)
|
||||
projtex_DEPENDENCIES = ../util/libutil.la
|
||||
@@ -283,9 +277,6 @@ singlebuffer_LDADD = $(LDADD)
|
||||
spectex_SOURCES = spectex.c
|
||||
spectex_OBJECTS = spectex.$(OBJEXT)
|
||||
spectex_LDADD = $(LDADD)
|
||||
-spriteblast_SOURCES = spriteblast.c
|
||||
-spriteblast_OBJECTS = spriteblast.$(OBJEXT)
|
||||
-spriteblast_LDADD = $(LDADD)
|
||||
stex3d_SOURCES = stex3d.c
|
||||
stex3d_OBJECTS = stex3d.$(OBJEXT)
|
||||
stex3d_LDADD = $(LDADD)
|
||||
@@ -358,23 +349,23 @@ am__v_CCLD_0 = @echo " CCLD " $@;
|
||||
am__v_CCLD_1 =
|
||||
SOURCES = arbfplight.c arbfslight.c arbocclude.c arbocclude2.c \
|
||||
bounce.c clearspd.c copypix.c cubemap.c cuberender.c \
|
||||
- dinoshade.c dissolve.c drawpix.c engine.c fbo_firecube.c \
|
||||
+ dissolve.c drawpix.c engine.c fbo_firecube.c \
|
||||
fbotexture.c fire.c fogcoord.c fplight.c fslight.c gamma.c \
|
||||
gearbox.c gears.c geartrain.c glinfo.c gloss.c gltestperf.c \
|
||||
ipers.c isosurf.c lodbias.c morph3d.c multiarb.c paltex.c \
|
||||
- pixeltest.c pointblast.c projtex.c ray.c readpix.c reflect.c \
|
||||
- renormal.c shadowtex.c singlebuffer.c spectex.c spriteblast.c \
|
||||
+ pixeltest.c projtex.c ray.c readpix.c reflect.c \
|
||||
+ renormal.c shadowtex.c singlebuffer.c spectex.c \
|
||||
stex3d.c teapot.c terrain.c tessdemo.c texcyl.c texenv.c \
|
||||
textures.c trispd.c $(tunnel_SOURCES) tunnel2.c vao_demo.c \
|
||||
winpos.c
|
||||
DIST_SOURCES = arbfplight.c arbfslight.c arbocclude.c arbocclude2.c \
|
||||
bounce.c clearspd.c copypix.c cubemap.c cuberender.c \
|
||||
- dinoshade.c dissolve.c drawpix.c engine.c fbo_firecube.c \
|
||||
+ dissolve.c drawpix.c engine.c fbo_firecube.c \
|
||||
fbotexture.c fire.c fogcoord.c fplight.c fslight.c gamma.c \
|
||||
gearbox.c gears.c geartrain.c glinfo.c gloss.c gltestperf.c \
|
||||
ipers.c isosurf.c lodbias.c morph3d.c multiarb.c paltex.c \
|
||||
- pixeltest.c pointblast.c projtex.c ray.c readpix.c reflect.c \
|
||||
- renormal.c shadowtex.c singlebuffer.c spectex.c spriteblast.c \
|
||||
+ pixeltest.c projtex.c ray.c readpix.c reflect.c \
|
||||
+ renormal.c shadowtex.c singlebuffer.c spectex.c \
|
||||
stex3d.c teapot.c terrain.c tessdemo.c texcyl.c texenv.c \
|
||||
textures.c trispd.c $(tunnel_SOURCES) tunnel2.c vao_demo.c \
|
||||
winpos.c
|
||||
@@ -719,10 +710,6 @@ cuberender$(EXEEXT): $(cuberender_OBJECTS) $(cuberender_DEPENDENCIES) $(EXTRA_cu
|
||||
@rm -f cuberender$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(cuberender_OBJECTS) $(cuberender_LDADD) $(LIBS)
|
||||
|
||||
-dinoshade$(EXEEXT): $(dinoshade_OBJECTS) $(dinoshade_DEPENDENCIES) $(EXTRA_dinoshade_DEPENDENCIES)
|
||||
- @rm -f dinoshade$(EXEEXT)
|
||||
- $(AM_V_CCLD)$(LINK) $(dinoshade_OBJECTS) $(dinoshade_LDADD) $(LIBS)
|
||||
-
|
||||
dissolve$(EXEEXT): $(dissolve_OBJECTS) $(dissolve_DEPENDENCIES) $(EXTRA_dissolve_DEPENDENCIES)
|
||||
@rm -f dissolve$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(dissolve_OBJECTS) $(dissolve_LDADD) $(LIBS)
|
||||
@@ -815,10 +802,6 @@ pixeltest$(EXEEXT): $(pixeltest_OBJECTS) $(pixeltest_DEPENDENCIES) $(EXTRA_pixel
|
||||
@rm -f pixeltest$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(pixeltest_OBJECTS) $(pixeltest_LDADD) $(LIBS)
|
||||
|
||||
-pointblast$(EXEEXT): $(pointblast_OBJECTS) $(pointblast_DEPENDENCIES) $(EXTRA_pointblast_DEPENDENCIES)
|
||||
- @rm -f pointblast$(EXEEXT)
|
||||
- $(AM_V_CCLD)$(LINK) $(pointblast_OBJECTS) $(pointblast_LDADD) $(LIBS)
|
||||
-
|
||||
projtex$(EXEEXT): $(projtex_OBJECTS) $(projtex_DEPENDENCIES) $(EXTRA_projtex_DEPENDENCIES)
|
||||
@rm -f projtex$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(projtex_OBJECTS) $(projtex_LDADD) $(LIBS)
|
||||
@@ -851,10 +834,6 @@ spectex$(EXEEXT): $(spectex_OBJECTS) $(spectex_DEPENDENCIES) $(EXTRA_spectex_DEP
|
||||
@rm -f spectex$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(spectex_OBJECTS) $(spectex_LDADD) $(LIBS)
|
||||
|
||||
-spriteblast$(EXEEXT): $(spriteblast_OBJECTS) $(spriteblast_DEPENDENCIES) $(EXTRA_spriteblast_DEPENDENCIES)
|
||||
- @rm -f spriteblast$(EXEEXT)
|
||||
- $(AM_V_CCLD)$(LINK) $(spriteblast_OBJECTS) $(spriteblast_LDADD) $(LIBS)
|
||||
-
|
||||
stex3d$(EXEEXT): $(stex3d_OBJECTS) $(stex3d_DEPENDENCIES) $(EXTRA_stex3d_DEPENDENCIES)
|
||||
@rm -f stex3d$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(stex3d_OBJECTS) $(stex3d_LDADD) $(LIBS)
|
||||
@@ -918,7 +897,6 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copypix.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cubemap.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cuberender.Po@am__quote@
|
||||
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dinoshade.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dissolve.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drawpix.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/engine.Po@am__quote@
|
||||
@@ -942,7 +920,6 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multiarb.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/paltex.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pixeltest.Po@am__quote@
|
||||
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pointblast.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/projtex.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ray.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readpix.Po@am__quote@
|
||||
@@ -951,7 +928,6 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shadowtex.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/singlebuffer.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spectex.Po@am__quote@
|
||||
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/spriteblast.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stex3d.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/teapot.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/terrain.Po@am__quote@
|
||||
Reference in New Issue
Block a user