Commit graph

71 commits

Author SHA1 Message Date
jlam
e2afa97f51 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.
2002-08-25 18:38:05 +00:00
jlam
aa6c28e1a9 Give the parts of Mesa their own buildlink.mk files and have Mesa's
buildlink.mk simply include the others.  This allows distributing the
various tests for whether that part of Mesa is in the base X11R6 into the
relevant buildlink.mk file.
2002-06-26 05:36:29 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jlam
af42cdf450 Back out previous change and don't install the empty xmesa.h into
${BUILDLINK_DIR}.  The consensus on tech-pkg@netbsd.org (2000-09-10)
seems to be to fix the packages that include <GL/xmesa.h> instead of
using a workaround.
2001-09-10 13:35:56 +00:00
jlam
5700c6abe3 Create an empty xmesa.h file in ${BUILDLINK_DIR}/include if it doesn't
already exist.  This file is in Mesa-3.4.2, but not in the Mesa included
with XFree86-4.x where the definitions in the file have migrated elsewhere.
We create an empty one in this case to prevent compile errors caused by
source files including xmesa.h and not finding it.
2001-09-09 03:19:42 +00:00
hubertf
6c14d4ad95 fix description - this package is just a meta package that pulls in stuff. 2001-08-15 21:57:41 +00:00
fredb
47b501671a Update ${HOMEPAGE} for Mesa and family. 2001-07-06 00:49:05 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
a1ee30d07a Define USE_MESA if this file is included and remove unused MESA_REQD.
Also rename Mesa-{1,2} to Mesa-{x11base,localbase} to be more informative.
2001-06-17 17:45:52 +00:00
veego
1605b48599 Use HAVE_BUILTIN_GLU from <bsd.prefs.mk> to exclude the dependency for glu
on XFree86 4.1.0, which now comes with this library.
Bump the version number for this package to ${DISTNAME}nb1 (3.4.2nb1).
2001-06-17 08:08:49 +00:00
jlam
072be2ad69 Use bsd.buildlink.mk instead of duplicating code all over the place. 2001-06-11 01:59:33 +00:00
jlam
5d02f04b3a Use cookies (.*_done) to determine whether headers and libs have been
linked from a particular package, and add a pre-configure target to
the buildlink.mk file to more painlessly use buildlink.mk files.  A
${BUILDLINK_TARGETS} variable still exists in case a package _must_
define NO_CONFIGURE.
2001-06-10 00:09:29 +00:00
drochner
93ca91b6eb 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
2001-05-30 07:53:01 +00:00
jlam
45126d79ee Set required version to 3.2.1 to match bsd.pkg.mk. 2001-05-26 06:46:31 +00:00
jlam
7415aa8f62 Add buildlink.mk Makefile fragment to link GL headers and libs into
${BUILDLINK_INCDIR} and ${BUILDLINK_LIBDIR}, for use by other packages.
2001-05-26 06:36:11 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
hubertf
31f5ce665c 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.
2001-04-12 20:38:25 +00:00
drochner
5000ff6534 update to 3.4.1
Changes:
  New:
    - fixed some Linux build problems
    - fixed some Windows build problems
    - GL_EXT_texture_env_dot3 extension (Gareth Hughes)
  Bug fixes:
    - added RENDER_START/RENDER_FINISH macros for glCopyTexImage in DRI
    - various state-update code changes needed for DRI bugs
    - disabled pixel transfer ops in glColorTable commands, not needed
    - fixed bugs in glCopyConvolutionFilter1D/2D, glGetConvolutionFilter
    - updated sources and fixed compile problems in widgets-mesa/
    - GLX_PBUFFER enum value was wrong in glx.h
    - fixed a glColorMaterial lighting bug
    - fixed bad args to Read/WriteStencilSpan in h/w stencil clear function
    - glXCopySubBufferMESA() Y position was off by one
    - Error checking of glTexSubImage3D() was broken (bug 128775)
    - glPopAttrib() didn't restore all derived Mesa state correctly
    - Better glReadPixels accuracy for 16bpp color - fixes lots of OpenGL
      conformance problems at 16bpp.
    - clearing depth buffer with scissoring was broken, would segfault
    - OSMesaGetDepthBuffer() returned bad bytesPerValue value
    - fixed a line clipping bug (reported by Craig McDaniel)
    - fixed RGB color over/underflow bug for very tiny triangles
  Known problems:
    - NURBS or evaluator surfaces inside display lists don't always work
