summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
AgeCommit message (Collapse)AuthorFilesLines
2012-10-17Don't enable dri on Solaris 10 and lower.jperkin1-2/+2
2012-10-06Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-09-28Enable dri by default on Solaris. The 'vmware' driver from modular-xorg isjperkin1-2/+2
still non-functional, but this at least gets us further along.
2012-09-12Expose glXGetProcAddress.dsainty3-6/+20
The consequences of not making this patch are platform dependent - some build chains will still expose the symbols, but some will not. The API expects them to be exposed. Fixes Cairo 1.12.2 build on Ubuntu 11.10 and CentOS 6.3, presumably due to later versions of gcc (4.6.1 in the Ubuntu case). Bump PKGREVISION.
2012-05-09Move libpciaccess to dri option section.wiz2-3/+3
2012-05-08Needs libpciaccess now when pulling in libdrm. Bump PKGREVISION.wiz2-3/+4
2012-04-08Assume that native MesaLib is built with dri if builin dri exists.obache1-1/+5
(required for OpenBSD-5.0).
2012-03-19Drop imake-check logic from X11 components' builtin.mk.joerg1-5/+4
Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge. Always install man pages, not cat pages when using imake. Unify the various imake PLIST variables in preparation for dropping. Adjust xbattbar for the new expectations.
2012-03-13Unlock the 'dri' option for SunOS, since x11/libdrm now builds there.fhajny2-4/+5
Bump PKGREVISION.
2012-02-16Explicitly tell CPP that it should parse stdin as C-header when building ↵hans2-4/+4
glu.exports.
2012-01-23Disable integrated assembler for clang and force default visiblity tojoerg1-1/+7
hidden, otherwise some assembler relocations don't work on AMD64.
2011-08-21Ensure PTHREAD_STUBLIB is set in MAKE_ENV not just PKGSRC_MAKE_ENV - fixes ↵abs1-1/+2
clean env build on Linux
2010-05-05The BUILDLINK API dependency should be for xf86driproto notreed2-3/+5
driproto. I noticed this when it built with old xf86driproto that had conflicting file. So add a CONFLICTS too.
2010-04-16revision bump for libdrm update.tnn1-2/+2
2010-03-27another sparc64-only build fix; define memory barrier macro in sis_context.htnn2-6/+8
2010-03-27fix a wrong #include in patch-aa which caused sparc64 build to fail.tnn2-6/+6
2009-09-02Look for libGL.so, not any particular libGL.so.<X>, on NetBSD.wiz3-3/+20
Bump PKGREVISION. From mrg@
2009-08-25- Fix MESA_TINY missed in last version bump.hasso3-4/+12
- Add INSTALL_LIB_DIR and INSTALL_INC_DIR to fix *.pc files. This should address issues mentioned in the PR 41895. While there make dri default for DragonFly. Bump PKGREVISION.
2009-08-08As suggested by Tom Spindler, remove the libdrm version requirementdrochner2-3/+3
from dri.mk where it is pulled in from bl3.mk. The minimum version is only necessary if a new MesaLib is built, we don't need to force users of older ones to update libdrm.
2009-08-08Fix symbol handling in glu. Patch from upstream via Jörn Clausenwiz2-9/+18
in PR 41613. Bump glu PKGREVISION.
2009-07-29the dri module wants intel_bufmgr.h which we got with libdrm-2.4.9drochner1-1/+2
2009-07-08Update to 7.4.4. Make software ratserizer actually work. Add one patch fromhasso7-85/+55
upstream repo to fix null pointer dereference. Changes in 7.4.4: * Fixed i965/i915 segfault in screen destruction (bug 22408) Changes in 7.4.3: * Fixed texture object reference counting bug (bug 21756) * Allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT point (SF bug 2793846) * Added missing glGet case for GL_VERTEX_ARRAY_BINDING_APPLE * Fixed some OSMesa build issues * Fixed a vertex buffer object crash * Fixed broken glTexImage3D() when image type = GL_BITMAP * Fixed some GLSL preprocessor bugs * Fixed framebuffer mem leak in i945/i965 DRI drivers * Fixed texture coordinate repeat bug in swrast (bug 21872) * Fixed incorrect viewport clamping (lower bound is zero, not one) * GLX fix for glean's makeCurrent test case
2009-06-19Attempt to make it build cleanly and to solve PLIST problems without drihasso4-5/+65
option (default for most of platforms). Tested on DragonFly only. Bump PKGREVISION.
2009-06-14Convert @exec/@unexec to @pkgdir or drop it.joerg1-3/+1
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2009-06-11patch-cc: libtoolize src/mesa/drivers/x11/Makefile.tnn2-1/+40
Should fix build with PKG_OPTION dri disabled. (PR pkg/41572)
2009-06-10Use correct macros for installation, from FUKAUMI Naoki in PR 41563.wiz5-8/+39
While here, fix .pc files (were missing -Wl,-R). Bump PKGREVISION.
2009-06-10Fix "freeze on exit" issue with many GL games. Bump PKGREVISION.hasso3-2/+28
2009-06-05Update Mesa and friends to 7.4.2.wiz22-354/+274
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.
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg2-19/+7
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-02-28Correct capitalization in FreeBSD case.bjs1-2/+2
2009-02-03Reset BUILTIN_PKG after inclution of pthread.builtin.mk.obache1-1/+2
workaround of PR 40254.
2008-10-26Add the following patch from upstream as a new distributionbjs4-8/+11
patch and bump MesaLib's PKGREVISION. While here, make a few small changes to appease pkglint. commit 2b8d8989fb6f9c36baf166fc715182a1407ebadb Author: Ian Romanick <ian.d.romanick@intel.com> Date: Sun Sep 28 20:31:46 2008 -0700 Use 3Dnow! x86-64 routines only on processors that support 3Dnow! Added an x86-64 CPUID function and use it to detect 3Dnow! [...] This fixes long standing bug #8724.
2008-10-21Don't force using libm functions on Linux; most of the developersbjs1-2/+1
use Linux, and they'd know better than I what's apporpriate.
2008-10-21Sync MesaLib with upstream mesa_7_0_branch. While here, patchbjs3-3/+22
the r300 dri driver so that the __driConfigOptions symbol is visible. This is necessary for xdriinfo and driconf to work. Bump MesaLib's PKGREVISION.
2008-10-05Merge cube-native-xorg, so that pkgsrc-current can be used with the nativecube1-6/+2
X.Org found in NetBSD-current. Thanks a lot to all who helped, especially Matthias Scheler who did repeated tests on Mac OS X and older versions of NetBSD to make sure the support for those platforms wouldn't be broken (or at least, not fatally, as I would still expect a few hiccups here and there, because there is only so much one can test in such limited time). On the infrastructure side, this branch brings pkgconfig-builtin.mk, in order to write very easily new builtin.mk files. It can actually handle more than just pkgconfig files, but it will provide a version if it finds such a file. x11.builtin.mk has also been made more useful and now all existing (and future!) native-X11-related builtin.mk files should include it.
2008-09-18Add Makefile.version and glx-config.mk so that x11/modular-xorg-serverbjs2-53/+61
can share this information in lieu of us duplicating it by hand.
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