summaryrefslogtreecommitdiff
path: root/graphics/glu/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2015-04-25Recursive revbump following MesaLib update, categories g through n.tnn1-2/+2
2015-04-18Move patch-src_glu_sgi_libtess_sweep.c from MesaLib to here since thistnn1-1/+2
package is built independently now. Bump PKGREVISON. The commit message in MesaLib read: date: 2015-01-29 23:35:43 +0100; author: nat; state: Exp; Fix segfaults and crashing with applications that use libGLU.
2015-04-02Update to glu-9.0.0.tnn1-28/+14
This release spun off glu from Mesa. glu is now shipped as an independent package.
2015-01-29Fix segfaults and crashing for applications that use libGLU.nat1-1/+2
Bump PKGREVISION. This commit was approved by wiz@
2013-05-16upgrade to glu-7.11.2richard1-15/+17
2009-08-25Bump PKGREVISION to fix pkg-config files as noted by obache@ in the PR 41895.hasso1-2/+2
2009-08-08Fix symbol handling in glu. Patch from upstream via Jörn Clausenwiz1-1/+4
in PR 41613. Bump glu PKGREVISION.
2009-07-08Update to 7.4.4. Make software ratserizer actually work. Add one patch fromhasso1-2/+1
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-10Fix .pc file. Bump PKGREVISION.wiz1-1/+8
2008-07-27Update to Mesa-7.0.4 (the head of the 7.0 branch in GIT). Basically,bjs1-2/+5
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-06-27graphics/MesaLib/hacks.mk: revert to rev 1.8tnn1-1/+2
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-04-24Welcome to Mesa-7.0.3.bjs1-13/+5
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-08-13As discussed on tech-pkg@ revert for now the last updates of the Mesa packages.seb1-2/+2
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:adam1-2/+2
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
2006-11-03DESTDIR support.joerg1-3/+3
2006-08-01Split Mesa/Makefile.common into Makefile.common and Makefile.lib.jlam1-5/+3
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-05-08Move definition of USE_LANGUAGES before inclusion of mk/compiler.mk.hira1-3/+3
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-2/+2
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-02-096.4.2 February 2, 2006adam1-2/+1
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.joerg1-1/+2
2006-01-19Changes 6.4:adam1-2/+1
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-06-07Make the GLU library link against libGL. Bump PKGREVISION of glu.minskim1-1/+2
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-3/+4
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-23whitespace fixgrant1-3/+3
2004-10-31Move PKG_INSTALLATION_TYPES to Makefile.common so that it is definedminskim1-3/+1
before including bsd.prefs.mk.
2004-10-29Define USE_BUILDLINK3 before including compiler.mk. Otherwise,minskim1-2/+1
buildink3.mk of gcc* packages is not included.
2004-10-27Mesa has optimisations for SunPro so use them when SPARC_TARGET_ARCHgrant1-3/+1
is set appropriately (sparcv7, sparcv8, sparcv9).
2004-10-26Changes 6.2:adam1-4/+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)
2004-10-13INSTALL_DATA -> INSTALL_LIB.tv1-2/+2
2004-10-07Extra PKGREVISION bump to cover the libtool/compiler-wrapper problems.tv1-2/+2
Since dependencies were actually failing to build, they fortunately don't require PKGREVISION bumps themselves.
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-1/+2
in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
2004-02-21s/tesselation/tessellation/snj1-2/+2
2004-02-11Turn MESA_REQD back into a public variable, and make it take a list ofjlam1-2/+2
values that MesaLib/buildlink3.mk converts into a single _MESA_REQD that is the highest version required. If including the Mesa/buildlink3.mk file, then require the same version of Mesa as required by glut.
2004-02-10This package requires both a C and a C++ compiler.jlam1-1/+2
2004-02-10Require at least the same version of MesaLib to build.jlam1-1/+2
2004-01-22Mesa-6.0 packages now use LIBTOOL and finally buildadam1-12/+11
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2004-01-20Update Mesa and friends to version 6.0:jschauma1-4/+6
Changes since 5.2: New: - full OpenGL 1.5 support - updated GL/glext.h file to version 21 Changes: - changed max framebuffer size to 4Kx4K (MAX_WIDTH/HEIGHT in config.h) Bug fixes: - fixed bug in UNCLAMPED_FLOAT_TO_UBYTE macro; solves a color clamping issue - updated suno5-gcc configs - glColor3 functions sometimes resulted in undefined alpha values - fixed FP divide by zero error seen on VMS with xlockmore, others - fixed vertex/fragment program debug problem (bug 873011) - building on AIX with gcc works now - glDeleteProgramsARB failed for ARB fragment programs (bug 876160) - glDrawRangeElements tried to modify potentially read-only storage - updated files for building on Windows Changes since 5.0.2: New features: - reorganized directory tree - GL_ARB_vertex/fragment_program extensions (Michal Krol & Karl Rasche) - GL_ATI_texture_env_combine3 extension (Ian Romanick) - GL_SGI_texture_color_table extension (Eric Plante) - GL_NV_fragment_program extension - GL_NV_light_max_exponent extension - GL_EXT_texture_rectangle (identical to GL_NV_texture_rectangle) - GL_ARB_occlusion_query extension - GL_ARB_point_sprite extension - GL_ARB_texture_non_power_of_two extension - GL_IBM_multimode_draw_arrays extension - GL_EXT_texture_mirror_clamp extension (Ian Romanick) - GL_ARB_vertex_buffer_object extension - new X86 feature detection code (Petr Sebor) - less memory used for display lists and vertex buffers - demo of per-pixel lighting with a fragment program (demos/fplight.c) - new version (18) of glext.h header - new spriteblast.c demo of GL_ARB_point_sprite - faster glDrawPixels in X11 driver in some cases (see RELNOTES-5.1) - faster glCopyPixels in X11 driver in some cases (see RELNOTES-5.1) Bug fixes: - really enable OpenGL 1.4 features in DOS driver. - fixed issues in glDrawPixels and glCopyPixels for very wide images - glPixelMapf/ui/usv()'s size parameter is GLsizei, not GLint - fixed some texgen bugs reported by Daniel Borca - fixed wglMakeCurrent(NULL, NULL) bug (#835861) - fixed glTexSubImage3D z-offset bug (Cedric Gautier) - fixed RGBA blend enable bug (Ville Syrjala) - glAccum is supposed to be a no-op in selection/feedback mode - fixed texgen bug #597589 (John Popplewell) Changes: - dropped API trace feature (src/Trace/) - documentation overhaul. merged with website content. more html. - glxgears.c demo updated to use GLX swap rate extensions - glTexImage1/2/3D now allows width/height/depth = 0 - disable SPARC asm code on Linux (bug 852204)
2004-01-05bl3ifyjlam1-8/+6
2003-11-28As suggested by Ron Roskens in PR pkg/23489 (closing that PR):jschauma1-3/+3
use si-glu sources to build a libGLU that includes GLU Polygon Tessellator functions and use this new functionality in MesaDemos. Bump PKGREVISIONs.
2003-11-18Finally update Mesa and friends after the distfile changed on the websitejschauma1-2/+2
without a version bump. Changes made, according to the website, for libtool/autofoo fixes. Some changes from Ron Roskens: glut depends upon graphics/glu (otherwise its linked against X11R6 libs) MesaDemos: rather than using the pre-built distribution makefiles, use the automake/configure built makefiles which have the build dependencies all setup. This closes PR pkg/23476.
2003-11-09Patch Mesa's Makefile to use '-fno-strict-aliasing' rather than ↵jschauma1-1/+2
'-fstrict-aliasing', as the code contains unsafe use of aliased pointers. As suggested by tls@ in PR pkg/23381, closing said PR.
2003-09-18Specify the category when including other files and when depending on otherjmmv1-2/+2
packages. From PR pkg/21864 by ccatrian at eml.cc.
2003-08-26Finally remove support of Mesa 3.4.1 completely as discussed at lengthjschauma1-18/+1
on tech-pkg@ at various times. This means that regardless of what kind of GL support comes with X11, if a package depends on GL, Mesa 5.0.1 (or higher) will be installed into ${LOCALBASE}. Some troubleshooting after the latest patches by Krister Walfridsson.
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-03-09Update Mesa and friends to version 5.0, using patches provided in PR pkg/19302.jschauma1-1/+10
At the same time, move Mesa and friends to LOCALBASE rather than X11BASE, so that they can be installed regardless of XF version. Introduce MESA_REQD variable that can be set to 5.0, thus allowing systems with XF4 to indicate that the provided version is not good enough. All packages using Mesa, MesaLib, glu or glut will get a PKGREVISION bump over the next few days.
2002-12-07Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate.schmonz1-2/+2
2002-11-18Alter Mesa/GL packages so that they may always be installed ifjlam1-11/+6
X11PREFIX != X11BASE (xpkgwedge is installed). Introduce a new variable MESA_REQD that defaults to "3.4.2" and represents the version of Mesa/GL needed by a package. MESA_REQD is intended to be used by package Makefiles or by buildlink2.mk files. It should now be possible to update this package to the latest release (5.0), and have it work on: * XF86-3.x with or without xpkgwedge * XF86-4.x with xpkgwedge
2002-10-27libGLU is part of Free4 on Solaris too.bouyer1-2/+2