summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
AgeCommit message (Collapse)AuthorFilesLines
2007-12-06Need bsd.prefs.mk before using MACHINE_PLATFORM.obache1-3/+3
2007-12-05Add link to Apple work around into the makefile for documentation purposes.tron1-1/+2
2007-12-05Use Apple's suggested work around(*) to fix linker problems undertron1-1/+5
Mac OS X Leopard. (*) http://developer.apple.com/qa/qa2007/qa1567.html
2007-11-03Added MAKE_JOBS_SAFE as suggested in PR 35043.rillig1-1/+3
2007-10-16Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.tnn1-2/+2
2007-08-15Add remaining glue for cross-compilation.joerg1-1/+10
2007-08-13As discussed on tech-pkg@ revert for now the last updates of the Mesa packages.seb13-195/+211
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@.
2007-08-12Changes 7.0.1:adam13-211/+195
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
2007-08-06Allow MesaLib to be cross-compiled. This is horrible slow, but workingjoerg5-1/+165
magic.
2007-04-13Need to include inttypes.h on Tru64. Submitted upstream in:tnn2-7/+11
<https://bugs.freedesktop.org/show_bug.cgi?id=10635>
2007-02-02Require libXext here as well. Doesn't really make a difference asjoerg1-1/+3
Mesa/b3.mk is normally included and that gets it via glut.
2007-01-24Fix the Interix fix. gcc 3.3 supplies its own <stddef.h>, which shadowstv3-13/+17
the one in the OS (which happens to be where [u]intptr_t is defined). Interix 5.2 should fix this, but to support Interix 3.5, a special case is needed here. Since this changes glheader.h for all platforms, bump PKGREVISION (but only for the MesaLib package).
2006-12-12Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.joerg1-2/+2
The redundant parsing of bsd.prefs.mk is mostly avoided now and parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-11-21Interix doesn't have <inttypes.h>, but <stdlib.h> is guaranteed to pulltv2-1/+15
in [u]intptr_t.
2006-10-09Flag a number of packages I use as supporting (user-)destdir.joerg1-3/+3
apg is a bit special as it has some hardcoded ownership, so mark that as "destdir".
2006-10-01added support for IRIX 5. Including inttypes.h, as introduced through patch-am,schwarz3-6/+32
is necessary on IRIX 5 to have int64_t defined whereas it is not needed on IRIX 6, but should not hurt there either.
2006-08-01Split Mesa/Makefile.common into Makefile.common and Makefile.lib.jlam1-2/+2
The latter is used by packages that build libraries from the Mesa sources, while the former is only if the package builds from the Mesa sources. Modify the various Mesa packages to include the proper Makefile, and add some documentation to the Makefiles. As a side effect, this suppresses the "duplicate target" warning in graphics/glx-utils that was caused by having the same distfile listed in DISTFILES more than once.
2006-07-21"BUILD_ENV" was misnamed. It's actually the environment that is passedjlam1-2/+2
to all internal recursive make processes. As such, rename it to "PKGSRC_MAKE_ENV". XXX Note, some of the usage of this variable in package Makefiles seems XXX incorrect. They probably want "MAKE_ENV", which is the environment XXX passed to the make process when running "make" within ${WRKSRC}.
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-07-06On Solaris with "gcc -m64" make sure int64_t defined correctly.markd3-3/+17
Bump PKGREVISION
2006-06-01Explicitly add --tag for libtool calls to fix problems on SunOS.joerg2-6/+6
Patch from Andreas Tannert in PR 33588.
2006-04-06Over 1200 files touched but no revisions bumped :)reed2-5/+5
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-30Avoid extra stat() calls by not repeatedly checking whether a filejlam1-3/+3
exists on the disk -- we can just check whether a variable defined by find-files.mk is "__nonexistent__" or not.
2006-03-21Include ../../mk/bsd.prefs.mk to ensure that MACHINE_PLATFORM is definedkristerw1-1/+3
before it is used.
2006-03-21Compensate for lossage I've caused by not explicitely linking againstdrochner4-6/+18
libpthread: link against a stub lib on systems which need it (NetBSD<=2). Thanks to mlh@goathill.org for testing and reports.
2006-03-02don't link libGL explicitely against libpthread, it is notdrochner3-5/+6
used by the library itself, the version which comes with X11 doesn't do it, and it fixes some cases where GL is loaded dynamically bump PKGREVISION
2006-02-096.4.2 February 2, 2006adam4-100/+11
New: - added OSMesaColorClamp() function/feature - added wglGetExtensionStringARB() function Bug fixes: - fixed some problems when building on Windows - GLw header files weren't installed by installmesa script (bug 5396) - GL/glfbdev.h file was missing from tarballs - fixed TNL initialization bug which could lead to crash (bug 5791)
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-3/+4
2006-01-31Fix some more places where the evil macro RENDER_SPAN prevents thiskristerw3-1/+885
package from building with gcc 2.95.
2006-01-30That evil macro RENDER_SPAN is defined twice -- I only catched one in therillig2-5/+23
first try.
2006-01-26Added patch-ak, which fixes the bulk build for NetBSD 1.6.2/i386.rillig2-1/+27
2006-01-19Changes 6.4:adam11-83/+89
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
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-11-08Create template config file for Interix 3.x.tv5-7/+54
As part of this, do something special for xmesaP.h: Because XShm.h does exist on the Interix platform, and Mesa binaries were already buildable, preserve the ABI by including XShm.h there and keeping the XShmSegmentInfo field (with -DUSE_XSHM_HDRONLY) -- thus avoiding both flag day and revbump sweep. However, all XShm-using code remains turned off (no -DUSE_XSHM) so that libGL will work. Bump PKGREVISION of MesaLib only.
2005-07-13Ensure that the PTHREAD_LDFLAGS gets passed to the linker.kristerw2-4/+4
2005-07-12Make this pkg compile on DragonFly by applying a patch sent tokristerw2-4/+13
tech-pkg by Joerg Sonnenberger.
2005-07-10no need to force the latest version of MesaLib for pthread changegrant2-4/+3
where IGNORE_RECOMMENDED=YES. set BUILDLINK_RECOMMENDED>=6.2.1nb2.
2005-06-17Enable the pthread-based thread-safety code in pkgsrc MesaLib.jlam4-8/+14
Bump the PKGREVISION to 2. This fixes PR pkg/30537.
2005-06-07Make the glut library link against required libraries. Bumpminskim2-6/+6
PKGREVISION of glut.
2005-06-07Make the GLU library link against libGL. Bump PKGREVISION of glu.minskim2-6/+7
2005-06-05Link against required libraries explicitly, so that dependency_libs inminskim4-14/+20
.la files is set correctly. Bump PKGREVISION.
2005-06-03Coalesce the common makefile code in the builtin.mk file that inspectjlam2-25/+4
the X11 distribution using imake into mk/buildlink3/imake-check.mk. imake-check.mk calls out to a helper shell script mk/buildlink3/imake-check that generates the required Imakefiles and runs imake. Remove the now extraneous builtin-imake.mk files as the builtin.mk files can now contain the name of the imake symbol to check.
2005-06-03Only check for the existence of the first word of ${IMAKE} since it mayjlam1-2/+3
contain a command plus arguments. We use the standard idiom to extract the first word of a list stored in a make variable: VAR_CMD= ${VAR:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//} XXX This can be replaced with a more succinct use of variable modifiers XXX when we update the bootstrap bmake to match the latest NetBSD make XXX sources, i.e.: XXX XXX VAR_CMD= ${VAR:[1]}
2005-06-03Don't require a read-write pkgsrc tree when invoking imake. We avoidjlam1-2/+4
this requirement by using TMPDIR as the read-write location demanded by using imake.
2005-06-01Use IMAKE_MAKE instead of MAKE to process the makefile generated by imake.jlam1-2/+2
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam2-40/+79
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-02-24Add RMD160 digestsagc1-1/+3
2005-02-24Fix the last commit which didn't record the correct rpath for the X11veego2-4/+4
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.
2005-02-23libglut needs symbols from libXi, so explicitly link against it.grant2-6/+8
fixes unresolved symbols at runtime on Solaris. bump PKGREVISION of glut.