pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics Changes 6.4:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1253114d03e
branches:  trunk
changeset: 506581:f1253114d03e
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jan 19 12:53:17 2006 +0000

description:
Changes 6.4:
    New:
        - Added a fast XOR line drawing function in Xlib driver
        - Added support for GL_ARB_texture_mirrored_repeat to savage
          driver (supported only on Savage4 hardware).
    Changes:
        - Mesa now packaged in three parts: Library, Demos and GLUT
    Bug fixes:
        - GLX_X_RENDERABLE token wasn't accepted by glXChooseFBConfig
        - Some files were present multiple times in the 6.3.2 tarballs
        - r200_vtxtmp_x86.S file was missing from 6.3.2 tarball (bug 4207)
        - glxgears_fbconfig demo didn't work (bug 4237)
        - fixed bug when bilinear sampling 2d textures with borders
        - glXCreatePbuffer() could segfault instead of returning 0 (bug 4235)
        - fixed undefined frexp and rand in X.org libGLcore.a (bug 4242)
        - fixed a few problems with proxy color tables (bug 4270)
        - fixed precision problem in Z clearing (bug 4395)
        - glBitmap, glDraw/CopyPixels mistakenly generated selection hits
        - fixed potential segfault caused by reading pixels outside
          of renderbuffer bounds
        - glGetTexLevelParameter didn't accept GL_TEXTURE_DEPTH_SIZE_ARB
        - fixed memory corruption bug involving software alpha buffers
        - glReadPixels clipped by window bounds was sometimes broken
        - glDraw/CopyPixels of stencil data ignored the stencil write mask
        - glReadPixels from a texture bound to a framebuffer object didn't work
        - glIsRender/FramebufferEXT weren't totally correct
        - fixed a number of point size attenuation/fade bugs
        - fixed glFogCoord bug 4729
        - GLX encoding for transpose matrix functions was broken
        - fixed broken fragment program KIL and SWZ instructions
        - fragment programs that wrote result.depth.z didn't work

Changes 6.4.1:
    Bug fixes:
        - redefining a vertex program string didn't take effect in TNL module
        - fixed occasional segfault upon vertex/fragment parsing error
        - vertex program LIT instruction didn't handle 0^0=1 correctly
        - fragment program fog option didn't work with glDrawPixels, glBitmap
        - USE_MGL_NAMESPACE didn't work for x86-64
        - OSMesa demos were missing from previous release tarballs
        - fixed problem with float->ushort conversion in glClear (bug 4992)
        - popping of GL_EYE_PLANE texgen state was broken (bug 4996)
        - popping of GL_SPOT_DIRECTION light state was broken (bug 5005)
        - fixed occasional triangle color interpolation problem on VMS
        - work around invalid free() call (bug 5131)
        - fixed BSD X server compilation problem by including stdint.h

diffstat:

 graphics/Mesa/Makefile.common       |   5 +-
 graphics/MesaDemos/Makefile         |   3 +-
 graphics/MesaDemos/PLIST            |  67 +++++++++---------------------------
 graphics/MesaDemos/distinfo         |  22 ++++++-----
 graphics/MesaDemos/patches/patch-ac |   6 +-
 graphics/MesaDemos/patches/patch-ad |  13 -------
 graphics/MesaDemos/patches/patch-ah |   8 ++--
 graphics/MesaLib/Makefile           |   7 +---
 graphics/MesaLib/PLIST              |   4 +-
 graphics/MesaLib/builtin.mk         |   6 +-
 graphics/MesaLib/distinfo           |  31 +++++++++-------
 graphics/MesaLib/patches/patch-ac   |   8 ++--
 graphics/MesaLib/patches/patch-ad   |  45 ++++++++++++++----------
 graphics/MesaLib/patches/patch-ae   |  19 +++++----
 graphics/MesaLib/patches/patch-af   |  14 +++---
 graphics/MesaLib/patches/patch-ag   |  16 ++++----
 graphics/MesaLib/patches/patch-ah   |  16 ++++----
 graphics/MesaLib/patches/patch-aj   |   6 +-
 graphics/glu/Makefile               |   3 +-
 graphics/glu/builtin.mk             |   6 +-
 graphics/glut/Makefile              |   3 +-
 21 files changed, 136 insertions(+), 172 deletions(-)

diffs (truncated from 694 to 300 lines):

