summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
AgeCommit message (Collapse)AuthorFilesLines
2004-03-29Match the template builtin.mk file in bsd.builtin.mk, and make the twojlam1-9/+9
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links) use the new format correctly.
2004-03-15Move the definitions of MESA_REQD and _MESA_REQD to Mesa/version.mk andjlam2-36/+8
modify {MesaLib,glu}/{buildlink3,builtin}.mk accordingly. Also add the dependency on {MesaLib,glu}>=${_MESA_REQD} to the builtin.mk files so that we correctly check the built-in Mesa version against the dependency requirements.
2004-03-15Fix pasto: s/gcc/MesaLib/g. No functional change.jlam1-3/+3
2004-03-10Split out the code that deals with checking whether the software isjlam2-117/+96
built-in or not into a separate builtin.mk file. The code to deal checking for built-in software is much simpler to deal with in pkgsrc. The buildlink3.mk file for a package will be of the usual format regardless of the package, which makes it simpler for packagers to update a package. The builtin.mk file for a package must define a single yes/no variable USE_BUILTIN.<pkg> that is used by bsd.buildlink3.mk to decide whether to use the built-in software or to use the pkgsrc software.
2004-03-03Work around what seems to be an optimization bug in gcc3 by transformingsnj1-2/+6
-O[23] out of existence.
2004-02-18Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in thejlam1-16/+18
environment overrides all other settings.
2004-02-12Create a new variable PREFER_NATIVE that has the opposite semanticsjlam1-3/+13
as PREFER_PKGSRC. Preferences are determined by the most specific instance of the package in either PREFER_PKGSRC or PREFER_NATIVE. If a package is specified in neither or in both variables, then PREFER_PKGSRC has precedence over PREFER_NATIVE.
2004-02-12Reorganize code so that any dependencies are checked as part of decidingjlam1-29/+30
whether the software is built-in or not. This facilitates implementing the forthcoming PKGSRC_NATIVE variable.
2004-02-11Turn MESA_REQD back into a public variable, and make it take a list ofjlam1-2/+28
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-10Don't pass the -DGLX_GLXEXT_LEGACY to the compiler if we're buildingjlam1-1/+3
another bit of the Mesa package.
2004-02-10Require at least the version of Mesa that's installed by the base systemjlam1-1/+2
if it's used.
2004-02-10Privatise MESA_REQD.jlam1-3/+3
2004-02-10The pkgsrc version of Mesa that last bumped shlib majors was 6.0.jlam1-2/+2
2004-02-06If we're passing through MAKEFLAGS variables whose values may containjlam1-3/+3
spaces, use the :Q modifier instead of double-quoting the value. This avoids breakage when executing the just-in-time su targets.
2004-02-05Make PREFER_PKGSRC just yes/no or a list of packages. This makes itjlam1-5/+3
simpler to understand.
2004-02-05Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use itsjlam1-5/+4
value outside of buildlink-related files.
2004-02-05Support a new global variable:jlam1-1/+9
BUILDLINK_PREFER_PKGSRC This variable determines whether or not to prefer the pkgsrc versions of software that is also present in the base system. This variable is multi-state: defined, or "yes" always prefer the pkgsrc versions not defined, or "no" only use the pkgsrc versions if needed by dependency requirements This can also take a list of packages for which to prefer the pkgsrc-installed software. The package names may be found by consulting the value added to BUILDLINK_PACKAGES in the buildlink[23].mk files for that package.
2004-01-25version.mk no longer defines MESA_VERSION. Put the version number of thejlam1-4/+2
required package in its place. Thanks to Jan Schaumann for diagnosing the problem.
2004-01-24Support BUILDLINK_DEPENDS.<pkg> being a list of values.jlam1-5/+9
2004-01-24If we use the XFree86-supplied GL and GLU libraries, then we are using X11.jlam1-1/+2
2004-01-22Mesa-6.0 packages now use LIBTOOL and finally buildadam9-22/+149
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2004-01-20Re-add checksum for MesaDemos, that somehow got lost along the way.jschauma1-1/+3
Noted by Takahiro Kambe.
2004-01-20Update Mesa and friends to version 6.0:jschauma8-71/+78
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-7/+5
2004-01-05Use S/+$// instead of C/\+$// to save a backslash. Very highlyjlam1-2/+2
recommended by seb :)
2004-01-05Sow BUILDLINK_USE_BUILTIN.<pkg> and reap _NEED_<PKG> variables.jlam1-19/+20
2004-01-04Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.jlam1-4/+4
2003-11-23Remove references to non-existent files.salo1-2/+1
From Soren Jacobsen via PR pkg/23537.
2003-11-18Finally update Mesa and friends after the distfile changed on the websitejschauma5-20/+36
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 ↵jschauma3-2/+17
'-fstrict-aliasing', as the code contains unsafe use of aliased pointers. As suggested by tls@ in PR pkg/23381, closing said PR.
2003-09-30Match the buildlink3.mk guidelines set out in revision 1.22 ofjlam1-5/+4
bsd.buildlink3.mk.
2003-09-30Conform to latest buildlink3.mk guidelines using *_BUILDLINK3_MK guardsjlam1-11/+19
to protect more parts of buildlink3.mk files against multiple inclusion.
2003-09-29Update Mesa and friends to latest version 5.0.2:jschauma5-15/+19
- fixed texgen problem causing texcoord's Q to be zero (stex3d) - default GL_TEXTURE_COMPARE_MODE_ARB was wrong - GL_CURRENT_MATRIX_NV query was wrong - GL_CURRENT_MATRIX_STACK_DEPTH_NV query was off by one - GL_LIST_MODE query wasn't correct - GL_FOG_COORDINATE_SOURCE_EXT query wasn't supported - GL_SECONDARY_COLOR_ARRAY_SIZE_EXT query returned wrong value - blended, wide lines didn't always work correctly - glVertexAttrib4svNV w component was always 1 - fixed bug in GL_IBM_rasterpos_clip (missing return) - GL_DEPTH_TEXTURE_MODE = GL_ALPHA didn't work correctly - a few Solaris compilation fixes - fixed glClear() problem for DRI drivers (non-existant stencil, etc) - fixed int/REAL mixup in GLU NURBS curve evaluator (Eric Cazeaux) - fixed delete [] bug in SI GLU (bug 721765) (Diego Santa Cruz) - glFog() didn't clamp fog colors - fixed bad float/int conversion for GL_TEXTURE_PRIORITY in the gl[Get]TexParameteri[v] functions - fixed invalid memory references in glTexGen functions (bug 781602) - integer-valued color arrays weren't handled correctly - glDrawPixels(GL_DEPTH_COMPONENT) with glPixelZoom didn't work - GL_EXT_texture_lod_bias is part of 1.4, overlooked in 5.0.1 - build GLUT with -fexceptions so C++ apps propogate exceptions While here, fix PR pkg/23003 by moving the version number to version.mk and including that in the buildlink.
2003-09-28Rewrite buildlink3.mk files to match the updated buildlink3.mk templatejlam1-8/+9
in bsd.buildlink3.mk: the *_BUILDLINK3_MK multiple inclusion guards are removed and we ensure that things that should be defined only once really are defined only once by using section-specific or variable-specific guards.
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-09-14Provide definitions for BUILDLINK_PREFIX.<pkg> when the dependency may bejlam1-1/+3
satisfied by a base system (X11R6) component.
2003-09-13Need to use :C instead of :S to get the "pop" action to work properly.jlam1-2/+2
2003-09-07This is Mesa/GLX, not freetype2.jlam1-2/+2
2003-09-05Move BUILDLINK_CHECK_BUILTIN.<pkg> documentation into bsd.buildlink3.mk.jlam1-6/+1
2003-09-02Add some buildlink3.mk files needed by x11-links>=0.13.jlam1-0/+75
2003-08-26Finally remove support of Mesa 3.4.1 completely as discussed at lengthjschauma3-87/+6
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-30kill leading whitespace, remove comment about license (we alreadygrant1-5/+2
track licenses, and it's GPL'd anyway).
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-07-15Hopefully finally get this right:jschauma1-2/+4
Default Mesa Version should be 3.4.2, so that people who don't care and have GL in XF don't need to build the whole thing. If MESA_REQD is set to 5.0.1 (as, for example, by MesaDemos), require version 5.0.1 of MesaLib, gl* etc. If libGL.so.5 is found to be present on the system, force MESA_REQD to be 5.0.1 to avoid accidental downgrades if MESA_REQD was not specified before- hand. Changes reviewed by tron@ (thanks!).
2003-07-07If MESA_REQD is not set, but we detect a 5.x library, set MESA_REQD tojschauma1-2/+3
the current default of 5.0.1 (rather than 5.0) so that distinfo remains correct.
2003-07-04Readd checksums for version 3.4.2 destroyed by previous commit.tron1-1/+3
2003-07-03Oops, put check for MESA_REQD below where it will be set definitely if unsetjschauma1-3/+3
before.
2003-07-03If MESA_REQD is not set to 5.x and we find libGL.so.5, set MESA_REQD tojschauma1-1/+7
5.0. If MESA_REQD is set to 5.x, pass -DGLX_GLXEXT_LEGACY to CPPFLAGS, to avoid breakage if a package looks for glx_ext.h.
2003-05-21do not use the included sparc asm on sparc64, as it doesn't build.grant1-1/+6