head 1.13; access; symbols pkgsrc-2013Q2:1.13.0.2 pkgsrc-2013Q2-base:1.13 pkgsrc-2013Q1:1.12.0.32 pkgsrc-2013Q1-base:1.12 pkgsrc-2012Q4:1.12.0.30 pkgsrc-2012Q4-base:1.12 pkgsrc-2012Q3:1.12.0.28 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.12.0.26 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.12.0.24 pkgsrc-2012Q1-base:1.12 pkgsrc-2011Q4:1.12.0.22 pkgsrc-2011Q4-base:1.12 pkgsrc-2011Q3:1.12.0.20 pkgsrc-2011Q3-base:1.12 pkgsrc-2011Q2:1.12.0.18 pkgsrc-2011Q2-base:1.12 pkgsrc-2011Q1:1.12.0.16 pkgsrc-2011Q1-base:1.12 pkgsrc-2010Q4:1.12.0.14 pkgsrc-2010Q4-base:1.12 pkgsrc-2010Q3:1.12.0.12 pkgsrc-2010Q3-base:1.12 pkgsrc-2010Q2:1.12.0.10 pkgsrc-2010Q2-base:1.12 pkgsrc-2010Q1:1.12.0.8 pkgsrc-2010Q1-base:1.12 pkgsrc-2009Q4:1.12.0.6 pkgsrc-2009Q4-base:1.12 pkgsrc-2009Q3:1.12.0.4 pkgsrc-2009Q3-base:1.12 pkgsrc-2009Q2:1.12.0.2 pkgsrc-2009Q2-base:1.12 pkgsrc-2009Q1:1.11.0.12 pkgsrc-2009Q1-base:1.11 pkgsrc-2008Q4:1.11.0.10 pkgsrc-2008Q4-base:1.11 pkgsrc-2008Q3:1.11.0.8 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.6 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.4 pkgsrc-2008Q2-base:1.11 cwrapper:1.11.0.2 pkgsrc-2008Q1:1.10.0.6 pkgsrc-2008Q1-base:1.10 pkgsrc-2007Q4:1.10.0.4 pkgsrc-2007Q4-base:1.10 pkgsrc-2007Q3:1.10.0.2 pkgsrc-2007Q3-base:1.10 pkgsrc-2007Q2:1.8.0.12 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.10 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.8 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.6 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.4 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.2 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.7.0.6 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.4 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.2 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.6.0.2 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.2.0.4 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.1.0.2 pkgsrc-2004Q1-base:1.1; locks; strict; comment @# @; 1.13 date 2013.05.16.05.22.02; author richard; state dead; branches; next 1.12; commitid zN883Sx1YLZWAOPw; 1.12 date 2009.06.05.11.10.35; author wiz; state Exp; branches; next 1.11; 1.11 date 2008.04.24.07.40.24; author bjs; state Exp; branches; next 1.10; 1.10 date 2007.08.13.11.18.46; author seb; state Exp; branches; next 1.9; 1.9 date 2007.08.12.15.14.48; author adam; state Exp; branches; next 1.8; 1.8 date 2006.01.19.12.53.17; author adam; state Exp; branches; next 1.7; 1.7 date 2005.06.07.14.31.48; author minskim; state Exp; branches; next 1.6; 1.6 date 2005.02.24.06.24.03; author veego; state Exp; branches; next 1.5; 1.5 date 2005.02.23.13.57.35; author grant; state Exp; branches; next 1.4; 1.4 date 2005.01.04.15.49.24; author adam; state Exp; branches; next 1.3; 1.3 date 2004.10.26.13.55.37; author adam; state Exp; branches; next 1.2; 1.2 date 2004.04.09.13.06.06; author adam; state Exp; branches; next 1.1; 1.1 date 2004.01.22.12.58.53; author adam; state Exp; branches; next ; desc @@ 1.13 log @upgrade to MesaLib-7.11.2 @ text @$NetBSD: patch-ag,v 1.12 2009/06/05 11:10:35 wiz Exp $ --- src/glut/glx/Makefile.orig 2009-03-13 05:28:49 +0200 +++ src/glut/glx/Makefile 2009-05-17 20:34:53 +0300 @@@@ -81,9 +81,8 @@@@ OBJECTS = $(SOURCES:.c=.o) ##### RULES ##### .c.o: - $(CC) -c -I$(TOP)/include $(X11_INCLUDES) $(CFLAGS) $(GLUT_CFLAGS) $< - - + $(LIBTOOL) --mode=compile --tag=CC $(CC) -c -I$(TOP)/include \ + $(X11_INCLUDES) $(CFLAGS) $(GLUT_CFLAGS) -o $(@@:.o=.lo) $< ##### TARGETS ##### @@@@ -92,11 +91,11 @@@@ default: $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NA # Make the library $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS) - $(MKLIB) -o $(GLUT_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \ - -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) -patch $(GLUT_TINY) \ - $(MKLIB_OPTIONS) -install $(TOP)/$(LIB_DIR) \ - -id $(INSTALL_LIB_DIR)/lib$(GLUT_LIB).$(GLUT_MAJOR).dylib \ - $(GLUT_LIB_DEPS) $(OBJECTS) + $(LIBTOOL) --mode=link $(CC) \ + -o $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME:.so=.la) $(LDFLAGS) \ + -rpath $(PREFIX)/lib $(GLUT_LIB_DEPS) \ + -version-info $(GLUT_MAJOR):$(GLUT_MINOR):$(GLUT_TINY) \ + $(GLUT_LIB_DEPS) $(OBJECTS:.o=.lo) # glut pkgconfig file @@@@ -112,12 +111,14 @@@@ glut.pc: glut.pc.in $(pcedit) $< > $@@ install: glut.pc - $(INSTALL) -d $(DESTDIR)$(INSTALL_INC_DIR)/GL - $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR) - $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig - $(INSTALL) -m 644 $(TOP)/include/GL/glut.h $(DESTDIR)$(INSTALL_INC_DIR)/GL - $(INSTALL) $(TOP)/$(LIB_DIR)/$(GLUT_LIB_GLOB) $(DESTDIR)$(INSTALL_LIB_DIR) - $(INSTALL) -m 644 glut.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig + $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(INSTALL_DIR)/include/GL + $(BSD_INSTALL_LIB_DIR) $(DESTDIR)$(INSTALL_DIR)/lib + $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(INSTALL_DIR)/lib/pkgconfig + $(BSD_INSTALL_DATA) $(TOP)/include/GL/glut.h $(DESTDIR)$(INSTALL_DIR)/include/GL + $(LIBTOOL) --mode=install \ + $(BSD_INSTALL_LIB) $(TOP)/$(LIB_DIR)/libglut.la \ + $(DESTDIR)$(INSTALL_DIR)/lib + $(BSD_INSTALL_DATA) glut.pc $(DESTDIR)$(INSTALL_DIR)/lib/pkgconfig clean: @ 1.12 log @Update Mesa and friends to 7.4.2. 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. @ text @d1 1 a1 1 $NetBSD$ @ 1.11 log @ Welcome to Mesa-7.0.3. Changes from 6.4.2 are (obviously) far too numerous to mention! This package brings with it support for the Direct Rendering Infrastructure (DRI) on NetBSD-current; the kernel DRM was committed approximately one year ago. Patches for NetBSD 4.0 are available in the mailing list archives (I think), but are _not supported_. Developers and other interested parties are encouraged to read the TODO file, as well as my remarks in options.mk. There is still a significant amount of work to be done. Users of NetBSD/i386 (-current) shouldn't have much trouble getting mainstream cards (Intel i915 and Radeon 9600- R430 are by far the most tested) to work. I have taken great pains to ensure that this works properly, but inevitably there will be problems--especially on heretofore untested (read: non-x86) hardware. Your questions, comments, problem reports, and of course bug fixes are welcome. NOTE: There are currently problems (on NetBSD, at least) linking some executables, e.g. compiz, due to unresolved symbols for libpthread functions. This is due to libX11's thread stubs, which should not be enabled on NetBSD >= 2.0; see the TODO For more information and the URL of an interim patch. @ text @d3 3 a5 3 --- src/glut/glx/Makefile.orig 2007-11-20 16:12:22.000000000 +0100 +++ src/glut/glx/Makefile @@@@ -80,9 +80,8 @@@@ OBJECTS = $(SOURCES:.c=.o) d17 1 a17 1 @@@@ -91,10 +90,11 @@@@ default: $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NA d21 1 a21 1 - $(TOP)/bin/mklib -o $(GLUT_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \ d24 1 d27 3 a29 3 + -o $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME:.so=.la) $(LDFLAGS) \ + -rpath $(PREFIX)/lib $(GLUT_LIB_DEPS) \ + -version-info $(GLUT_MAJOR):$(GLUT_MINOR):$(GLUT_TINY) \ d34 1 a34 1 @@@@ -106,13 +106,15 @@@@ glut.pc: glut.pc.in d38 6 a43 7 - $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/include/GL - $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR) - $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)/pkgconfig - $(INSTALL) -m 644 $(TOP)/include/GL/glut.h $(DESTDIR)$(INSTALL_DIR)/include/GL - $(INSTALL) $(TOP)/$(LIB_DIR)/libglut* $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR) - $(INSTALL) -m 644 glut.pc $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)/pkgconfig - d45 2 a46 2 + $(BSD_INSTALL_LIB_DIR) $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR) + $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)/pkgconfig d49 4 a52 4 + $(BSD_INSTALL_LIB) $(TOP)/$(LIB_DIR)/libglut.la \ + $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR) + $(BSD_INSTALL_DATA) glut.pc \ + $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)/pkgconfig a54 1 -rm -f *.o *~ @ 1.10 log @As discussed on tech-pkg@@ revert for now the last updates of the Mesa packages. Downgraded graphics/MesaLib to 6.4.2nb3 Downgraded graphics/glu to 6.4.2 Downgraded graphics/glut to 6.4.2 Downgraded graphics/glx-utils to 6.4.2 Downgraded graphics/MesaDemos to 6.4.2 Downgraded graphics/Mesa to 6.4.2 Approved byg agc@@. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.8 2006/01/19 12:53:17 adam Exp $ d3 1 a3 1 --- src/glut/glx/Makefile.orig 2005-07-26 07:55:56.000000000 +0200 d5 1 a5 1 @@@@ -79,6 +79,7 @@@@ OBJECTS = $(SOURCES:.c=.o) d9 5 a13 2 + ${LIBTOOL} --mode=compile \ $(CC) -c -I$(TOP)/include $(CFLAGS) $(GLUT_CFLAGS) $< d15 1 d17 1 a17 1 @@@@ -90,10 +91,10 @@@@ default: $(LIB_DIR)/$(GLUT_LIB_NAME) d20 2 a21 2 $(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS) - $(TOP)/bin/mklib -o $(GLUT_LIB) -linker '$(CC)' \ d23 1 a23 1 - $(MKLIB_OPTIONS) -install $(LIB_DIR) \ d25 28 a52 5 + ${LIBTOOL} --mode=link ${CC} -o ${GLUT_LIB_NAME:.so=.la} \ + ${OBJECTS:.o=.lo} -rpath ${PREFIX}/lib \ + -version-info ${GLUT_MAJOR}:${GLUT_MINOR} \ + -L${X11BASE}/lib -Wl,-R${X11BASE}/lib ${GLUT_LIB_DEPS} d55 1 @ 1.9 log @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 @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/glut/glx/Makefile.orig 2007-06-22 00:10:54.000000000 +0200 d10 1 a10 1 $(CC) -c -I$(TOP)/include $(X11_INCLUDES) $(CFLAGS) $(GLUT_CFLAGS) $< d13 1 a13 1 @@@@ -90,10 +91,10 @@@@ default: $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NA d16 1 a16 1 $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS) d19 1 a19 1 - $(MKLIB_OPTIONS) -install $(TOP)/$(LIB_DIR) \ d27 1 a27 1 install: @ 1.8 log @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 @ text @d3 1 a3 1 --- src/glut/glx/Makefile.orig 2005-07-26 07:55:56.000000000 +0200 d10 1 a10 1 $(CC) -c -I$(TOP)/include $(CFLAGS) $(GLUT_CFLAGS) $< d13 1 a13 1 @@@@ -90,10 +91,10 @@@@ default: $(LIB_DIR)/$(GLUT_LIB_NAME) d16 1 a16 1 $(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS) d19 1 a19 1 - $(MKLIB_OPTIONS) -install $(LIB_DIR) \ d27 1 a27 1 clean: @ 1.7 log @Make the glut library link against required libraries. Bump PKGREVISION of glut. @ text @d3 1 a3 1 --- src/glut/glx/Makefile.orig 2004-12-05 12:00:20.000000000 -0600 d17 3 a19 3 - CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(GLUT_LIB) \ - -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) \ - -patch $(GLUT_TINY) $(MKLIB_OPTIONS) -install $(LIB_DIR) \ d21 2 a22 2 + ${LIBTOOL} --mode=link ${CC} -o ${GLUT_LIB_NAME:.so=.la} ${OBJECTS:.o=.lo} \ + -rpath ${PREFIX}/lib \ d24 1 a24 1 + -L${X11BASE}/lib ${GLUT_LIB_DEPS:M-l*} -R${X11BASE}/lib @ 1.6 log @Fix the last commit which didn't record the correct rpath for the X11 libraries due too the usage of two -rpath options for libtool: libtool: link: warning: ignoring multiple `-rpath's for a libtool library According to the gnu libtool page you have to use -R: -R libdir If output-file is a program, add libdir to its run-time path. If output-file is a library, add -Rlibdir to its dependency_libs, so that, whenever the library is linked into a program, libdir will be added to its run-time path. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.5 2005/02/23 13:57:35 grant Exp $ d3 1 a3 1 --- src/glut/glx/Makefile.orig 2004-12-06 05:00:20.000000000 +1100 d23 2 a24 2 + -L${X11BASE}/lib -R ${X11BASE}/lib -lXi \ + -version-info ${GLUT_MAJOR}:${GLUT_MINOR} @ 1.5 log @libglut needs symbols from libXi, so explicitly link against it. fixes unresolved symbols at runtime on Solaris. bump PKGREVISION of glut. @ text @d1 1 a1 1 $NetBSD$ d23 1 a23 1 + -L${X11BASE}/lib -rpath ${X11BASE}/lib -lXi \ @ 1.4 log @Changes 6.2.1: Bug fixes: - don't apply regular fog or color sum when using a fragment program - glProgramEnvParameter4fARB always generated an error on GL_FRAGMENT_PROGRAM_ARB (fdo bug 1645) - glVertexAttrib3svNV and glVertexAttrib3svARB were broken - fixed width/height mix-up in glSeparableFilter2D() - fixed regression in glCopyPixels + convolution - glReadPixels from a clipped front color buffer didn't always work - glTexImage didn't accept GL_RED/GREEN/BLUE as the format - Attempting queries/accesses of VBO 0 weren't detected as errors - paletted textures failed if the palette had fewer that 256 entries Changes: - fixed a bunch of compiler warnings found with gcc 3.4 - bug reports should to go bugzilla.freedesktop.org @ text @d3 1 a3 1 --- src/glut/glx/Makefile.orig 2004-12-05 18:00:20.000000000 +0000 d13 1 a13 1 @@@@ -90,10 +91,8 @@@@ default: $(LIB_DIR)/$(GLUT_LIB_NAME) d22 3 a24 1 + -rpath ${PREFIX}/lib -version-info ${GLUT_MAJOR}:${GLUT_MINOR} @ 1.3 log @Changes 6.2: New: - enabled GL_ARB_texture_rectangle (same as GL_NV_texture_rectangle) - updated Doxygen support (Jose Fonseca) Changes: - some GGI driver updates (Christoph Egger, bug 1025977) Bug fixes: - Omit GL_ARB_texture_non_power_of_two from list of OpenGL 1.5 features - fixed a few compilation issues on IRIX - fixed a matrix classification bug (reported by Wes Bethel) - we weren't reseting the vertex/fragment program error state before parsing (Dave Reveman) - adjust texcoords for sampling texture rectangles (Dave Reveman) - glGet*(GL_MAX_VERTEX_ATTRIBS_ARB) wasn't implemented - repeated calls to glDeleteTexture(t) could lead to a crash - fixed potential ref count bugs in VBOs and vertex/fragment programs - spriteblast demo didn't handle window size changes correctly - glTexSubImage didn't handle pixels=NULL correctly for PBOs - fixed color index mode glDrawPixels bug (Karl Schultz) Changes 6.1: New: - Revamped Makefile system - glXUseRotatedXFont() utility (see xdemos/xuserotfont.c) - internal driver interface changes related to texture object allocation, vertex/fragment programs, BlendEquationSeparate, etc. - option to walk triangle edges with double-precision floats (Justin Novosad of Discreet) (see config.h file) - support for AUX buffers in software GLX driver - updated glext.h to version 24 and glxext.h to version 6 - new MESA_GLX_FORCE_ALPHA and MESA_GLX_DEPTH_BITS env vars - updated BeOS support (Philippe Houdoin) Changes: - fragment fog interpolation is perspective corrected now - new glTexImage code, much cleaner, may be a bit faster Bug fixes: - glArrayElement in display lists didn't handle generic vertex attribs - glFogCoord didn't always work properly - ARB_fragment_program fog options didn't work - frag prog TEX instruction no longer incorrectly divides s,t,r by q - ARB frag prog TEX and TEXP instructions now use LOD=0 - glTexEnviv in display lists didn't work - glRasterPos didn't do texgen or apply texture matrix - GL_DOUBLE-valued vertex arrays were broken in some cases - fixed texture rectangle edge/border sampling bugs - sampling an incomplete texture in a fragment program would segfault - glTexImage was missing a few error checks - fixed some minor glGetTexParameter glitches - GL_INTENSITY was mistakenly accepted as a to glTexImage - fragment program writes to RC/HC register were broken - fixed a few glitches in GL_HP_occlusion_test extension - glBeginQueryARB and glEndQueryARB didn't work inside display lists - vertex program state references were broken - fixed triangle color interpolation bug on AIX (Shane Blackett) - fixed a number of minor memory leaks (bug #1002030) @ text @d3 1 a3 1 --- src/glut/glx/Makefile.orig 2004-06-25 22:51:39.000000000 +0000 d5 1 a5 1 @@@@ -80,6 +80,7 @@@@ OBJECTS = $(SOURCES:.c=.o) d13 1 a13 1 @@@@ -91,10 +92,8 @@@@ default: $(LIB_DIR)/$(GLUT_LIB_NAME) @ 1.2 log @Changes 6.0.1: New: - upgraded glext.h to version 22 - new build targets (Dan Schikore) - new linux-x86-opteron build target (Heath Feather) Bug fixes: - glBindProgramARB didn't update all necessary state - fixed build problems on OpenBSD - omit CVS directories from tarballs - glGetTexImage(GL_COLOR_INDEX) was broken - fixed an infinite loop in t&l module - silenced some valgrind warnings about using unitialized memory - fixed some compilation/link glitches on IRIX (Mike Stephens) - glBindProgram wasn't getting compiled into display lists - GLX_FBCONFIG_ID wasn't recognized in glXChooseFBConfig() (bug 888079) - two-sided lighting and vertex program didn't work (bug 887330) - stores to program parameter registers in vertex state programs didn't work. - fixed glOrtho bug found with gcc 3.2.2 (RH9) - glXCreateWindow() wasn't fully implemented (bug 890894) - generic vertex attribute arrays didn't work in display lists - vertex buffer objects' default usage and access fields were wrong - glDrawArrays with start!=0 was broken - fragment program PK2H, UP2H, UP4B and UP4UB instructions were broken - linux-osmesa16-static config didn't work - fixed a few color index rendering problems (bug 910687) - glInterleavedArrays didn't respect GL_CLIENT_ACTIVE_TEXTURE - OSMesa RGB and BGR modes were broken - glProgramStringARB mistakenly required a null-terminated string - fragment program XPD instruction was incorrect - glGetMaterial() didn't work reliably @ text @d3 3 a5 3 --- src/glut/glx/Makefile.X11.orig 2004-03-24 20:02:51.000000000 +0000 +++ src/glut/glx/Makefile.X11 @@@@ -82,6 +82,7 @@@@ OBJECTS = $(SOURCES:.c=.o) d10 1 a10 1 $(CC) -c -I$(INCDIR) $(CFLAGS) $(GLUT_CFLAGS) $< d13 1 a13 1 @@@@ -101,9 +102,8 @@@@ targets: $(LIBDIR)/$(GLUT_LIB) d16 4 a19 3 $(LIBDIR)/$(GLUT_LIB): $(OBJECTS) - $(TOP)/bin/mklib -o glut -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) \ - -patch $(GLUT_TINY) $(MKLIB_OPTIONS) -install $(LIBDIR) \ d21 1 a21 1 + ${LIBTOOL} --mode=link ${CC} -o ${GLUT_LIB:.so=.la} ${OBJECTS:.o=.lo} \ a23 1 include $(TOP)/Make-config d25 1 @ 1.1 log @Mesa-6.0 packages now use LIBTOOL and finally build @ text @d3 1 a3 1 --- src/glut/glx/Makefile.X11.orig 2004-01-22 12:23:17.000000000 +0000 d18 2 a19 2 - -patch $(GLUT_TINY) $(GLUT_LIB_DEPS) -install $(LIBDIR) \ - $(MKLIB_OPTIONS) $(OBJECTS) @