diff -r b70e2946d547 -r f1253114d03e graphics/Mesa/Makefile.common
--- a/graphics/Mesa/Makefile.common     Thu Jan 19 11:23:44 2006 +0000
+++ b/graphics/Mesa/Makefile.common     Thu Jan 19 12:53:17 2006 +0000
@@ -1,14 +1,15 @@
-# $NetBSD: Makefile.common,v 1.44 2005/11/08 16:41:30 tv Exp $
+# $NetBSD: Makefile.common,v 1.45 2006/01/19 12:53:17 adam Exp $
 
 DISTNAME=      MesaLib-${MESA_VERSION}
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES+=    ${DISTNAME:S/MesaLib/MesaGLUT/}${EXTRACT_SUFX}
 DISTFILES+=    ${DISTNAME:S/MesaLib/MesaDemos/}${EXTRACT_SUFX}
 WRKSRC=                ${WRKDIR}/${DISTNAME:S/Lib//}
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mesa3d/}
 EXTRACT_SUFX=  .tar.bz2
 
-MESA_VERSION=  6.2.1
+MESA_VERSION=  6.4.1
 
 MAINTAINER=    tech-pkg%NetBSD.org@localhost
 HOMEPAGE=      http://www.mesa3d.org/
diff -r b70e2946d547 -r f1253114d03e graphics/MesaDemos/Makefile
--- a/graphics/MesaDemos/Makefile       Thu Jan 19 11:23:44 2006 +0000
+++ b/graphics/MesaDemos/Makefile       Thu Jan 19 12:53:17 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2006/01/12 12:59:15 rillig Exp $
+# $NetBSD: Makefile,v 1.24 2006/01/19 12:53:17 adam Exp $
 
 PKGNAME=       MesaDemos-${MESA_VERSION}
 COMMENT=       OpenGL examples and Demos
@@ -9,6 +9,7 @@
 .include "../../graphics/Mesa/Makefile.common"
 
 USE_LANGUAGES=         c c++
+USE_TOOLS+=            gmake
 MAKE_FLAGS+=           LIB_DEP=""
 
 pre-build:
diff -r b70e2946d547 -r f1253114d03e graphics/MesaDemos/PLIST
--- a/graphics/MesaDemos/PLIST  Thu Jan 19 11:23:44 2006 +0000
+++ b/graphics/MesaDemos/PLIST  Thu Jan 19 12:53:17 2006 +0000
@@ -1,51 +1,8 @@
-@comment $NetBSD: PLIST,v 1.7 2004/10/26 13:57:47 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2006/01/19 12:53:17 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/Windows/all.dsp
-share/examples/${PKGNAME}/demos/Windows/bounce.dsp
-share/examples/${PKGNAME}/demos/Windows/clearspd.dsp
-share/examples/${PKGNAME}/demos/Windows/cubemap.dsp
-share/examples/${PKGNAME}/demos/Windows/demos.dsw
-share/examples/${PKGNAME}/demos/Windows/drawpix.dsp
-share/examples/${PKGNAME}/demos/Windows/fire.dsp
-share/examples/${PKGNAME}/demos/Windows/gears.dsp
-share/examples/${PKGNAME}/demos/Windows/geartrain.dsp
-share/examples/${PKGNAME}/demos/Windows/glinfo.dsp
-share/examples/${PKGNAME}/demos/Windows/gloss.dsp
-share/examples/${PKGNAME}/demos/Windows/gltestperf.dsp
-share/examples/${PKGNAME}/demos/Windows/glutfx.dsp
-share/examples/${PKGNAME}/demos/Windows/ipers.dsp
-share/examples/${PKGNAME}/demos/Windows/isosurf.dsp
-share/examples/${PKGNAME}/demos/Windows/loadbias.dsp
-share/examples/${PKGNAME}/demos/Windows/morph3d.dsp
-share/examples/${PKGNAME}/demos/Windows/multiarb.dsp
-share/examples/${PKGNAME}/demos/Windows/occlude.dsp
-share/examples/${PKGNAME}/demos/Windows/osdemo.dsp
-share/examples/${PKGNAME}/demos/Windows/paltex.dsp
-share/examples/${PKGNAME}/demos/Windows/pixeltex.dsp
-share/examples/${PKGNAME}/demos/Windows/pointblast.dsp
-share/examples/${PKGNAME}/demos/Windows/rain.dsp
-share/examples/${PKGNAME}/demos/Windows/ray.dsp
-share/examples/${PKGNAME}/demos/Windows/readpix.dsp
-share/examples/${PKGNAME}/demos/Windows/reflect.dsp
-share/examples/${PKGNAME}/demos/Windows/renormal.dsp
-share/examples/${PKGNAME}/demos/Windows/shadowtex.dsp
-share/examples/${PKGNAME}/demos/Windows/spectex.dsp
-share/examples/${PKGNAME}/demos/Windows/spriteblast.dsp
-share/examples/${PKGNAME}/demos/Windows/stex3d.dsp
-share/examples/${PKGNAME}/demos/Windows/teapot.dsp
-share/examples/${PKGNAME}/demos/Windows/terrain.dsp
-share/examples/${PKGNAME}/demos/Windows/tessdemo.dsp
-share/examples/${PKGNAME}/demos/Windows/texcyl.dsp
-share/examples/${PKGNAME}/demos/Windows/texdown.dsp
-share/examples/${PKGNAME}/demos/Windows/texenv.dsp
-share/examples/${PKGNAME}/demos/Windows/texobj.dsp
-share/examples/${PKGNAME}/demos/Windows/trispd.dsp
-share/examples/${PKGNAME}/demos/Windows/tunnel.dsp
-share/examples/${PKGNAME}/demos/Windows/tunnel2.dsp
-share/examples/${PKGNAME}/demos/Windows/winpos.dsp
 share/examples/${PKGNAME}/demos/arbfplight
 share/examples/${PKGNAME}/demos/arbfplight.c
 share/examples/${PKGNAME}/demos/arbocclude
