summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
AgeCommit message (Collapse)AuthorFilesLines
2008-09-26Adapt to new x11.builtin.mk.cube1-6/+2
2008-09-06Reorder two unexec lines so they make more sense.wiz2-4/+4
PKGREVISION++
2008-08-23Set DIST_SUBDIR=Mesa-7.0.4.1 (via MESA_PKGVERSION).dsainty1-10/+10
This allows people that already have the older custom Mesa-7.0.4 tarballs to correctly upgrade Mesa to the standard distributions without having to know to delete the old sources or get confused by the mismatching distinfo checkhashes. Update the paths in the related distinfos for the change.
2008-08-23Bump PKGREVISION to reflect that MesaLib-7.0.4.1 and the currentdsainty1-1/+2
package are built from different sources, with the current package being the official 7.0.4 release. Updates between the two versions' change logs are: - This is a bug-fix release. - Including the latest glext.h and glxext.h header files from Khronos
2008-08-21fix botched checksums.tnn1-10/+10
I have verified through http://mesa3d.sourceforge.net/relnotes-7.0.4.html that these sums are correct for the Mesa 7.0.4 release. XXX should PKGREVISION be bumped? I don't understand how the MESA_PKGVERSION stuff works or why we even have it.
2008-08-17#define bswap_32 bswap32 for NetBSD in the mach64 driver; also, for thebjs4-2/+54
sis driver, use either NetBSD's atomic ops if we have them, else check for gcc's __sync_synchronize. I suppose the right thing to do is split the dri drivers out of this package, but hopefully this will resolve [pkg/39359]. No revision bump, as I just updated the package a few hours ago.
2008-08-17Update to Mesa-7.0.4 proper, which takes us to pkgsrc versionbjs1-2/+1
7.0.4.1. Many of our patches are now upstream; there have also been a significant amount of bug fixes even since our last interim update from the 7.0 branch. ------------------------------------------------------------------------- *** Mesa 7.0.4 is a stable release with bug fixes since version 7.0.3 *** ------------------------------------------------------------------------- Bug fixes * define #extension GL_ARB_texture_rectangle in shading language * fixed WIN32 compile problem in libGLU * Fixed a per-vertex glMaterial bug which could cause bad lighting * Fixed potential crash in AA/smoothed triangle rendering when using a fragment shader * Fixed glDrawElement + VBO segfault (bug 16156) * Fixed GLSL linker bug causing generic vertex attributes to get aliased * Fixed stack overflow when using glPixelZoom on Windows * Fixed broken all(bvec2) GLSL function, added misc missing bvec constructors * ARB program "state.clip[n].plane" didn't parse correctly * Fixed broken glGetUniformiv() (bug 13774) Changes * Added support for DragonFly OS * Added a build config for FreeBSD static libs (Anatolij Shkodin) * Enabled GL_EXT_multi_draw_arrays extension in R200/R300 drivers * Enabled GL_ARB_point_sprite extension in I965 driver * Enabled GL_EXT_texture_sRGB extension in I965 driver * Added support for GL shading language in I965 driver Driver Status Driver Status ---------------------- ---------------------- DRI drivers varies with the driver XMesa/GLX (on Xlib) implements OpenGL 2.1 OSMesa (off-screen) implements OpenGL 2.1 Windows/Win32 implements OpenGL 2.1 Glide (3dfx Voodoo1/2) implements OpenGL 1.3 SVGA unsupported Wind River UGL unsupported DJGPP unsupported GGI unsupported BeOS unsupported Allegro unsupported D3D unsupported
2008-08-06Don't pull in pthread.buildlink3.mk on NetBSD, since we have determined thatdsainty1-2/+2
we'll be using either libc stubs or devel/pthread-stublib, depending on age. Tested on NetBSD 4.99. No PKGREVISION bump, there should be no functional change. Suggested by bjs@
2008-07-30Use new-fangled :Q technology instead of yesteryear's quote characters.dsainty2-7/+22
Use the PTHREAD_XXX variables to set up the linking, otherwise libGL.so isn't linked with libpthread.so under Linux, and so things that link with libGL.so but don't themselves use threads are likely to not link themselves, failing to resolve pthread_getspecific, pthread_once, pthread_key_create and pthread_setspecific. There should be no change on NetBSD platforms, but there is change on other platforms, notably Linux. Bump PKGREVISION to communicate that. Should fix PR36207, does fix Linux build of glx-utils, and allows mission critical software like "bzflag" to build under Linux.
2008-07-29Since PKG_SUPPORTED_OPTIONS is conditionally added to, initialise ittnn1-1/+2
to empty first. Should fix PR pkg/39246.
2008-07-28Change options.mk to build plain 'pkgsrc' target for libOSMesa.bjs2-5/+7
The assembler dispatch code is only for indirect or direct rendering, anyway--I apologize for not noticing this sooner. This should fix the recent non-dri build problems people were having. Thanks to Matthias Scheler and others for reporting this problem to me. NOTE: Direct/indirect rendering support is still default for i386 and amd64 on NetBSD 4+, but only if you're using modular Xorg.
2008-07-27Update to Mesa-7.0.4 (the head of the 7.0 branch in GIT). Basically,bjs17-1134/+114
lots of bug fixes; the intent of my update was mostly to fix problems with i915 and r300 dri drivers and to provide the best environment possible for the xorg server update to the 1.4 branch. Morever, many of our patches from pkgsrc, i.e. those removed in this commit, are now included upstream. Additionally, MesaDemos now builds. NOTES: - MesaLib now requires xf86driproto 2.0.4, as earlier versions install dri_interface.h, which is not correct. - glu now exports its symbols via libtool's -export-symfile. The symfile is generated pre-build--see glu/Makefile. - glxinfo/glxgears do not seem to need to be linked to libpthread, and this seems to cause problems on NetBSD with the new drm code. If I am wrong about this, please let me know. The only program that seems to need libpthread is glthreads in MesaDemos.
2008-07-18Update TODO, removing items that are no longer of concern.bjs1-17/+1
2008-07-16Remove ${PLIST.dri}lib/dri/i915tex_dri.la from PLISTabs1-2/+1
2008-07-16libdrm-2.3.1 does not include the TTM interface, which will cause thebjs2-4/+4
build of the i915tex driver to break (this driver was never supported on any OS aside from linux, anyway). Bump PKGREVISION.
2008-06-27graphics/MesaLib/hacks.mk: revert to rev 1.8tnn4-5/+18
graphics/MesaLib/patches/patch-aw: export glXGetProcAddressARB graphics/MesaLib/Makefile: bump PKGREVISION graphics/glu/Makefile: bump PKGREVISION Please help out by giving this change as extensive testing as possible before 2008Q2 is branched.
2008-06-26This is supposed to have a CONFIG_NAME of pkgsrc-x86_64, not pkgsrc-dri-x86_64.bjs1-2/+2
2008-06-25Backout last change. It's insufficient as already pointed out bytron1-6/+3
Tobias Nygren and breaks the build of the "gle" package on XFree86 systems again.
2008-06-24We want to use -fvisibility=hidden _unless_ we're building graphics/glut,bjs1-3/+6
not the other way around. - This is the way that mesa expects things to be. - Not doing this for MesaLib (at least for dri on NetBSD/amd64) will result in reloc-related errors at link-time. Building on NetBSD/amd64 was broken without this.
2008-06-05Fix broken hack which instead of removing the "-fvisibility=hidden"tron2-4/+4
compiler flag actually added it. This causes all the link failures in packages using the "glut" library (e.g. "gle"). Bump package revision because of this fix. Error analysis provided by Raymond Meyer on "pkgsrc-users" mailing list.
2008-06-03Don't offer "dri" as an option on systems which use XFree86 because ittron1-4/+5
breaks the build. This fixes PR pkg/38676 by Roland Sieker.
2008-06-03Add Linux to DRI platforms. Add a patch to fix compilation under Linux. ↵dsainty4-6/+27
Bump PKGREVISION.
2008-05-31disable asm targets for Darwin too, breaks build for unknown reasons.tnn1-4/+3
Reported by Mark E. Perkins on pkgsrc-users@
2008-05-30PR pkg/38795: Hasso Tepper: Add dri option to MesaLib for DragonFlytnn1-2/+3
2008-05-28Fix embarassing lack of '3' in a conditional.bjs1-2/+2
2008-05-21Add comment about not using -ffast-math pending further testing.bjs1-3/+5
It seems to cause instability, at least for me on NetBSD/amd64 (4.99.63).
2008-05-21Add new round of distribution patches (update code to head of Mesa_7_0_branch).bjs2-8/+15
While here, ensure that all instances of pthread_getspecific are replaced with __libc_thr_getspecific on NetBSD (fixes linking issues with compiz, at least).
2008-05-15Use the proper way to pass the necessary arguments for the Mac OS X Leopardtron1-2/+2
link bug workaround to the linker.
2008-05-01Remove second -o argument in libOSMesa link command (which was obviouslybjs3-6/+9
my mistake). Set MAKE_JOBS_SAFE=no when building libOSMesa because it breaks the build. Non-dri builds should work now.
2008-04-30Remove IGNORE_CCACHE, this was just me debugging. Thanks to wiz@.bjs1-3/+1
2008-04-30Mesabjs3-8/+22
2008-04-27The "pkgsrc-i386" target doesn't seem to work on SunOS, so for now fall backtnn1-3/+5
to the "pkgsrc" target which is intended to be portable.
2008-04-25Build dri by default on i386/amd64 NetBSD >=4.0. It is important we seebjs1-1/+11
what kind of lossage occurs before the next release branch, and this is the best way to do it. NOTE: The X server should probably be upgraded to the 1.4 branch now, as the current (1.3.0.0) server uses Mesa 6.5.3 (a development release whose time has long since passed).
2008-04-25Add some SUBST magic for NetBSD to change the name of the functionbjs2-2/+19
called in the x86/x86_64 assembler dispatch routine to __thr_getspecific to avoid an unresolved symbol error from ld at link-time. This is a weak alias in libc and a strong alias in libpthread, so everything should work fine. This could probably be fixed in a better way, but for now, I think "it works" is a plus. Bump rev.
2008-04-25PR pkg/38506: Rob Quinn: Work around Solaris /bin/sh brain damage.tnn2-5/+5
2008-04-24Two BUILDLINK_ABI_DEPENDS lines are one too many.tnn1-3/+2
2008-04-24remove stale patchtnn1-18/+0
2008-04-24Welcome to Mesa-7.0.3.bjs39-374/+1329
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.
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).