The NetBSD Project

CVS log for pkgsrc/graphics/Mesa/Makefile.common

[BACK] Up to [cvs.netbsd.org] / pkgsrc / graphics / Mesa

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.71 / (download) - annotate - [select for diffs], Mon Feb 28 14:52:49 2011 UTC (14 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, HEAD
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

Reset maintainer for retired developers.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Sep 18 21:10:28 2008 UTC (3 years, 8 months ago) by bjs
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3
Changes since 1.69: +5 -13 lines
Diff to previous 1.69 (colored)

Add Makefile.version and glx-config.mk so that x11/modular-xorg-server
can share this information in lieu of us duplicating it by hand.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Aug 23 02:51:19 2008 UTC (3 years, 9 months ago) by dsainty
Branch: MAIN
CVS Tags: cube-native-xorg-base, cube-native-xorg
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

Set DIST_SUBDIR=Mesa-7.0.4.1 (via MESA_PKGVERSION).

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.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Aug 17 08:25:50 2008 UTC (3 years, 9 months ago) by bjs
Branch: MAIN
Changes since 1.67: +4 -3 lines
Diff to previous 1.67 (colored)


Update to Mesa-7.0.4 proper, which takes us to pkgsrc version
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

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jul 27 00:11:05 2008 UTC (3 years, 9 months ago) by bjs
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)


Add Mesa-${MESA_VERSION} subdirectory to ${MASTER_SITE_LOCAL}
so we can fetch the distfiles!

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jul 27 00:03:42 2008 UTC (3 years, 9 months ago) by bjs
Branch: MAIN
Changes since 1.65: +8 -9 lines
Diff to previous 1.65 (colored)



Update to Mesa-7.0.4 (the head of the 7.0 branch in GIT).  Basically,
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.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Jun 16 15:28:56 2008 UTC (3 years, 11 months ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Manually set the patch level instead of using overly complex syntax
that lintpkgsrc doesn't understand. PR pkg/38715.

Revision 1.64 / (download) - annotate - [select for diffs], Thu May 29 20:54:14 2008 UTC (3 years, 11 months ago) by tnn
Branch: MAIN
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (colored)

Revert previous, sharing the distinfo doesn't work because of the
MESA_PATCHLEVEL junk.

Instead make graphics/glx-utils not track the mesa patchlevel at all.

Revision 1.63 / (download) - annotate - [select for diffs], Thu May 29 19:14:17 2008 UTC (3 years, 11 months ago) by tnn
Branch: MAIN
Changes since 1.62: +1 -2 lines
Diff to previous 1.62 (colored)

update comment

Revision 1.62 / (download) - annotate - [select for diffs], Wed May 21 08:26:19 2008 UTC (4 years ago) by bjs
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)


Update MESA_PATCHFILES, too; without this, the update isn't of much use. ;)

Thanks to dsainty@ for pointing it out.  Obviously I did update this while
testing it, but I did a cvs up -dPAC at some point and lost it.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Apr 30 07:09:48 2008 UTC (4 years ago) by bjs
Branch: MAIN
Changes since 1.60: +8 -3 lines
Diff to previous 1.60 (colored)


The previous commit message was botched; this commit message applies
to graphics/MesaLib as well.

I've added some distribution patches for bug fixes (yes, already, it's
true) and proper DragonFly support (see the sysctl-related changes
in MesaLib/Makefile).  Agressively tracking these patches is the only
way to ensure we squash as many bugs as possible.  No patches in a
given release branch (in this case Mesa_7_0_branch) should ever
merit a bump to BUILDLINK_ABI_DEPENDS.

The head GIT commit ref for patch 002 is:
27b6fa56156673d6e7e6839658bae10de161588b

In the future, I'm going to write some sort of script or something
to manage this, but this will suffice for now.  I may also break
out some of the patch logic into a seperate mk file so that it can
be included by the xorg server, thereby ensuring the sources
are synchronized.

