diff options
author | adam <adam@pkgsrc.org> | 2007-08-12 15:14:46 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2007-08-12 15:14:46 +0000 |
commit | b6250536dc1537a19dfbcf344ffc2b7dc97a137c (patch) | |
tree | 72b79a6f839613cc2d13edc90230a76c294917db /graphics/MesaDemos | |
parent | ab8afa61c5be76229067c07972ffa7f5a67a97a7 (diff) | |
download | pkgsrc-b6250536dc1537a19dfbcf344ffc2b7dc97a137c.tar.gz |
Changes 7.0.1:
New features:
* Added a bluegene-osmesa build config
Bug fixes:
* Added a few missing OpenGL 2.0 API entrypoints
* Fixed glDrawPixels(GL_STENCIL_INDEX) pixel transfer
* GLSL bug fix: added vec2(vec4) constructor
* GLSL bug fix: .strq and .rgba writemasks didn't always work
* Stencil pixel map didn't always work for glDrawPixels
* Fixed polygon stipple bug in i915 driver
* Binding a zero-sized texture didn't disable texturing
* Queries of GL_INFO_LOG_LENGTH, GL_SHADER_SOURCE_LENGTH didn't include
the terminating zero
* glXChooseFBConfig() in Xlib driver didn't handle GLX_STEREO flag properly
* Fixed a GLSL function call bug
* glPointParameteriv(GL_DISTANCE_ATTENUATION_EXT) didn't work
* glGetAttribLocation() always returned 1
* Fixed a few memory-related bugs in GLU library
Changes 7.0.0:
New features:
* OpenGL 2.0 and 2.1 API support.
Bug fixes:
* Fixed a few fog-related bugs.
* Fixed broken GLSL mix() function.
* Fixed broken GLSL exp() functions.
* Fixed GLSL mod4(vec4, vec4) bug.
* Implemented GLSL asin(), acos(), atan() functions.
* Fixed an R300 driver bug that caused Xorg composite manager to crash
* Fixed R300 vertex program/matrix bug
* GLSL dFdx() and dFdy() work for fragment program inputs now (texcoords)
* Specifying an invalid texture unit as a sampler could lead to a crash
* The GLX protocol request for glXDestroyPBuffer() was incorrect
* ARB vp state.light[n].half value was incorrect
* Fixed a positional light source bug
* Fixed point size attenuation problem
* glPopAttrib didn't restore texture object's LOD bias
* Fixed a TLS / TEXTREL problem
Diffstat (limited to 'graphics/MesaDemos')
-rw-r--r-- | graphics/MesaDemos/Makefile | 18 | ||||
-rw-r--r-- | graphics/MesaDemos/PLIST | 62 | ||||
-rw-r--r-- | graphics/MesaDemos/distinfo | 26 | ||||
-rw-r--r-- | graphics/MesaDemos/patches/patch-ac | 14 | ||||
-rw-r--r-- | graphics/MesaDemos/patches/patch-ah | 22 | ||||
-rw-r--r-- | graphics/MesaDemos/patches/patch-ai | 10 |
6 files changed, 103 insertions, 49 deletions
diff --git a/graphics/MesaDemos/Makefile b/graphics/MesaDemos/Makefile index 1337e7ea21b..5c9867e67d1 100644 --- a/graphics/MesaDemos/Makefile +++ b/graphics/MesaDemos/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2006/12/27 13:37:38 joerg Exp $ +# $NetBSD: Makefile,v 1.30 2007/08/12 15:14:47 adam Exp $ PKGNAME= MesaDemos-${MESA_VERSION} COMMENT= OpenGL examples and Demos @@ -18,19 +18,19 @@ MAKE_FLAGS+= LIB_DEP="" .include "../../graphics/Mesa/buildlink3.mk" pre-build: - cd ${WRKSRC} && ${RM} -fr src + cd ${WRKSRC} && rm -fr src do-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/${PKGNAME_NOREV}/${dir} - cd ${WRKSRC}/progs && ${PAX} \ + cd ${WRKSRC}/progs && pax \ -s ',^./.*Makefile.*,,' \ - -s ',^./CVS.*,,' \ - -s ',^./.*\.o$$,,' \ - -s ',^./\.libs.*,,' \ - -s ',^./\.deps.*,,' \ - -s ',^./.*\.orig$$,,' \ + -s ',^./CVS.*,,' \ + -s ',^./.*\.o$$,,' \ + -s ',^./\.libs.*,,' \ + -s ',^./\.deps.*,,' \ + -s ',^./.*\.orig$$,,' \ -rw . ${DESTDIR}${PREFIX}/share/examples/${PKGNAME_NOREV}/${dir} - ${CHMOD} -R a+rX ${DESTDIR}${PREFIX}/share/examples/${PKGNAME_NOREV} + chmod -R a+rX ${DESTDIR}${PREFIX}/share/examples/${PKGNAME_NOREV} .include "../../x11/libXi/buildlink3.mk" .include "../../x11/libXmu/buildlink3.mk" diff --git a/graphics/MesaDemos/PLIST b/graphics/MesaDemos/PLIST index 99772df5f63..68f248a55b2 100644 --- a/graphics/MesaDemos/PLIST +++ b/graphics/MesaDemos/PLIST @@ -1,10 +1,12 @@ -@comment $NetBSD: PLIST,v 1.8 2006/01/19 12:53:17 adam Exp $ +@comment $NetBSD: PLIST,v 1.9 2007/08/12 15:14:47 adam Exp $ share/examples/${PKGNAME}/beos/GLInfo.cpp share/examples/${PKGNAME}/beos/demo.cpp share/examples/${PKGNAME}/beos/sample.cpp share/examples/${PKGNAME}/demos/README share/examples/${PKGNAME}/demos/arbfplight share/examples/${PKGNAME}/demos/arbfplight.c +share/examples/${PKGNAME}/demos/arbfslight +share/examples/${PKGNAME}/demos/arbfslight.c share/examples/${PKGNAME}/demos/arbocclude share/examples/${PKGNAME}/demos/arbocclude.c share/examples/${PKGNAME}/demos/bounce @@ -16,14 +18,21 @@ share/examples/${PKGNAME}/demos/cubemap.c share/examples/${PKGNAME}/demos/descrip.mms share/examples/${PKGNAME}/demos/drawpix share/examples/${PKGNAME}/demos/drawpix.c +share/examples/${PKGNAME}/demos/engine +share/examples/${PKGNAME}/demos/engine.c +share/examples/${PKGNAME}/demos/extfuncs.h share/examples/${PKGNAME}/demos/fire share/examples/${PKGNAME}/demos/fire.c share/examples/${PKGNAME}/demos/fogcoord share/examples/${PKGNAME}/demos/fogcoord.c share/examples/${PKGNAME}/demos/fplight share/examples/${PKGNAME}/demos/fplight.c +share/examples/${PKGNAME}/demos/fslight +share/examples/${PKGNAME}/demos/fslight.c share/examples/${PKGNAME}/demos/gamma share/examples/${PKGNAME}/demos/gamma.c +share/examples/${PKGNAME}/demos/gearbox +share/examples/${PKGNAME}/demos/gearbox.c share/examples/${PKGNAME}/demos/gears share/examples/${PKGNAME}/demos/gears.c share/examples/${PKGNAME}/demos/geartrain @@ -33,6 +42,8 @@ share/examples/${PKGNAME}/demos/glinfo share/examples/${PKGNAME}/demos/glinfo.c share/examples/${PKGNAME}/demos/gloss share/examples/${PKGNAME}/demos/gloss.c +share/examples/${PKGNAME}/demos/glslnoise +share/examples/${PKGNAME}/demos/glslnoise.c share/examples/${PKGNAME}/demos/gltestperf share/examples/${PKGNAME}/demos/gltestperf.c share/examples/${PKGNAME}/demos/glutfx @@ -48,14 +59,11 @@ share/examples/${PKGNAME}/demos/morph3d share/examples/${PKGNAME}/demos/morph3d.c share/examples/${PKGNAME}/demos/multiarb share/examples/${PKGNAME}/demos/multiarb.c -share/examples/${PKGNAME}/demos/occlude share/examples/${PKGNAME}/demos/occlude.c share/examples/${PKGNAME}/demos/paltex share/examples/${PKGNAME}/demos/paltex.c share/examples/${PKGNAME}/demos/particles.cxx share/examples/${PKGNAME}/demos/particles.h -share/examples/${PKGNAME}/demos/pixeltex -share/examples/${PKGNAME}/demos/pixeltex.c share/examples/${PKGNAME}/demos/pointblast share/examples/${PKGNAME}/demos/pointblast.c share/examples/${PKGNAME}/demos/rain.cxx @@ -73,12 +81,16 @@ share/examples/${PKGNAME}/demos/shadowtex share/examples/${PKGNAME}/demos/shadowtex.c share/examples/${PKGNAME}/demos/showbuffer.c share/examples/${PKGNAME}/demos/showbuffer.h +share/examples/${PKGNAME}/demos/singlebuffer +share/examples/${PKGNAME}/demos/singlebuffer.c share/examples/${PKGNAME}/demos/spectex share/examples/${PKGNAME}/demos/spectex.c share/examples/${PKGNAME}/demos/spriteblast share/examples/${PKGNAME}/demos/spriteblast.c share/examples/${PKGNAME}/demos/stex3d share/examples/${PKGNAME}/demos/stex3d.c +share/examples/${PKGNAME}/demos/streaming_rect +share/examples/${PKGNAME}/demos/streaming_rect.c share/examples/${PKGNAME}/demos/teapot share/examples/${PKGNAME}/demos/teapot.c share/examples/${PKGNAME}/demos/terrain @@ -94,6 +106,8 @@ share/examples/${PKGNAME}/demos/texenv share/examples/${PKGNAME}/demos/texenv.c share/examples/${PKGNAME}/demos/texobj share/examples/${PKGNAME}/demos/texobj.c +share/examples/${PKGNAME}/demos/trackball.c +share/examples/${PKGNAME}/demos/trackball.h share/examples/${PKGNAME}/demos/trispd share/examples/${PKGNAME}/demos/trispd.c share/examples/${PKGNAME}/demos/tunnel @@ -101,11 +115,44 @@ share/examples/${PKGNAME}/demos/tunnel.c share/examples/${PKGNAME}/demos/tunnel2 share/examples/${PKGNAME}/demos/tunnel2.c share/examples/${PKGNAME}/demos/tunneldat.h +share/examples/${PKGNAME}/demos/vao_demo +share/examples/${PKGNAME}/demos/vao_demo.c share/examples/${PKGNAME}/demos/winpos share/examples/${PKGNAME}/demos/winpos.c +share/examples/${PKGNAME}/fbdev/glfbdevtest.c share/examples/${PKGNAME}/ggi/asc-view.c share/examples/${PKGNAME}/ggi/gears.c share/examples/${PKGNAME}/ggi/gears2.c +share/examples/${PKGNAME}/glsl/CH06-brick.frag.txt +share/examples/${PKGNAME}/glsl/CH06-brick.vert.txt +share/examples/${PKGNAME}/glsl/CH11-bumpmap.frag.txt +share/examples/${PKGNAME}/glsl/CH11-bumpmap.vert.txt +share/examples/${PKGNAME}/glsl/CH11-toyball.frag.txt +share/examples/${PKGNAME}/glsl/CH11-toyball.vert.txt +share/examples/${PKGNAME}/glsl/CH18-mandel.frag.txt +share/examples/${PKGNAME}/glsl/CH18-mandel.vert.txt +share/examples/${PKGNAME}/glsl/brick +share/examples/${PKGNAME}/glsl/brick.c +share/examples/${PKGNAME}/glsl/bump +share/examples/${PKGNAME}/glsl/bump.c +share/examples/${PKGNAME}/glsl/cubemap.frag.txt +share/examples/${PKGNAME}/glsl/deriv +share/examples/${PKGNAME}/glsl/deriv.c +share/examples/${PKGNAME}/glsl/extfuncs.h +share/examples/${PKGNAME}/glsl/mandelbrot +share/examples/${PKGNAME}/glsl/mandelbrot.c +share/examples/${PKGNAME}/glsl/noise +share/examples/${PKGNAME}/glsl/noise.c +share/examples/${PKGNAME}/glsl/readtex.c +share/examples/${PKGNAME}/glsl/readtex.h +share/examples/${PKGNAME}/glsl/reflect.vert.txt +share/examples/${PKGNAME}/glsl/shadowtex.frag.txt +share/examples/${PKGNAME}/glsl/simple.vert.txt +share/examples/${PKGNAME}/glsl/texdemo1 +share/examples/${PKGNAME}/glsl/texdemo1.c +share/examples/${PKGNAME}/glsl/toyball +share/examples/${PKGNAME}/glsl/toyball.c +share/examples/${PKGNAME}/images/arch.rgb share/examples/${PKGNAME}/images/bw.rgb share/examples/${PKGNAME}/images/girl.rgb share/examples/${PKGNAME}/images/girl2.rgb @@ -118,6 +165,8 @@ share/examples/${PKGNAME}/images/wrs_logo.rgb share/examples/${PKGNAME}/osdemos/osdemo.c share/examples/${PKGNAME}/osdemos/osdemo16.c share/examples/${PKGNAME}/osdemos/osdemo32.c +share/examples/${PKGNAME}/osdemos/ostest1.c +share/examples/${PKGNAME}/osdemos/readtex.c share/examples/${PKGNAME}/redbook/README share/examples/${PKGNAME}/redbook/aaindex share/examples/${PKGNAME}/redbook/aaindex.c @@ -312,6 +361,7 @@ share/examples/${PKGNAME}/samples/wave.c share/examples/${PKGNAME}/util/README share/examples/${PKGNAME}/util/dumpstate.c share/examples/${PKGNAME}/util/errcheck.c +share/examples/${PKGNAME}/util/extfuncs.h share/examples/${PKGNAME}/util/glstate.c share/examples/${PKGNAME}/util/glstate.h share/examples/${PKGNAME}/util/glutskel.c @@ -323,6 +373,8 @@ share/examples/${PKGNAME}/util/readtex.c share/examples/${PKGNAME}/util/readtex.h share/examples/${PKGNAME}/util/showbuffer.c share/examples/${PKGNAME}/util/showbuffer.h +share/examples/${PKGNAME}/util/trackball.c +share/examples/${PKGNAME}/util/trackball.h share/examples/${PKGNAME}/util/winpos.c share/examples/${PKGNAME}/windml/readtex.c share/examples/${PKGNAME}/windml/uglaccum.c @@ -344,7 +396,6 @@ share/examples/${PKGNAME}/windml/wrs_logo.bmp share/examples/${PKGNAME}/xdemos/descrip.mms share/examples/${PKGNAME}/xdemos/glthreads share/examples/${PKGNAME}/xdemos/glthreads.c -share/examples/${PKGNAME}/xdemos/glwdemo.c share/examples/${PKGNAME}/xdemos/glxcontexts share/examples/${PKGNAME}/xdemos/glxcontexts.c share/examples/${PKGNAME}/xdemos/glxdemo @@ -382,7 +433,6 @@ share/examples/${PKGNAME}/xdemos/vindex.c share/examples/${PKGNAME}/xdemos/vtest.c share/examples/${PKGNAME}/xdemos/wincopy share/examples/${PKGNAME}/xdemos/wincopy.c -share/examples/${PKGNAME}/xdemos/xdemo share/examples/${PKGNAME}/xdemos/xdemo.c share/examples/${PKGNAME}/xdemos/xfont share/examples/${PKGNAME}/xdemos/xfont.c diff --git a/graphics/MesaDemos/distinfo b/graphics/MesaDemos/distinfo index 887985b53bc..de702470690 100644 --- a/graphics/MesaDemos/distinfo +++ b/graphics/MesaDemos/distinfo @@ -1,17 +1,17 @@ -$NetBSD: distinfo,v 1.16 2006/07/06 22:23:21 markd Exp $ +$NetBSD: distinfo,v 1.17 2007/08/12 15:14:47 adam Exp $ -SHA1 (Mesa-6.4.2/MesaLib-6.4.2.tar.bz2) = 4f042bdf38c9eb62e04660bd18566e7ca50d8640 -RMD160 (Mesa-6.4.2/MesaLib-6.4.2.tar.bz2) = 6bf1afc0d3bd3f5e3b5c1a019838f40603446509 -Size (Mesa-6.4.2/MesaLib-6.4.2.tar.bz2) = 2913009 bytes -SHA1 (Mesa-6.4.2/MesaGLUT-6.4.2.tar.bz2) = f136387c3076cfb24a40a7e41cacc43359493771 -RMD160 (Mesa-6.4.2/MesaGLUT-6.4.2.tar.bz2) = 46ab4c40107ba2765bc944b026ed9f584f8c432e -Size (Mesa-6.4.2/MesaGLUT-6.4.2.tar.bz2) = 270291 bytes -SHA1 (Mesa-6.4.2/MesaDemos-6.4.2.tar.bz2) = 35b1ff78fc1bd1c303be754ad2ff4252ad6c0258 -RMD160 (Mesa-6.4.2/MesaDemos-6.4.2.tar.bz2) = 82e1dafd39abbe1c0e1de49adcff00dec19c6c1a -Size (Mesa-6.4.2/MesaDemos-6.4.2.tar.bz2) = 814178 bytes +SHA1 (Mesa-7.0.1/MesaDemos-7.0.1.tar.bz2) = 4d6cb158b58dbda9411d00e99a01031e13cae2ec +RMD160 (Mesa-7.0.1/MesaDemos-7.0.1.tar.bz2) = 58537c690d811da09f788bf9b5b5bd999e5445c6 +Size (Mesa-7.0.1/MesaDemos-7.0.1.tar.bz2) = 1340949 bytes +SHA1 (Mesa-7.0.1/MesaGLUT-7.0.1.tar.bz2) = ee63b2b1804106a05efaffd3da2dee7637d0eecb +RMD160 (Mesa-7.0.1/MesaGLUT-7.0.1.tar.bz2) = 1c84391874e013145529fee43763ff9f57a88dc9 +Size (Mesa-7.0.1/MesaGLUT-7.0.1.tar.bz2) = 315599 bytes +SHA1 (Mesa-7.0.1/MesaLib-7.0.1.tar.bz2) = deb1002cf377ba8bd9407bd3cf573f8c8be31671 +RMD160 (Mesa-7.0.1/MesaLib-7.0.1.tar.bz2) = b44fd8ebffd17aa72c3b6cca1c2924e66787aa78 +Size (Mesa-7.0.1/MesaLib-7.0.1.tar.bz2) = 3343538 bytes SHA1 (patch-aa) = 4be9b5fadff758d3bcaea22abc5a61e89ccadbe0 SHA1 (patch-ab) = 50050f26563f739a54173ab75b2d24b4ca4529f4 -SHA1 (patch-ac) = ebaaf755d35bd7f82fe93cff9bb98abee6bbf415 +SHA1 (patch-ac) = 946aa52c85556440b4dc2ff99a6807c3c036c01e SHA1 (patch-af) = a66af6ebab7569d85693a9fa58b2d8f9b35149c1 -SHA1 (patch-ah) = 02f1c4ac8a41999454cbebe5d91167fafc7f554e -SHA1 (patch-ai) = 9738bb842646980fccfd7f9eb5f830d1dc994c8c +SHA1 (patch-ah) = 7ea6281c244a6329f83d4e137c015e3f4c259ff8 +SHA1 (patch-ai) = b51a6d1ee028120db5b791f0f65c4eb67558b4ee diff --git a/graphics/MesaDemos/patches/patch-ac b/graphics/MesaDemos/patches/patch-ac index d22115836b3..c977be22e51 100644 --- a/graphics/MesaDemos/patches/patch-ac +++ b/graphics/MesaDemos/patches/patch-ac @@ -1,8 +1,12 @@ -$NetBSD: patch-ac,v 1.9 2006/01/19 12:53:17 adam Exp $ +$NetBSD: patch-ac,v 1.10 2007/08/12 15:14:47 adam Exp $ ---- Makefile.orig 2005-11-29 23:38:49.000000000 +0100 +--- Makefile.orig 2007-08-03 21:31:28.000000000 +0200 +++ Makefile -@@ -2,7 +2,7 @@ +@@ -1,10 +1,10 @@ + # Top-level Mesa makefile + +-SHELL = /bin/bash ++SHELL = /bin/sh TOP = . @@ -11,11 +15,11 @@ $NetBSD: patch-ac,v 1.9 2006/01/19 12:53:17 adam Exp $ default: $(TOP)/configs/current -@@ -117,6 +117,7 @@ linux-x86-xcb \ +@@ -137,6 +137,7 @@ linux-x86-64-static \ linux-x86-glide \ linux-x86-static \ netbsd \ +pkgsrc \ openbsd \ osf1 \ - solaris-x86 \ + osf1-static \ diff --git a/graphics/MesaDemos/patches/patch-ah b/graphics/MesaDemos/patches/patch-ah index fabbcd5ca9d..5174043c869 100644 --- a/graphics/MesaDemos/patches/patch-ah +++ b/graphics/MesaDemos/patches/patch-ah @@ -1,8 +1,8 @@ -$NetBSD: patch-ah,v 1.3 2006/01/19 12:53:17 adam Exp $ +$NetBSD: patch-ah,v 1.4 2007/08/12 15:14:47 adam Exp $ ---- configs/default.orig 2005-10-25 01:35:14.000000000 +0200 +--- configs/default.orig 2007-08-01 23:49:59.000000000 +0200 +++ configs/default -@@ -14,10 +14,6 @@ MESA_TINY=1 +@@ -16,10 +16,6 @@ MESA_TINY=1 DRM_SOURCE_PATH=$(TOP)/../drm # Compiler and flags @@ -13,12 +13,12 @@ $NetBSD: patch-ah,v 1.3 2006/01/19 12:53:17 adam Exp $ GLU_CFLAGS = # Misc tools and flags -@@ -56,7 +52,7 @@ GLW_SOURCES = GLwDrawA.c +@@ -78,7 +74,7 @@ APP_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(G - # Directories - LIB_DIR = $(TOP)/lib --INSTALL_PREFIX = /usr/local -+INSTALL_PREFIX = ${PREFIX} - SRC_DIRS = mesa glu glut/glx glw - GLU_DIRS = sgi - DRIVER_DIRS = x11 osmesa + + # Installation directories (for make install) +-INSTALL_DIR = /usr/local ++INSTALL_DIR = ${PREFIX} + DRI_DRIVER_INSTALL_DIR = /usr/X11R6/lib/modules/dri + + # Where libGL will look for DRI hardware drivers diff --git a/graphics/MesaDemos/patches/patch-ai b/graphics/MesaDemos/patches/patch-ai index 7d1eb814974..1e07e61c857 100644 --- a/graphics/MesaDemos/patches/patch-ai +++ b/graphics/MesaDemos/patches/patch-ai @@ -1,13 +1,13 @@ -$NetBSD: patch-ai,v 1.3 2006/07/06 22:23:21 markd Exp $ +$NetBSD: patch-ai,v 1.4 2007/08/12 15:14:47 adam Exp $ ---- include/GL/glxext.h.orig 2005-11-08 10:20:29.000000000 +1300 +--- include/GL/glxext.h.orig 2007-06-22 00:10:53.000000000 +0200 +++ include/GL/glxext.h -@@ -334,7 +334,7 @@ typedef struct { - #if defined(__sun__) +@@ -389,7 +389,7 @@ typedef struct { + #elif defined(__sun__) || defined(__digital__) #include <inttypes.h> #if defined(__STDC__) -#if defined(__arch64__) +#if defined(__arch64__) || defined(_LP64) typedef long int int64_t; + typedef unsigned long int uint64_t; #else - typedef long long int int64_t; |