b6250536dc
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
32 lines
880 B
Makefile
32 lines
880 B
Makefile
# $NetBSD: Makefile,v 1.48 2007/08/12 15:14:49 adam Exp $
|
|
|
|
PKGNAME= glut-${MESA_VERSION}
|
|
COMMENT= GLUT Graphics library similar to SGI's OpenGL
|
|
|
|
CONFLICTS+= Mesa-glx-[0-9]*
|
|
CONFLICTS+= Mesa<3.2.1
|
|
|
|
.include "../../graphics/Mesa/Makefile.lib"
|
|
|
|
BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=${MESA_VERSION}
|
|
BUILDLINK_API_DEPENDS.glu+= glu>=${MESA_VERSION}
|
|
|
|
INSTLIBS= ${WRKSRC}/src/glut/glx/libglut.la
|
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
.include "../../x11/libXi/buildlink3.mk"
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
|
|
pre-build:
|
|
cd ${WRKSRC} && rm -fr src/mesa src/glu src/glw progs
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/GL
|
|
cd ${WRKSRC}/include/GL; for hdr in \
|
|
glut.h glutf90.h; \
|
|
do \
|
|
${INSTALL_DATA} $${hdr} ${DESTDIR}${PREFIX}/include/GL; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|