2001-03-23 12:36:53 +00:00
wiz
a2a4d06c6f Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:22:13 +00:00
drochner
422b29d263 update to Mesa 3.4
Changes:
    New:
    - optimized glDrawPixels for glPixelZoom(1,-1)
    Bug Fixes:
    - widgets-mesa/src/*.c files were missing from 3.3 distro
    - include/GL/mesa_wgl.h file was missing from 3.3 distro
    - fixed some Win32 compile problems
    - texture object priorities weren't getting initialized to 1.0
    - glAreTexturesResident return value was wrong when using hardware
    - glXUseXFont segfaulted when using 3dfx driver (via MESA_GLX_FX)
    - glReadPixels with GLushort packed types was broken
    - fixed a few bugs in the GL_EXT_texture_env_combine texture code
    - glPush/PopAttrib(GL_ENABLE_BIT) mishandled multi-texture enables
    - fixed some typos/bugs in the VB code
    - glDrawPixels(GL_COLOR_INDEX) to RGB window didn't work
    - optimized glDrawPixels paths weren't being used
    - per-fragment fog calculation didn't work without a Z buffer
    - improved blending accuracy, fixes Glean  blendFunc test failures
    - glPixelStore(GL_PACK/UNPACK_SKIP_IMAGES) wasn't handled correctly
    - glXGetProcAddressARB() didn't always return the right address
    - gluBuild[12]DMipmaps() didn't grok the GL_BGR pixel format
    - texture matrix changes weren't always detected (GLUT projtex demo)
    - fixed random color problem in vertex fog code
    - fixed Glide-related bug that let Quake get a 24-bit Z buffer
    Changes:
    - finished internal support for compressed textures for DRI
2000-12-12 17:22:38 +00:00
rh
26906ea2f7 Update Mesa to 3.2.1 (changes are bugfixes only) making this a meta package
that works under both XFree86-3.x and 4.x (with partially built-in Mesa).
2000-10-15 11:57:17 +00:00
tron
36cba280f1 Make this build under NetBSD-alpha. 2000-09-21 14:40:11 +00:00
wiz
c750c08ad9 Remove (sometimes FreeBSD) packager's (porter's) name from DESCR.
If anywhere, it should be the value of MAINTAINER in the Makefile.
Some minor cleanup/reformatting while I'm here.
2000-08-11 01:07:45 +00:00
jlam
740d8bdfb2 USE_LIBTOOL instead of packages libtool. 2000-06-21 02:24:22 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
tron
4f2d4fbfef Set "${EXTRACT_SUFX}" so that "bzip2" is used instead of "gzip". 2000-04-04 12:17:45 +00:00
tron
f10ff6bff0 Use smaller ".tar.bz2" distribution files. 2000-04-04 07:59:48 +00:00
drochner
4d7e080d87 update to Mesa-3.1
changes:
many bugfixes, added support - see the changelog
core lib has X copyright now
libtoolized
installs as "libGL", not "libMesaGL" now
my change: don't install samples
2000-04-03 11:15:00 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
wiz
900f5e50ff replaced some commands by their ${COMMAND} counterparts 2000-01-02 03:36:52 +00:00
bouyer
84c595b6fb Use 'ln -f -s' instead of 'ln -fs' to keep solaris happy. 1999-12-02 20:26:39 +00:00
tron
b777df8069 Fix build problem on i386 a.out systems if hardware acceleration is enabled
via the "Mesa-glx" package. Patch supplied by Allen Briggs in PR pkg/8685.
1999-10-27 13:47:29 +00:00
tron
3381e8f3db "CONFLICT" -> "CONFLICTS". 1999-10-10 11:06:06 +00:00
tron
23dccf20ac Add conflict with "Mesa-glx" package. 1999-09-29 22:47:19 +00:00
agc
38d7c2f09a Make this package work on Solaris. 1999-07-15 15:51:42 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
mycroft
e0fb5b5953 Fix the X library linkage for the demos, so that this works on he Alpha.
From garbled.
1999-04-22 18:37:26 +00:00
garbled
5f13735a59 Now that we are at 1.4, we don't need to exclude this from alpha anymore. 1999-04-14 20:01:42 +00:00
hubertf
2a95ad9c6b Fix CONFLICTS (remove redundancy, mostly) 1999-02-20 22:48:24 +00:00
agc
f6473207ca Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this
package into ${X11BASE}".
Replace all occurrences of BUILD_USES_X11 with USE_X11. This means "use X11
headers and libraries to build this package".
1999-01-30 23:18:44 +00:00
kleink
ae84f1e6dc chown -> ${CHOWN} 1998-12-18 11:50:52 +00:00
tron
e5667e53bd Update Mesa package to version 3.0. 1998-09-30 19:46:36 +00:00
garbled
384c07a72e add NOT_FOR_ARCHS= alpha for all of these pkgs which are *known* to fail
on alpha.  There may be more, but I haven't seen them yet.
1998-09-22 06:11:35 +00:00
tron
59af7acab9 Remove unwanted files prior to installation. 1998-09-05 19:26:02 +00:00
hubertf
c7913d0ea5 Don't install backup (*~) files.
Fixes PR 6104 by John Kohl <jtk@kolvir.arlington.ma.us>.
1998-09-05 18:44:34 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00