Update provided by Hasso Tepper on pkgsrc-users. Changes: 7.4.2: Bug fixes * Fixed segfault when rendering to front buffer with DRI 1. * Fixed swrast texture rectangle bug when wrap mode = GL_CLAMP_TO_BORDER and filter mode = GL_LINEAR. (bug 21461) * Fixed texture object mem leak during context destruction. * Fixed a state validation bug in glCopyTex[Sub]Image() * Fixed some i965 GLSL bugs. * Fixed an R300 driver texture object bad memory reference. 7.4.1: Bug fixes * Fixed a two-sided lighting bug in fixed-function-to-GPU code generation * Fixed some Darwin issues (Jeremy Huddleston) * Indexing the GLSL gl_EyePlane[] or gl_ObjectPlane[] arrays with a variable was broken, bug 20986 * Fixed incorrect texture unit bias in TXB instruction * glTexParameter settings weren't always propogated to drivers * Assorted vertex/fragment program bug fixes * Fixed point rendering in software rasterizer * Fixed potential deadlock in object hash functions * Fix a couple bugs surrounding front-buffer rendering with DRI2, but this is not quite complete. * Fixed glPopAttrib() bug when restoring user clip planes 7.4: New features * Added MESA_GLX_FORCE_DIRECT env var for Xlib/software driver * GLSL version 1.20 is returnd by the GL_SHADING_LANGUAGE_VERSION query Bug fixes * glGetActiveUniform() returned wrong size for some array types * Fixed some error checking in glUniform() * Fixed a potential glTexImage('proxy target') segfault * Fixed bad reference counting for 1D/2D texture arrays * Fixed VBO + glPush/PopClientAttrib() bug #19835 * Assorted i965 driver bug fixes * Fixed a Windows compilation failure in s_triangle.c * Fixed a GLSL array indexing bug * Fixes for building on Haiku Changes * Updated GL/glxext.h to version 48 * Assorted updates for building on Solaris 7.3: New features * Support for GLSL 1.20 * Intel DRI drivers now use GEM and DRI2 Bug fixes * Assorted GLSL bug fixes * Assorted i965 driver fixes * Fix for wglCreateLayerContext() in WGL/Windows driver * Build fixes for OpenBSD and gcc 2.95 * GLSL preprocessor handles #pragma now * Fix incorrect transformation of GL_SPOT_DIRECTION * Fixed several bugs (#18367 and #19625) in glXMakeContextCurrent() * Assorted Windows build fixes Changes * Deprecated the "XMesa" interface (include/GL/xmesa*.h files) * Deprecated the "FXMesa" interface (include/GL/fxmesa.h file) * Deprecated the "Allegro" interface (include/GL/amesa.h file) * Removed include/GL/uglmesa.h header * Removed include/GLView.h header for BeOS 7.2: New features * i965 driver: added support for G41 chipset (Intel) Bug fixes * Fixed display list bug involving primitives split across lists (bug 17564) * Fixed some issues with glBindAttribLocation() * Fixed crash in _tnl_InvalidateState() found with Amira (bug 15834) * Assorted bug fixes for Ming build * Fixed some vertex/pixel buffer object reference counting bugs * Fixed depth/stencil bug in i915/945 driver * Fixed some shader flow control bugs in i965 driver * Fixed a few tdfx driver bugs which prevented driver from working * Fixed multisample enable/disable bug Changes * Updated SGI header files with new license terms. 7.1: New features * autoconf-based configuration (and clean-up of Makefiles) * Assorted DRI driver enhancements * Reduced dependencies between X server and Mesa * GL_EXT_texture_from_pixmap extension for Xlib driver * Support for the GL shading language with i965 driver (implemented by Intel) * ATI R500 series support (Radeon X1300-X1950) in r300 DRI driver Bug fixes * Numerous GLSL fixes * Fixed some error code/detection bugs in the GLSL-related API functions * Lots of DRI driver fixes.
65 lines
1.9 KiB
Makefile
65 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.76 2009/06/05 11:10:35 wiz Exp $
|
|
|
|
PKGNAME= MesaLib-${MESA_PKGVERSION}
|
|
COMMENT= Graphics library similar to SGI's OpenGL
|
|
|
|
MESA_HEADERS= gl.h gl_mangle.h glext.h glx.h glxext.h \
|
|
glx_mangle.h osmesa.h xmesa.h xmesa_x.h \
|
|
xmesa_xf86.h
|
|
|
|
MESA_HEADERS+= internal/dri_interface.h internal/sarea.h
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
BUILD_DEFS+= MESA_HZ
|
|
PLIST_VARS= dri nodri
|
|
|
|
.include "glx-config.mk"
|
|
.include "../../graphics/Mesa/Makefile.lib"
|
|
.include "options.mk"
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-[12].*)
|
|
##
|
|
## NetBSD 2.x and earlier require pthread stubs
|
|
##
|
|
. include "../../devel/pthread-stublib/buildlink3.mk"
|
|
PTHREAD_STUBLIB= -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lpthstub
|
|
.elif !empty(MACHINE_PLATFORM:MNetBSD-*)
|
|
##
|
|
## NetBSD 3.x and later have pthread stubs in libc
|
|
##
|
|
PTHREAD_STUBLIB=
|
|
.else
|
|
##
|
|
## Other platforms may or may not have stubs provided by libc, but pulling in
|
|
## threading support via the pthread.buildlink3.mk definitions will provide
|
|
## all the necessary interfaces. This matches the standard configuration for
|
|
## most platforms as they appear in "${WRKSRC}/configs", and is necessary
|
|
## for successful linking with libGL under many platforms.
|
|
##
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
PTHREAD_STUBLIB= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
|
|
.endif
|
|
PKGSRC_MAKE_ENV+= PTHREAD_STUBLIB=${PTHREAD_STUBLIB:Q}
|
|
|
|
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
|
|
MAKE_ENV+= CROSS_COMPILING=yes
|
|
.endif
|
|
|
|
RM_PATCH_BACKUP_DIRS= docs src/mesa src/glut/glx \
|
|
progs/demos progs/xdemos progs/glsl
|
|
post-extract:
|
|
${CP} ${FILESDIR}/gen_matypes.awk ${WRKSRC}/src/mesa/x86
|
|
${CP} ${FILESDIR}/gen_matypes.sh ${WRKSRC}/src/mesa/x86
|
|
${CHMOD} a+x ${WRKSRC}/src/mesa/x86/gen_matypes.sh
|
|
for fn in ${RM_PATCH_BACKUP_DIRS}; do \
|
|
${RM} -f ${WRKSRC}/$${fn}/*.orig; \
|
|
done
|
|
|
|
pre-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/GL/internal
|
|
|
|
pre-build:
|
|
cd ${WRKSRC} && ${RM} -fr src/glu src/glut progs
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|