Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 19, 2012
  1. Drop imake-check logic from X11 components'

    joerg authored
    Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge.
    Always install man pages, not cat pages when using imake.
    Unify the various imake PLIST variables in preparation for dropping.
    Adjust xbattbar for the new expectations.
Commits on Aug 25, 2009
Commits on Aug 8, 2009
  1. Fix symbol handling in glu. Patch from upstream via Jörn Clausen

    wiz authored
    in PR 41613.
    Bump glu PKGREVISION.
Commits on Jul 8, 2009
  1. Update to 7.4.4. Make software ratserizer actually work. Add one patc…

    hasso authored
    …h from
    upstream repo to fix null pointer dereference.
    Changes in 7.4.4:
    * Fixed i965/i915 segfault in screen destruction (bug 22408)
    Changes in 7.4.3:
    * Fixed texture object reference counting bug (bug 21756)
    * Allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT
      point (SF bug 2793846)
    * Added missing glGet case for GL_VERTEX_ARRAY_BINDING_APPLE
    * Fixed some OSMesa build issues
    * Fixed a vertex buffer object crash
    * Fixed broken glTexImage3D() when image type = GL_BITMAP
    * Fixed some GLSL preprocessor bugs
    * Fixed framebuffer mem leak in i945/i965 DRI drivers
    * Fixed texture coordinate repeat bug in swrast (bug 21872)
    * Fixed incorrect viewport clamping (lower bound is zero, not one)
    * GLX fix for glean's makeCurrent test case
Commits on Jun 14, 2009
  1. Remove @dirrm entries from PLISTs

    joerg authored
Commits on Jun 10, 2009
  1. Fix .pc file. Bump PKGREVISION.

    wiz authored
Commits on Mar 20, 2009
  1. Simply and speed up files and processing.

    joerg authored
    This changes the files to use an include guard for the
    recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
    BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
    variable BUILDLINK_TREE. Each file adds a pair of
    enter/exit marker, which can be used to reconstruct the tree and
    to determine first level includes. Avoiding := for large variables
    (BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
    The include guard reduces system time by avoiding reading files over and
    over again. For complex packages this reduces both %user and %sys time to
    half of the former time.
Commits on Oct 5, 2008
  1. Merge cube-native-xorg, so that pkgsrc-current can be used with the n…

    cube authored
    X.Org found in NetBSD-current.
    Thanks a lot to all who helped, especially Matthias Scheler who did
    repeated tests on Mac OS X and older versions of NetBSD to make sure the
    support for those platforms wouldn't be broken (or at least, not fatally,
    as I would still expect a few hiccups here and there, because there is
    only so much one can test in such limited time).
    On the infrastructure side, this branch brings, in
    order to write very easily new files.  It can actually handle
    more than just pkgconfig files, but it will provide a version if it finds
    such a file. has also been made more useful and now all
    existing (and future!) native-X11-related files should include
Commits on Jul 27, 2008
  1. Update to Mesa-7.0.4 (the head of the 7.0 branch in GIT). Basically,

    bjs authored
    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.
     - 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.
Commits on Jun 27, 2008
  1. graphics/MesaLib/ revert to rev 1.8

    tnn authored
    graphics/MesaLib/patches/patch-aw: export glXGetProcAddressARB
    graphics/MesaLib/Makefile: bump PKGREVISION
    graphics/glu/Makefile: bump PKGREVISION
    Please help out by giving this change as extensive testing as
    possible before 2008Q2 is branched.
Commits on Apr 24, 2008
  1. Fix redundant BUILDLINK_ABI_DEPENDS

    tnn authored
  2. Welcome to Mesa-7.0.3.

    bjs authored
    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  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.
Commits on Aug 13, 2007
  1. As discussed on tech-pkg@ revert for now the last updates of the Mesa…

    seb authored
    … 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@.
Commits on Aug 12, 2007
  1. Changes 7.0.1:

    adam authored
    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
Commits on Nov 3, 2006
  1. DESTDIR support.

    joerg authored
Commits on Aug 1, 2006
  1. Split Mesa/Makefile.common into Makefile.common and Makefile.lib.

    jlam authored
    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.