@@ -93,10 +50,6 @@
 share/examples/${PKGNAME}/demos/multiarb.c
 share/examples/${PKGNAME}/demos/occlude
 share/examples/${PKGNAME}/demos/occlude.c
-share/examples/${PKGNAME}/demos/osdemo
-share/examples/${PKGNAME}/demos/osdemo.c
-share/examples/${PKGNAME}/demos/osdemo16.c
-share/examples/${PKGNAME}/demos/osdemo32.c
 share/examples/${PKGNAME}/demos/paltex
 share/examples/${PKGNAME}/demos/paltex.c
 share/examples/${PKGNAME}/demos/particles.cxx
@@ -118,6 +71,8 @@
 share/examples/${PKGNAME}/demos/renormal.c
 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/spectex
 share/examples/${PKGNAME}/demos/spectex.c
 share/examples/${PKGNAME}/demos/spriteblast
@@ -153,12 +108,16 @@
 share/examples/${PKGNAME}/ggi/gears2.c
 share/examples/${PKGNAME}/images/bw.rgb
 share/examples/${PKGNAME}/images/girl.rgb
+share/examples/${PKGNAME}/images/girl2.rgb
 share/examples/${PKGNAME}/images/reflect.rgb
 share/examples/${PKGNAME}/images/s128.rgb
 share/examples/${PKGNAME}/images/tile.rgb
 share/examples/${PKGNAME}/images/tree2.rgba
 share/examples/${PKGNAME}/images/tree3.rgb
 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}/redbook/README
 share/examples/${PKGNAME}/redbook/aaindex
 share/examples/${PKGNAME}/redbook/aaindex.c
@@ -328,6 +287,8 @@
 share/examples/${PKGNAME}/samples/prim.c
 share/examples/${PKGNAME}/samples/quad
 share/examples/${PKGNAME}/samples/quad.c
+share/examples/${PKGNAME}/samples/readtex.c
+share/examples/${PKGNAME}/samples/readtex.h
 share/examples/${PKGNAME}/samples/rgbtoppm.c
 share/examples/${PKGNAME}/samples/select
 share/examples/${PKGNAME}/samples/select.c
@@ -383,10 +344,14 @@
 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
 share/examples/${PKGNAME}/xdemos/glxdemo.c
 share/examples/${PKGNAME}/xdemos/glxgears
 share/examples/${PKGNAME}/xdemos/glxgears.c
+share/examples/${PKGNAME}/xdemos/glxgears_fbconfig
 share/examples/${PKGNAME}/xdemos/glxgears_fbconfig.c
 share/examples/${PKGNAME}/xdemos/glxheads
 share/examples/${PKGNAME}/xdemos/glxheads.c
@@ -403,6 +368,8 @@
 share/examples/${PKGNAME}/xdemos/offset
 share/examples/${PKGNAME}/xdemos/offset.c
 share/examples/${PKGNAME}/xdemos/opencloseopen.c
+share/examples/${PKGNAME}/xdemos/overlay
+share/examples/${PKGNAME}/xdemos/overlay.c
 share/examples/${PKGNAME}/xdemos/pbdemo
 share/examples/${PKGNAME}/xdemos/pbdemo.c
 share/examples/${PKGNAME}/xdemos/pbinfo
