summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
AgeCommit message (Collapse)AuthorFilesLines
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-11-08Create template config file for Interix 3.x.tv5-7/+54
As part of this, do something special for xmesaP.h: Because XShm.h does exist on the Interix platform, and Mesa binaries were already buildable, preserve the ABI by including XShm.h there and keeping the XShmSegmentInfo field (with -DUSE_XSHM_HDRONLY) -- thus avoiding both flag day and revbump sweep. However, all XShm-using code remains turned off (no -DUSE_XSHM) so that libGL will work. Bump PKGREVISION of MesaLib only.
2005-07-13Ensure that the PTHREAD_LDFLAGS gets passed to the linker.kristerw2-4/+4
2005-07-12Make this pkg compile on DragonFly by applying a patch sent tokristerw2-4/+13
tech-pkg by Joerg Sonnenberger.
2005-07-10no need to force the latest version of MesaLib for pthread changegrant2-4/+3
where IGNORE_RECOMMENDED=YES. set BUILDLINK_RECOMMENDED>=6.2.1nb2.
2005-06-17Enable the pthread-based thread-safety code in pkgsrc MesaLib.jlam4-8/+14
Bump the PKGREVISION to 2. This fixes PR pkg/30537.
2005-06-07Make the glut library link against required libraries. Bumpminskim2-6/+6
PKGREVISION of glut.
2005-06-07Make the GLU library link against libGL. Bump PKGREVISION of glu.minskim2-6/+7
2005-06-05Link against required libraries explicitly, so that dependency_libs inminskim4-14/+20
.la files is set correctly. Bump PKGREVISION.
2005-06-03Coalesce the common makefile code in the builtin.mk file that inspectjlam2-25/+4
the X11 distribution using imake into mk/buildlink3/imake-check.mk. imake-check.mk calls out to a helper shell script mk/buildlink3/imake-check that generates the required Imakefiles and runs imake. Remove the now extraneous builtin-imake.mk files as the builtin.mk files can now contain the name of the imake symbol to check.
2005-06-03Only check for the existence of the first word of ${IMAKE} since it mayjlam1-2/+3
contain a command plus arguments. We use the standard idiom to extract the first word of a list stored in a make variable: VAR_CMD= ${VAR:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//} XXX This can be replaced with a more succinct use of variable modifiers XXX when we update the bootstrap bmake to match the latest NetBSD make XXX sources, i.e.: XXX XXX VAR_CMD= ${VAR:[1]}
2005-06-03Don't require a read-write pkgsrc tree when invoking imake. We avoidjlam1-2/+4
this requirement by using TMPDIR as the read-write location demanded by using imake.
2005-06-01Use IMAKE_MAKE instead of MAKE to process the makefile generated by imake.jlam1-2/+2
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam2-40/+79
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-24Add RMD160 digestsagc1-1/+3
2005-02-24Fix the last commit which didn't record the correct rpath for the X11veego2-4/+4
libraries due too the usage of two -rpath options for libtool: libtool: link: warning: ignoring multiple `-rpath's for a libtool library According to the gnu libtool page you have to use -R: -R libdir If output-file is a program, add libdir to its run-time path. If output-file is a library, add -Rlibdir to its dependency_libs, so that, whenever the library is linked into a program, libdir will be added to its run-time path.
2005-02-23libglut needs symbols from libXi, so explicitly link against it.grant2-6/+8
fixes unresolved symbols at runtime on Solaris. bump PKGREVISION of glut.
2005-01-04Changes 6.2.1:adam3-14/+14
Bug fixes: - don't apply regular fog or color sum when using a fragment program - glProgramEnvParameter4fARB always generated an error on GL_FRAGMENT_PROGRAM_ARB (fdo bug 1645) - glVertexAttrib3svNV and glVertexAttrib3svARB were broken - fixed width/height mix-up in glSeparableFilter2D() - fixed regression in glCopyPixels + convolution - glReadPixels from a clipped front color buffer didn't always work - glTexImage didn't accept GL_RED/GREEN/BLUE as the format - Attempting queries/accesses of VBO 0 weren't detected as errors - paletted textures failed if the palette had fewer that 256 entries Changes: - fixed a bunch of compiler warnings found with gcc 3.4 - bug reports should to go bugzilla.freedesktop.org
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-3/+1
buildink3.mk of gcc* packages is not included.
2004-10-27improve performance for local displays by enabling the XShm extensiondrochner2-3/+4
(I did measurements using pkgsrc/time/glclock some weeks ago; can't find the numbers anymore. There was a significant improvement. The result was still worse than the Mesa-5.x which comes with xfree86, which doesn't deploy xshm as built in our tree.)
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:adam10-118/+135
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-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv2-2/+4
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-09-22Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.jlam1-13/+1
All library names listed by *.la files no longer need to be listed in the PLIST, e.g., instead of: lib/libfoo.a lib/libfoo.la lib/libfoo.so lib/libfoo.so.0 lib/libfoo.so.0.1 one simply needs: lib/libfoo.la and bsd.pkg.mk will automatically ensure that the additional library names are listed in the installed package +CONTENTS file. Also make LIBTOOLIZE_PLIST default to "yes".
2004-08-28Use the new BUILDLINK_TRANSFORM commands to more precisely state thejlam1-2/+2
intended transformation: use "rm" to remove an option, "rmdir" to remove all options containing a path starting with a given directory name, and "rename" to rename options to something else.
2004-07-06Unused.wiz1-41/+0
2004-04-17Translate -lMesaGL to -lGL. Suggested by jlam over a month ago.snj1-1/+3
2004-04-09Changes 6.0.1:adam7-41/+40
New: - upgraded glext.h to version 22 - new build targets (Dan Schikore) - new linux-x86-opteron build target (Heath Feather) Bug fixes: - glBindProgramARB didn't update all necessary state - fixed build problems on OpenBSD - omit CVS directories from tarballs - glGetTexImage(GL_COLOR_INDEX) was broken - fixed an infinite loop in t&l module - silenced some valgrind warnings about using unitialized memory - fixed some compilation/link glitches on IRIX (Mike Stephens) - glBindProgram wasn't getting compiled into display lists - GLX_FBCONFIG_ID wasn't recognized in glXChooseFBConfig() (bug 888079) - two-sided lighting and vertex program didn't work (bug 887330) - stores to program parameter registers in vertex state programs didn't work. - fixed glOrtho bug found with gcc 3.2.2 (RH9) - glXCreateWindow() wasn't fully implemented (bug 890894) - generic vertex attribute arrays didn't work in display lists - vertex buffer objects' default usage and access fields were wrong - glDrawArrays with start!=0 was broken - fragment program PK2H, UP2H, UP4B and UP4UB instructions were broken - linux-osmesa16-static config didn't work - fixed a few color index rendering problems (bug 910687) - glInterleavedArrays didn't respect GL_CLIENT_ACTIVE_TEXTURE - OSMesa RGB and BGR modes were broken - glProgramStringARB mistakenly required a null-terminated string - fragment program XPD instruction was incorrect - glGetMaterial() didn't work reliably
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