Commits on Jul 8, 2006
  1. Change the format of BUILDLINK_ORDER to contain depth information as …

    jlam authored
    and add a new helper target and script, "show-buildlink3", that outputs
    a listing of the files included as well as the depth at
    which they are included.
    For example, "make show-buildlink3" in fonts/Xft2 displays:
  2. Track information in a new variable BUILDLINK_ORDER that informs us

    jlam authored
    of the order in which files are (recursively) included
    by a package Makefile.
Commits on May 8, 2006
Commits on Apr 6, 2006
  1. Over 1200 files touched but no revisions bumped :)

    reed authored
    RECOMMENDED is removed. It becomes ABI_DEPENDS. becomes becomes
    BUILDLINK_DEPENDS does not change.
    IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
    which defaults to "yes".
    Added to checking for IGNORE_RECOMMENDED.
    I did not manually go through and fix any aesthetic tab/spacing issues.
    I have tested the above patch on DragonFly building and packaging
    subversion and pkglint and their many dependencies.
    I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
    have used IGNORE_RECOMMENDED for a long time). I have been an active user
    of IGNORE_RECOMMENDED since it was available.
    As suggested, I removed the documentation sentences suggesting bumping for
    "security" issues.
    As discussed on tech-pkg.
    I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
    Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
    later (within day).
Commits on Mar 30, 2006
  1. Avoid extra stat() calls by not repeatedly checking whether a file

    jlam authored
    exists on the disk -- we can just check whether a variable defined by is "__nonexistent__" or not.
Commits on Feb 9, 2006
  1. 6.4.2 February 2, 2006

    adam authored
    	- 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)
Commits on Feb 5, 2006
Commits on Jan 19, 2006
  1. Changes 6.4:

    adam authored
    	- 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).
    	- 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 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
Commits on Dec 5, 2005
  1. Fixed pkglint warnings. The warnings are mostly quoting issues, for

    rillig authored
    example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
    other changes are outlined in
Commits on Jun 7, 2005
Commits on Jun 3, 2005
  1. Coalesce the common makefile code in the file that inspect

    jlam authored
    the X11 distribution using imake into mk/buildlink3/ calls out to a helper shell script mk/buildlink3/imake-check
    that generates the required Imakefiles and runs imake.  Remove the
    now extraneous files as the files can now
    contain the name of the imake symbol to check.
  2. Only check for the existence of the first word of ${IMAKE} since it may

    jlam authored
    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	VAR_CMD=	${VAR:[1]}
  3. Don't require a read-write pkgsrc tree when invoking imake. We avoid

    jlam authored
    this requirement by using TMPDIR as the read-write location demanded
    by using imake.
Commits on Jun 1, 2005
  1. Massive cleanup of and files in pkgsrc.

    jlam authored
    Several changes are involved since they are all interrelated.  These
    changes affect about 1000 files.
    The first major change is rewriting as well as all of
    the files to follow the new example in
    The loop to include all of the files needed by the package
    is moved from and into
    is now included by each of the individual files and provides
    some common logic for all of the 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 file includes another.
    The second major change is teach the files to consider
    files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
    of the 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 and files
    for each of the X11 distribution packages in pkgsrc.  The
    file can detect whether the native X11 distribution is the same as
    the one provided by pkgsrc, and the file computes the
    version of the X11 distribution package, whether it's built-in or not.
    The fourth major change is that the 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
    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 instead.  This causes the X11 package buildlink3
    and builtin logic to be executed at the correct place for
    and files that previously set USE_X11, and fixes packages
    that relied on files to implicitly note that X11 is
    needed.  Package should also include
    when linking against the package libraries requires also linking
    against the X11 libraries.  Where it was obvious, redundant inclusions
    of have been removed.
Commits on Feb 23, 2005
  1. whitespace fix

    grant authored
Commits on Oct 31, 2004
  1. Move PKG_INSTALLATION_TYPES to Makefile.common so that it is defined

    minskim authored
    before including
Commits on Oct 29, 2004
  1. Define USE_BUILDLINK3 before including Otherwise,

    minskim authored of gcc* packages is not included.
Commits on Oct 27, 2004
  1. Mesa has optimisations for SunPro so use them when SPARC_TARGET_ARCH

    grant authored
    is set appropriately (sparcv7, sparcv8, sparcv9).
Something went wrong with that request. Please try again.