@@ -423,14 +390,16 @@
 share/examples/${PKGNAME}/xdemos/xrotfontdemo.c
 share/examples/${PKGNAME}/xdemos/xuserotfont.c
 share/examples/${PKGNAME}/xdemos/xuserotfont.h
+share/examples/${PKGNAME}/xdemos/yuvrect_client
+share/examples/${PKGNAME}/xdemos/yuvrect_client.c
 @dirrm share/examples/${PKGNAME}/xdemos
 @dirrm share/examples/${PKGNAME}/windml
 @dirrm share/examples/${PKGNAME}/util
 @dirrm share/examples/${PKGNAME}/samples
 @dirrm share/examples/${PKGNAME}/redbook
+@dirrm share/examples/${PKGNAME}/osdemos
 @dirrm share/examples/${PKGNAME}/images
 @dirrm share/examples/${PKGNAME}/ggi
-@dirrm share/examples/${PKGNAME}/demos/Windows
 @dirrm share/examples/${PKGNAME}/demos
 @dirrm share/examples/${PKGNAME}/beos
 @dirrm share/examples/${PKGNAME}
diff -r b70e2946d547 -r f1253114d03e graphics/MesaDemos/distinfo
--- a/graphics/MesaDemos/distinfo       Thu Jan 19 11:23:44 2006 +0000
+++ b/graphics/MesaDemos/distinfo       Thu Jan 19 12:53:17 2006 +0000
@@ -1,14 +1,16 @@
-$NetBSD: distinfo,v 1.13 2005/02/24 08:45:02 agc Exp $
+$NetBSD: distinfo,v 1.14 2006/01/19 12:53:17 adam Exp $
 
-SHA1 (Mesa-6.2.1/MesaLib-6.2.1.tar.bz2) = 7c4fb46ae17b066e85e90592ace496ac6b36c189
-RMD160 (Mesa-6.2.1/MesaLib-6.2.1.tar.bz2) = cfc5e8db61289c017ff20dd6b4c6db5c7b66855b
-Size (Mesa-6.2.1/MesaLib-6.2.1.tar.bz2) = 1627520 bytes
-SHA1 (Mesa-6.2.1/MesaDemos-6.2.1.tar.bz2) = f8da791e365eec633a70c4b5a76d96d27838e20b
-RMD160 (Mesa-6.2.1/MesaDemos-6.2.1.tar.bz2) = 62b3ebc47e822c4704b69c9888e74bae12a1391b
-Size (Mesa-6.2.1/MesaDemos-6.2.1.tar.bz2) = 1004511 bytes
+SHA1 (Mesa-6.4.1/MesaLib-6.4.1.tar.bz2) = efb70276ccd9cd13dbd7d5e581213a5ca3e4ef25
+RMD160 (Mesa-6.4.1/MesaLib-6.4.1.tar.bz2) = e3a54d6442fa5d6e446bb0b6704bd22c31fb4927
+Size (Mesa-6.4.1/MesaLib-6.4.1.tar.bz2) = 2913887 bytes
+SHA1 (Mesa-6.4.1/MesaGLUT-6.4.1.tar.bz2) = b28f0dcee182604646e0e7d6aaaea25d816bacce
+RMD160 (Mesa-6.4.1/MesaGLUT-6.4.1.tar.bz2) = a09583b05c551852f5b4bc9688bca8a713c5f3bc
+Size (Mesa-6.4.1/MesaGLUT-6.4.1.tar.bz2) = 270793 bytes
+SHA1 (Mesa-6.4.1/MesaDemos-6.4.1.tar.bz2) = ae7a13ed55dfac9dde13464df0c4ac98ac6f7669
+RMD160 (Mesa-6.4.1/MesaDemos-6.4.1.tar.bz2) = 3cff02a195e2aa558d3b5dbbfe15e03ee280df62
+Size (Mesa-6.4.1/MesaDemos-6.4.1.tar.bz2) = 819391 bytes
 SHA1 (patch-aa) = 4be9b5fadff758d3bcaea22abc5a61e89ccadbe0
 SHA1 (patch-ab) = 50050f26563f739a54173ab75b2d24b4ca4529f4
-SHA1 (patch-ac) = 3640b405d9402b6a8e96a257813f116f5502740b
-SHA1 (patch-ad) = 41a417d37ad82a99a3b1e7ef4c54f052947a8a1b
+SHA1 (patch-ac) = ebaaf755d35bd7f82fe93cff9bb98abee6bbf415
 SHA1 (patch-af) = a66af6ebab7569d85693a9fa58b2d8f9b35149c1