In other news:  I have patches for libdrm to use NetBSD's atomic
ops.  They aren't used in the library proper.  Rather, the
DRM_CAS macro in xf86drm.h now uses atomic_cas_uint.  This is, I believe,
important for proper operation, as this macro is used for context/device
locks in userland.  When I commit the update to libdrm, I will simultaneously
commit a new drm_atomic.h in the kernel.  The atomic ops there now
really do not merit the designation 'atomic'.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Apr 25 20:49:13 2008 UTC (4 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

s/MAKE_JOBS/MAKE_JOBS_SAFE/

Revision 1.59 / (download) - annotate - [select for diffs], Fri Apr 25 20:39:09 2008 UTC (4 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored)

Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Apr 24 07:40:23 2008 UTC (4 years, 1 month ago) by bjs
Branch: MAIN
Changes since 1.57: +11 -9 lines
Diff to previous 1.57 (colored)


Welcome to Mesa-7.0.3.

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.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Aug 13 11:18:29 2007 UTC (4 years, 9 months ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.56: +2 -1 lines
Diff to previous 1.56 (colored)

As discussed on tech-pkg@ revert for now the last updates of the Mesa packages.

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@.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Aug 12 15:14:46 2007 UTC (4 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.55: +2 -3 lines
Diff to previous 1.55 (colored)

Changes 7.0.1:
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

Revision 1.55 / (download) - annotate - [select for diffs], Thu Feb 22 19:26:32 2007 UTC (5 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Nov 6 11:25:54 2006 UTC (5 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.53: +5 -2 lines
Diff to previous 1.53 (colored)

Switch to modular buildlinks.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Oct 9 12:52:35 2006 UTC (5 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.52: +3 -1 lines
Diff to previous 1.52 (colored)

Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so
mark that as "destdir".

Revision 1.52 / (download) - annotate - [select for diffs], Tue Aug 1 21:40:19 2006 UTC (5 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.51: +17 -51 lines
Diff to previous 1.51 (colored)

Split Mesa/Makefile.common into Makefile.common and Makefile.lib.
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.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jul 6 14:12:31 2006 UTC (5 years, 10 months ago) by markd
Branch: MAIN
Changes since 1.50: +3 -1 lines
Diff to previous 1.50 (colored)

Default INSTLIBS to "". Fixes PR pkg/31046

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jul 6 12:18:35 2006 UTC (5 years, 10 months ago) by markd
Branch: MAIN
Changes since 1.49: +2 -12 lines
Diff to previous 1.49 (colored)

Remove some sunos5 BUILD_TARGET's that don't exist (any more).
Also use the pkgsrc BUILD_TARGET for Solaris on x86 - it does a better job
Fixes PR pkg/30581, pkg/30894, pkg/30895, pkg/30684 and pkg/32553.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jun 13 23:48:45 2006 UTC (5 years, 11 months ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.48: +2 -1 lines
Diff to previous 1.48 (colored)

Mention glx-utils distinfo if changing this version.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jun 7 11:43:34 2006 UTC (5 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 (colored)

Mesa needs C++ and makedepend.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Mar 4 21:29:45 2006 UTC (6 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Feb 9 12:27:42 2006 UTC (6 years, 3 months ago) by adam
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)


6.4.2  February 2, 2006
    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)

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jan 19 12:53:17 2006 UTC (6 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored)

Changes 6.4:
    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

Revision 1.44 / (download) - annotate - [select for diffs], Tue Nov 8 16:41:30 2005 UTC (6 years, 6 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored)

Create template config file for Interix 3.x.

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.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 16 06:57:57 2005 UTC (6 years, 11 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.42: +2 -1 lines
Diff to previous 1.42 (colored)

Create directories before installing files into them.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jun 1 18:02:54 2005 UTC (6 years, 11 months ago) by jlam
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
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.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Apr 11 21:46:00 2005 UTC (7 years, 1 month ago) by tv
Branch: MAIN
Changes since 1.40: +1 -2 lines
Diff to previous 1.40 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Mar 17 22:16:39 2005 UTC (7 years, 2 months ago) by sketch
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Use PKGSRC_COMPILER to check for sunpro, as CC_VERSION is not guarunteed to
contain 'Sun' when using that compiler.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Feb 20 13:08:59 2005 UTC (7 years, 3 months ago) by grant
Branch: MAIN
Changes since 1.38: +19 -11 lines
Diff to previous 1.38 (colored)

use the correct target for gcc and sunpro on solaris/x86.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Feb 20 12:43:08 2005 UTC (7 years, 3 months ago) by grant
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

only use the sparc* targets with sunpro where MACHINE_ARCH=sparc.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jan 4 15:49:49 2005 UTC (7 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Changes 6.2.1:
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

Revision 1.36 / (download) - annotate - [select for diffs], Fri Dec 3 15:14:59 2004 UTC (7 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (colored)

Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Oct 31 00:53:10 2004 UTC (7 years, 6 months ago) by minskim
Branch: MAIN
Changes since 1.34: +3 -1 lines
Diff to previous 1.34 (colored)

Move PKG_INSTALLATION_TYPES to Makefile.common so that it is defined
before including bsd.prefs.mk.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Oct 29 01:34:39 2004 UTC (7 years, 6 months ago) by minskim
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

Define USE_BUILDLINK3 before including compiler.mk.  Otherwise,
buildink3.mk of gcc* packages is not included.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Oct 27 10:30:38 2004 UTC (7 years, 6 months ago) by grant
Branch: MAIN
Changes since 1.32: +21 -2 lines
Diff to previous 1.32 (colored)

Mesa has optimisations for SunPro so use them when SPARC_TARGET_ARCH
is set appropriately (sparcv7, sparcv8, sparcv9).

Revision 1.32 / (download) - annotate - [select for diffs], Tue Oct 26 13:55:17 2004 UTC (7 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.31: +4 -5 lines
Diff to previous 1.31 (colored)

Changes 6.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)

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 13 18:00:08 2004 UTC (7 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

INSTALL_DATA -> INSTALL_LIB.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Apr 9 13:05:52 2004 UTC (8 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Changes 6.0.1:
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

Revision 1.29 / (download) - annotate - [select for diffs], Wed Feb 11 02:25:07 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)

Back out previous.  USE_LANGUAGES is set properly by each individual
Mesa sub-package.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Feb 11 01:46:30 2004 UTC (8 years, 3 months ago) by abs
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

USE_LANGUAGES=c c++

Revision 1.27 / (download) - annotate - [select for diffs], Tue Feb 10 23:31:27 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.26: +8 -4 lines
Diff to previous 1.26 (colored)

Be less verbose at pre-install.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Feb 10 23:23:02 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

Don't pass the -DGLX_GLXEXT_LEGACY to the compiler if we're building
another bit of the Mesa package.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Feb 7 23:00:14 2004 UTC (8 years, 3 months ago) by minskim
Branch: MAIN
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

Install the lib directory before installing files into it.
Approved by jlam@.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Feb 7 19:25:27 2004 UTC (8 years, 3 months ago) by minskim
Branch: MAIN
Changes since 1.23: +1 -3 lines
Diff to previous 1.23 (colored)

Remove unnecessary inclusion of bsd.prefs.mk.  This closes PR pkg/24215.
Approved by wiz@.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 23 19:37:18 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

Move the MESA_VERSION definition from version.mk into Makefile.common, and
don't include version.mk from Makefile.common.  version.mk's sole purpose
now is to figure out which version of the OpenGL specification is
implemented by the XFree86-provided Mesa and to deduce a likely version of
Mesa from the OpenGL specification implemented.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 22 12:58:07 2004 UTC (8 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.21: +15 -16 lines
Diff to previous 1.21 (colored)

Mesa-6.0 packages now use LIBTOOL and finally build

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jan 20 02:48:33 2004 UTC (8 years, 4 months ago) by jschauma
Branch: MAIN
Changes since 1.20: +14 -10 lines
Diff to previous 1.20 (colored)

Update Mesa and friends to version 6.0:
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)

Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 18 16:10:55 2003 UTC (8 years, 6 months ago) by jschauma
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.19: +5 -4 lines
Diff to previous 1.19 (colored)

Finally update Mesa and friends after the distfile changed on the website
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.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Sep 29 21:30:28 2003 UTC (8 years, 7 months ago) by jschauma
Branch: MAIN
Changes since 1.18: +9 -2 lines
Diff to previous 1.18 (colored)

Update Mesa and friends to latest version 5.0.2:

- 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.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Aug 26 01:43:51 2003 UTC (8 years, 9 months ago) by jschauma
Branch: MAIN
Changes since 1.17: +2 -12 lines
Diff to previous 1.17 (colored)

Finally remove support of Mesa 3.4.1 completely as discussed at length
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.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 17 21:39:59 2003 UTC (8 years, 10 months ago) by grant
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

s/netbsd.org/NetBSD.org/

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 15 23:31:21 2003 UTC (8 years, 10 months ago) by jschauma
Branch: MAIN
Changes since 1.15: +11 -3 lines
Diff to previous 1.15 (colored)

Hopefully finally get this right:
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!).

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jul 4 16:51:00 2003 UTC (8 years, 10 months ago) by jschauma
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Revert yesterdays commit of setting the default to 3.4.2;  apparently
things are more complex than they seem, so until we've figured out how to
do this properly go back to what used to work (ie default back to 5.0.1)
Problems pointed out by tron@ and abs@.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 3 18:01:15 2003 UTC (8 years, 10 months ago) by jschauma
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Let's be consistent here:
All other Mesa packages assume a default of 3.4.2, so set this here, too.
The reasoning behind this is that 3.4.2 is part of XF, so that users/packages
that don't explicitly need version 5.x don't need to build it.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 23 14:23:18 2003 UTC (8 years, 11 months ago) by jschauma
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

s/packages@/tech-pkg@/g
(Forgot the last time we did this.  Pointed out by Sergey
Svishchev (svs at ropnet dot ru))

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 10 16:37:11 2003 UTC (9 years ago) by drochner
Branch: MAIN
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

update to 5.0.1
mostly a bugfix release
other changes:
- updated GL/gl_mangle.h file
- use glPolygonOffset in gloss demo to avoid z-fighting artifacts
- updated winpos and pointblast demos to use ARB extensions
- disable SPARC normal transformation code

Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 30 04:05:49 2003 UTC (9 years ago) by atatat
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Actually, Mesa's Makefile.common seems like a much better place for
MESA_REQD, and it works much better, too.  :)

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 28 09:42:32 2003 UTC (9 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Ok...Finally get this right. The 5.0 Mesa needs LIBTOOL_OVERRIDE which works
correctly on install now when tested.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 28 07:43:49 2003 UTC (9 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Oops. This applied before, not with the last update to Mesa.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 28 07:37:09 2003 UTC (9 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Needs LIBTOOL_OVERRIDE, not LTCONFIG_OVERRIDE as it turns out

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 24 18:23:25 2003 UTC (9 years, 2 months ago) by jschauma
Branch: MAIN
Changes since 1.6: +5 -2 lines
Diff to previous 1.6 (colored)

Add distinfo for and facilitate using of MESA_REQD=3.4.2;

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 9 19:04:52 2003 UTC (9 years, 2 months ago) by jschauma
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Update Mesa and friends to version 5.0, using patches provided in PR pkg/19302.
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.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Dec 6 17:03:23 2002 UTC (9 years, 5 months ago) by jschauma
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Back out update of Mesa, MesaLib, glu and glut to Mesa version 5.0,
until we figure out how to properly solve the conflict of XF4.x's own
GL.  As discussed with tron.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 5 15:11:48 2002 UTC (9 years, 5 months ago) by jschauma
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Update of Mesa, MesaLib, glu and glut to version 5.0 of Mesa.
Our previous version was 3.4.1, so here goes the changelog (ready to scroll?):

New in 3.4.2:
Bug fixes:
- deleting the currently bound texture could cause bad problems
- using fog could result in random vertex alpha values
- AA triangle rendering could touch pixels outside right window bound
- fixed byteswapping problem in clear_32bit_ximage() function
- fixed bugs in wglUseFontBitmapsA(), by Frank Warmerdam
- fixed memory leak in glXUseXFont()
- fragment sampling in AA triangle function was off by 1/2 pixel
- Windows: reading pixels from framebuffer didn't always work
- glConvolutionFilter2D could segfault or cause FP exception
- fixed segfaults in FX and X drivers when using tex unit 1 but not 0
- GL_NAND logicop didn't work right in RGBA mode
- fixed a memory corruption bug in vertex buffer reset code
- clearing the softwara alpha buffer with scissoring was broken
- fixed a few color index mode fog bugs
- fixed some bad assertions in color index mode
- fixed FX line 'stipple' bug #420091
Changes:
- optimized writing mono-colored pixel spans to X pixmaps
- increased max viewport size to 2048 x 2048

New in 3.5:
New:
- internals of Mesa divided into modular pieces (Keith Whitwell)
- 100% OpenGL 1.2 conformance (passes all conformance tests)
- new AA line algorithm
- GL_EXT_convolution extension
- GL_ARB_imaging subset
- OSMesaCreateContextExt() function
- GL_ARB_texture_env_add extension (same as GL_EXT_texture_env_add)
- GL_MAX_TEXTURE_UNITS_ARB now defaults to eight
- GL_EXT_fog_coord extension (Keith Whitwell)
- GL_EXT_secondary_color extension (Keith Whitwell)
- GL_ARB_texture_env_add extension (same as GL_EXT_texture_env_add)
- GL_SGIX_depth_texture extension
- GL_SGIX_shadow and GL_SGIX_shadow_ambient extensions
- demos/shadowtex.c demo of GL_SGIX_depth_texture and GL_SGIX_shadow
- GL_ARB_texture_env_combine extension
- GL_ARB_texture_env_dot3 extension
- GL_ARB_texture_border_clamp (aka GL_SGIS_texture_border_clamp)
- OSMesaCreateContextExt() function
- libOSMesa.so library, contains the OSMesa driver interface
- GL/glxext.h header file for GLX extensions
- somewhat faster software texturing, fogging, depth testing
- all color-index conformance tests now pass (only 8bpp tested)
- SPARC assembly language TCL optimizations (David Miller)
- GL_SGIS_generate_mipmap extension
Bug Fixes:
- fbiRev and tmuRev were unitialized when using Glide3
- fixed a few color index mode conformance failures; all pass now
- now appling antialiasing coverage to alpha after texturing
- colors weren't getting clamped to [0,1] before color table lookup
- fixed RISC alignment errors caused by COPY_4UBV macro
- drawing wide, flat-shaded lines could cause a segfault
- vertices now snapped to 1/16 pixel to fix rendering of tiny triangles
Changes:
- SGI's Sample Implementation (SI) 1.3 GLU library replaces Mesa GLU
- new libOSMesa.so library, contains the OSMesa driver interface

New in 4.0:
New:
- Mesa 4.0 implements the OpenGL 1.3 specification
- GL_IBM_rasterpos_clip extension
- GL_EXT_texture_edge_clamp extension (aka GL_SGIS_texture_edge_clamp)
- GL_ARB_texture_mirrored_repeat extension
- WindML UGL driver (Stephane Raimbault)
- added OSMESA_MAX_WIDTH/HEIGHT queries
- attempted compiliation fixes for Solaris 5, 7 and 8
- updated glext.h and glxext.h files
- updated Windows driver (Karl Schultz)
Bug fixes:
- added some missing GLX 1.3 tokens to include/GL/glx.h
- GL_COLOR_MATRIX changes weren't recognized by teximage functions
- glCopyPixels with scale and bias was broken
- glRasterPos with lighting could segfault
- glDeleteTextures could leave a dangling pointer
- Proxy textures for cube maps didn't work
- fixed a number of 16-bit color channel bugs
- fixed a few minor memory leaks
- GLX context sharing was broken in 3.5
- fixed state-update bugs in glPopClientAttrib()
- fixed glDrawRangeElements() bug
- fixed a glPush/PopAttrib() bug related to texture binding
- flat-shaded, textured lines were broken
- fixed a dangling pointer problem in the XMesa code (Chris Burghart)
- lighting didn't always produce the correct alpha value
- fixed 3DNow! code to not read past end of arrays (Andrew Lewycky)

New in 4.0.1:
New:
- better sub-pixel sample positions for AA triangles (Ray Tice)
- slightly faster blending for (GL_ZERO, GL_ONE) and (GL_ONE, GL_ZERO)
Bug fixes:
- added missing break statements in glGet*() for multisample cases
- fixed uninitialized hash table mutex bug (display lists / texobjs)
- fixed bad teximage error check conditional (bug 476846)
- fixed demos readtex.c compilation problem on Windows (Karl Schultz)
- added missing glGet() query for GL_MAX_TEXTURE_LOD_BIAS_EXT
- silence some compiler warnings (gcc 2.96)
- enable the #define GL_VERSION_1_3 in GL/gl.h
- added GL 1.3 and GLX 1.4 entries to gl_mangle.h and glx_mangle.h
- fixed glu.h typedef problem found with MSDev 6.0
- build libGL.so with -Bsymbolic (fixes bug found with Chromium)
- added missing 'const' to glXGetContextIDEXT() in glxext.h
- fixed a few glXGetProcAddress() errors (texture compression, etc)
- fixed start index bug in compiled vertex arrays (Keith)
- fixed compilation problems in src/SPARC/glapi_sparc.S
- fixed triangle strip "parity" bug found in VTK medical1 demo (Keith)
- use glXGetProcAddressARB in GLUT to avoid extension linking problems
- provoking vertex of flat-shaded, color-index triangles was wrong
- fixed a few display list bugs (GLUT walker, molecule, etc) (Keith)
- glTexParameter didn't flush the vertex buffer (Ray Tice)
- feedback attributes for glDraw/CopyPixels and glBitmap were wrong
- fixed bug in normal length caching (ParaView lighting bug)

New in 4.0.2:
New:
- New DOS (DJGPP) driver written by Daniel Borca
- New driver interface functions for TCL drivers (such as Radeon DRI)
- GL_RENDERER string returns "Mesa Offscreen16" or "Mesa Offscreen32"
if using deep color channels
- latest GL/glext.h and GL/glxext.h headers from SGI
Bug fixes:
- GL_BLEND with non-black texture env color wasn't always correct
- GL_REPLACE with GL_RGB texture format wasn't always correct (alpha)
- glTexEnviv( pname != GL_TEXTURE_ENV_COLOR ) was broken
- glReadPixels was sometimes mistakenly clipped by the scissor box
- glDraw/ReadPixels didn't catch all the errors that they should have
- Fixed 24bpp rendering problem in Windows driver (Karl Schultz)
- 16-bit GLchan mode fixes (m_trans_tmp.h, s_triangle.c)
- Fixed 1-bit float->int conversion bug in glDrawPixels(GL_DEPTH_COMP)
- glColorMask as sometimes effecting glXSwapBuffers()
- fixed a potential bug in XMesaGarbageCollect()
- N threads rendering into one window didn't work reliably
- glCopyPixels didn't work for deep color channels
- improved 8 -> 16bit/channel texture image conversion (Gerk Huisma)
- glPopAttrib() didn't correctly restore user clip planes
- user clip planes failed for some perspective projections (Chromium)

New in 4.0.3:
New:
- updated GL/glext.h file (version 15)
- corrected MMX blend code (Jose Fonseca)
- support for software-based alpha planes in Windows driver
- updated GGI driver (Filip Spacek)
Bug fixes:
- glext.h had wrong values for GL_DOT3_RGB[A]_EXT tokens
- OSMesaMakeCurrent() didn't recognize buffer size changes
- assorted conformance fixes for 16-bit/channel rendering
- texcombine alpha subtraction mode was broken
- fixed lighting bug with non-uniform scaling and display lists
- fixed bug when deleting shared display lists
- disabled SPARC cliptest assembly code (Mesa bug 544665)
- fixed a couple Solaris compilation/link problems
- blending clipped glDrawPixels didn't always work
- glGetTexImage() didn't accept packed pixel types
- glPixelMapu[is]v() could explode given too large of pixelmap
- glGetTexParameter[if]v() didn't accept GL_TEXTURE_MAX_ANISOTROPY_EXT
- glXCopyContext() could lead to segfaults
- glCullFace(GL_FRONT_AND_BACK) didn't work (bug 572665)
Changes:
- lots of C++ (g++) code clean-ups
- lots of T&L updates for the Radeon DRI driver
Known bugs:
- mipmap LOD computation (fixed for Mesa 4.1)

New in 4.0.4:
New:
- GL_NV_texture_rectangle extension
- updated glext.h header (version 17)
- updated DOS driver (Daniel Borca)
- updated BeOS R5 driver (Philippe Houdoin)
- added GL_IBM_texture_mirror_repeat
- glxinfo now takes -l option to print interesting OpenGL limits info
- GL_MESA_ycbcr_texture extension
- GL_APPLE_client_storage extension (for some DRI drivers only)
- GL_MESA_pack_invert extension
Bug fixes:
- fixed GL_LINEAR fog bug by adding clamping
- fixed FP exceptions found using Alpha CPU
- 3dfx MESA_GLX_FX=window (render to window) didn't work
- fixed memory leak in wglCreateContest (Karl Schultz)
- define GLAPIENTRY and GLAPI if undefined in glu.h
- wglGetProcAddress didn't handle all API functions
- when testing for OpenGL 1.2 vs 1.3, check for GL_ARB_texture_cube_map
- removed GL_MAX_CONVOLUTION_WIDTH/HEIGHT from glGetInteger/Float/etc()
- error checking in compressed tex image functions had some glitches
- fixed AIX compile problem in src/config.c
- glGetTexImage was using pixel unpacking instead of packing params
- auto-mipmap generation for cube maps was incorrect
Changes:
- max texture units reduced to six to accomodate texture rectangles
- removed unfinished GL_MESA_sprite_point extension code
- if you are reading this, I'm really surprised

New in 4.1:
New:
- GL_NV_vertex_program extension
- GL_NV_vertex_program1_1 extension
- GL_ARB_window_pos extension
- GL_ARB_depth_texture extension
- GL_ARB_shadow extension
- GL_ARB_shadow_ambient extension
- GL_EXT_shadow_funcs extension
- GL_ARB_point_parameters extension
- GL_ARB_texture_env_crossbar
- GL_NV_point_sprite extension
- GL_NV_texture_rectangle extension
- GL_EXT_multi_draw_arrays extension
- GL_EXT_stencil_two_side extension
- GLX_SGIX_fbconfig and GLX_SGIX_pbuffer extensions
- GL_ATI_texture_mirror_once extension (Ian Romanick)
- massive overhaul/simplification of software rasterizer module,
many contributions from Klaus Niederkrueger
- faster software texturing in some cases (i.e. trilinear filtering)
- new OSMesaGetProcAddress() function
- more blend modes implemented with MMX code (Jose Fonseca)
- added glutGetProcAddress() to GLUT
- added GLUT_FPS env var to compute frames/second in glutSwapBuffers()
- pbinfo and pbdemo PBuffer programs
- glxinfo -v prints transprent pixel info (Gerd Sussner)
Bug fixes:
- better mipmap LOD computation (prevents excessive blurriness)
- OSMesaMakeCurrent() didn't recognize buffer size changes
- assorted conformance fixes for 16-bit/channel rendering
- texcombine alpha subtraction mode was broken
- fixed some blend problems when GLchan==GLfloat (Gerk Huisma)
- clamp colors to [0,1] in OSMesa if GLchan==GLfloat (Gerk Huisma)
- fixed divide by zero error in NURBS tessellator (Jon Perry)
- fixed GL_LINEAR fog bug by adding clamping
- fixed FP exceptions found using Alpha CPU
- 3dfx/glide driver render-to-window feature was broken
- added missing GLX_TRANSPARENT_RGB token to glx.h
- fixed error checking related to paletted textures
- fixed reference count error in glDeleteTextures (Randy Fayan)
Changes:
- New spec file and Python code to generate some GL dispatch files
- Glide driver defaults to "no" with autoconf/automake
- floating point color channels now clamped to [0,inf)
- updated demos/stex3d with new options

New in 5.0:
New:
- OpenGL 1.4 support (glGetString(GL_VERSION) returns "1.4")
- removed some overlooked debugging code
- glxinfo updated to support GLX_ARB_multisample
- GLUT now support GLX_ARB_multisample
- updated DOS driver (Daniel Borca)
Bug fixes:
- GL_POINT and GL_LINE-mode polygons didn't obey cull state
- fixed potential bug in _mesa_align_malloc/calloc()
- fixed missing triangle bug when running vertex programs
- fixed a few HPUX compilation problems
- FX (Glide) driver didn't compile
- setting GL_TEXTURE_BORDER_COLOR with glTexParameteriv() didn't work
- a few EXT functions, like glGenTexturesEXT, were no-ops
- a few OpenGL 1.4 functions like glFogCoord*, glBlendFuncSeparate,
glMultiDrawArrays and glMultiDrawElements were missing
- glGet*(GL_ACTIVE_STENCIL_FACE_EXT) was broken
- Pentium 4 Mobile was mistakenly identified as having 3DNow!
- fixed one-bit error in point/line fragment Z calculation
- fixed potential segfault in fakeglx code
- fixed color overflow problem in DOT3 texture env mode

Phew!

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 25 18:38:54 2002 UTC (9 years, 9 months ago) by jlam
Branch: MAIN
Changes since 1.2: +16 -0 lines
Diff to previous 1.2 (colored)

Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sat May 11 02:09:08 2002 UTC (10 years ago) by jlam
Branch: buildlink2
Changes since 1.2: +16 -0 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

First pass at conversion of various packages to use the buildlink2
framework.  Add many buildlink2.mk files to add to the framework.  Please
see buildlink2.txt for more details.

Revision 1.2 / (download) - annotate - [select for diffs], Wed May 30 07:53:01 2001 UTC (10 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, netbsd-1-5-PATCH003, buildlink2-base
Branch point for: buildlink2
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

update Mesa to 3.4.2
Bug fixes:
        - deleting the currently bound texture could cause bad problems
        - using fog could result in random vertex alpha values
         - AA triangle rendering could touch pixels outside right window bound
        - fixed byteswapping problem in clear_32bit_ximage() function
        - fixed bugs in wglUseFontBitmapsA(), by Frank Warmerdam
        - fixed memory leak in glXUseXFont()
        - fragment sampling in AA triangle function was off by 1/2 pixel
        - Windows: reading pixels from framebuffer didn't always work
        - glConvolutionFilter2D could segfault or cause FP exception
        - fixed segfaults in FX and X drivers when using tex unit 1 but not 0
        - GL_NAND logicop didn't work right in RGBA mode
        - fixed a memory corruption bug in vertex buffer reset code
        - clearing the softwara alpha buffer with scissoring was broken
        - fixed a few color index mode fog bugs
        - fixed some bad assertions in color index mode
        - fixed FX line 'stipple' bug #420091
Changes:
        - optimized writing mono-colored pixel spans to X pixmaps
        - increased max viewport size to 2048 x 2048

Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 12 20:38:25 2001 UTC (11 years, 1 month ago) by hubertf
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH001

Trivia - What's wrong in this picture:

smaug% grep 'MesaLib.*3.4' */*/Makefile*
graphics/Mesa/Makefile:DEPENDS+=	MesaLib-3.4:../../graphics/MesaLib
graphics/MesaLib/Makefile:DISTNAME=	MesaLib-3.4.1

Invent a variable MESA_VERSION in Mesa/Makefile.common and use it.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>