summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
AgeCommit message (Collapse)AuthorFilesLines
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).
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.