-SHA1 (patch-ah) = 8ccfd1734accf9ed3920d42e9208eef5a9d233cf
+SHA1 (patch-ah) = 02f1c4ac8a41999454cbebe5d91167fafc7f554e
diff -r b70e2946d547 -r f1253114d03e graphics/MesaDemos/patches/patch-ac
--- a/graphics/MesaDemos/patches/patch-ac       Thu Jan 19 11:23:44 2006 +0000
+++ b/graphics/MesaDemos/patches/patch-ac       Thu Jan 19 12:53:17 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.8 2005/01/04 15:50:08 adam Exp $
+$NetBSD: patch-ac,v 1.9 2006/01/19 12:53:17 adam Exp $
 
---- Makefile.orig      2004-12-05 18:25:19.000000000 +0000
+--- Makefile.orig      2005-11-29 23:38:49.000000000 +0100
 +++ Makefile
 @@ -2,7 +2,7 @@
  
@@ -11,7 +11,7 @@
  
  
  default: $(TOP)/configs/current
-@@ -100,6 +100,7 @@ linux-x86-64-static \
+@@ -117,6 +117,7 @@ linux-x86-xcb \
  linux-x86-glide \
  linux-x86-static \
  netbsd \
diff -r b70e2946d547 -r f1253114d03e graphics/MesaDemos/patches/patch-ad
--- a/graphics/MesaDemos/patches/patch-ad       Thu Jan 19 11:23:44 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2004/01/20 02:48:33 jschauma Exp $
-
---- progs/demos/osdemo.c.orig  2004-01-19 20:07:26.000000000 -0500
-+++ progs/demos/osdemo.c       2004-01-19 20:08:09.000000000 -0500
-@@ -301,7 +301,7 @@
- 
-    if (filename != NULL) {
- #ifdef SAVE_TARGA
--      write_targa(filename, buffer, WIDTH, HEIGHT);
-+      write_targa(filename, (const GLubyte*)buffer, WIDTH, HEIGHT);
- #else
-       write_ppm(filename, buffer, WIDTH, HEIGHT);
- #endif
diff -r b70e2946d547 -r f1253114d03e graphics/MesaDemos/patches/patch-ah
--- a/graphics/MesaDemos/patches/patch-ah       Thu Jan 19 11:23:44 2006 +0000
+++ b/graphics/MesaDemos/patches/patch-ah       Thu Jan 19 12:53:17 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.2 2004/10/26 13:57:47 adam Exp $
+$NetBSD: patch-ah,v 1.3 2006/01/19 12:53:17 adam Exp $
 
---- configs/default.orig       2004-10-25 17:21:49.000000000 +0000
+--- configs/default.orig       2005-10-25 01:35:14.000000000 +0200
 +++ configs/default
-@@ -14,10 +14,6 @@ MESA_TINY=0
+@@ -14,10 +14,6 @@ MESA_TINY=1
  DRM_SOURCE_PATH=$(TOP)/../drm
  
  # Compiler and flags
@@ -13,7 +13,7 @@
  GLU_CFLAGS = 
  
  # Misc tools and flags
-@@ -52,7 +48,7 @@ GLW_SOURCES = GLwDrawA.c
+@@ -56,7 +52,7 @@ GLW_SOURCES = GLwDrawA.c
  
  # Directories
  LIB_DIR = $(TOP)/lib
diff -r b70e2946d547 -r f1253114d03e graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Thu Jan 19 11:23:44 2006 +0000
+++ b/graphics/MesaLib/Makefile Thu Jan 19 12:53:17 2006 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.42 2005/12/05 20:50:19 rillig Exp $
+# $NetBSD: Makefile,v 1.43 2006/01/19 12:53:17 adam Exp $
 
 PKGNAME=       MesaLib-${MESA_VERSION}
-PKGREVISION=   3
 COMMENT=       Graphics library similar to SGI's OpenGL
 
 .include "../../graphics/Mesa/Makefile.common"
@@ -15,10 +14,6 @@
 CONFIGURE_ARGS+=       --disable-sparc
 .endif
 
-.if !empty(CC_VERSION:Mgcc-3*)
-BUILDLINK_TRANSFORM+=   rm:-O[23]
-.endif
-
 .include "../../mk/pthread.buildlink3.mk"
 
 pre-build:
diff -r b70e2946d547 -r f1253114d03e graphics/MesaLib/PLIST
--- a/graphics/MesaLib/PLIST    Thu Jan 19 11:23:44 2006 +0000
+++ b/graphics/MesaLib/PLIST    Thu Jan 19 12:53:17 2006 +0000



Home | Main Index | Thread Index | Old Index