Commit graph

237 commits

Author SHA1 Message Date
dholland
9f977a333d Fix the builtin version detection by checking the pkgconfig files if
they exist. Now gets 7.8.2 on netbsd-current instead of 4.0.4. (!)
2013-06-17 05:27:50 +00:00
obache
a1c4924bf1 Change MESA_BIG_ENDIAN condition check for PR pkg/47919. 2013-06-16 04:16:59 +00:00
wiz
97e86630df Add missing patch checksum. 2013-06-13 21:35:24 +00:00
wiz
485d44ac56 Check for symbol existence with #ifdef, not #if.
Needed since some other files only #define the symbol without a value.

Bump PKGREVISION since this changes an installed header file.
2013-06-13 14:16:21 +00:00
mef
a38c7cd4c9 PR pkg/47913, fix build problem on powerpc
(example was NetBSD/macppc 6.1) as:
#error Unknown Endianness
2013-06-10 12:29:54 +00:00
wiz
5b9c381fec Mark the package as broken on NetBSD when dri is not enabled.
The build will fail anyway.
Addresses PR 47862 by Jörn Clausen.
2013-05-28 11:27:09 +00:00
wiz
2e143d6ebf Allow the dri option on NetBSD even with native x (compile-tested by
Patrick Welche) and enable it by default there too; bump libdrm
requirement (from Patrick Welche).
Also enable dri on Linux by default, not only for Linux with modular X.

Bump PKGREVISION.
2013-05-27 06:45:30 +00:00
sbd
1a13cfc76e Make dri a suggested option on Linux i386 and x86_64. 2013-05-20 07:04:35 +00:00
sbd
08f0396618 Fixes for non-dri build:
+ Build the x11 version libGL.so with version numbering major 1 and minor 2,
  the same a the glx version of libGL (simplifies PLIST handling).
+ PLIST changes.
2013-05-20 06:59:18 +00:00
sbd
dda444dcd8 The configure arg --with-driver= takes 'xlib' OR 'osmesa' not 'xlib,osmesa'. 2013-05-20 01:43:05 +00:00
obache
1af5035ea2 Add band-aid patch for missing exp2f(3) on NetBSD<6, inspired by wiz@. 2013-05-19 02:03:57 +00:00
obache
e1d7e32373 regen distinfo 2013-05-18 05:57:22 +00:00
obache
32a20fbfc9 Fixes build on big endian FreeBSD and DragonFly.
related to PR pkg/47821.
2013-05-18 05:57:10 +00:00
obache
adf287ea1a make sure MESA_{BIG,LITTLE}_ENDIAN are defined correctly on *BSD.
related to PR pkg/47821
2013-05-18 05:55:41 +00:00
richard
26d1462852 upgrade to MesaLib-7.11.2 2013-05-16 05:22:02 +00:00
obache
72bf6818fb reorder condition of the previous change, to be bit faster. 2013-04-19 13:42:37 +00:00
obache
00118210c7 assume builtin MesaLib on Cygwin is not usind dri. 2013-04-19 11:56:23 +00:00
jperkin
beb3bcdfa2 Don't enable dri on Solaris 10 and lower. 2012-10-17 11:36:02 +00:00
asau
08f35c7155 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +00:00
jperkin
41132a0f53 Enable dri by default on Solaris. The 'vmware' driver from modular-xorg is
still non-functional, but this at least gets us further along.
2012-09-28 11:33:47 +00:00
dsainty
d6b84a39f7 Expose glXGetProcAddress.
The consequences of not making this patch are platform dependent - some build
chains will still expose the symbols, but some will not.  The API expects
them to be exposed.

Fixes Cairo 1.12.2 build on Ubuntu 11.10 and CentOS 6.3, presumably due to
later versions of gcc (4.6.1 in the Ubuntu case).

Bump PKGREVISION.
2012-09-12 14:12:28 +00:00
wiz
e138b52a56 Move libpciaccess to dri option section. 2012-05-09 07:53:04 +00:00
wiz
486c0d6b7c Needs libpciaccess now when pulling in libdrm. Bump PKGREVISION. 2012-05-08 20:33:14 +00:00
obache
ab7348b132 Assume that native MesaLib is built with dri if builin dri exists.
(required for OpenBSD-5.0).
2012-04-08 05:59:25 +00:00
joerg
9765e41589 Drop imake-check logic from X11 components' builtin.mk.
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.
2012-03-19 12:34:12 +00:00
fhajny
4b131cb377 Unlock the 'dri' option for SunOS, since x11/libdrm now builds there.
Bump PKGREVISION.
2012-03-13 13:24:36 +00:00
hans
94c0d65e3e Explicitly tell CPP that it should parse stdin as C-header when building glu.exports. 2012-02-16 18:56:23 +00:00
joerg
d7d51726d2 Disable integrated assembler for clang and force default visiblity to
hidden, otherwise some assembler relocations don't work on AMD64.
2012-01-23 08:08:25 +00:00
abs
721bc4a3e8 Ensure PTHREAD_STUBLIB is set in MAKE_ENV not just PKGSRC_MAKE_ENV - fixes clean env build on Linux 2011-08-21 16:44:30 +00:00
reed
a5080a0dc8 The BUILDLINK API dependency should be for xf86driproto not
driproto. I noticed this when it built with old xf86driproto
that had conflicting file. So add a CONFLICTS too.
2010-05-05 18:33:30 +00:00
tnn
c2e785c207 revision bump for libdrm update. 2010-04-16 13:50:51 +00:00
tnn
beca9188a3 another sparc64-only build fix; define memory barrier macro in sis_context.h 2010-03-27 12:55:00 +00:00
tnn
f5c141deec fix a wrong #include in patch-aa which caused sparc64 build to fail. 2010-03-27 12:26:19 +00:00
wiz
36c66c8e31 Look for libGL.so, not any particular libGL.so.<X>, on NetBSD.
Bump PKGREVISION.

From mrg@
2009-09-02 22:30:34 +00:00
hasso
97259a2733 - Fix MESA_TINY missed in last version bump.
- Add INSTALL_LIB_DIR and INSTALL_INC_DIR to fix *.pc files.

This should address issues mentioned in the PR 41895. While there make dri
default for DragonFly. Bump PKGREVISION.
2009-08-25 05:27:57 +00:00
drochner
d65bc236c3 As suggested by Tom Spindler, remove the libdrm version requirement
from dri.mk where it is pulled in from bl3.mk. The minimum version
is only necessary if a new MesaLib is built, we don't need to force
users of older ones to update libdrm.
2009-08-08 15:03:18 +00:00
wiz
71ffec3056 Fix symbol handling in glu. Patch from upstream via Jörn Clausen
in PR 41613.

Bump glu PKGREVISION.
2009-08-08 08:25:50 +00:00
drochner
0caa17238c the dri module wants intel_bufmgr.h which we got with libdrm-2.4.9 2009-07-29 17:34:16 +00:00
hasso
1e744f5d32 Update to 7.4.4. Make software ratserizer actually work. Add one patch 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
2009-07-08 20:00:57 +00:00
hasso
168af103cd Attempt to make it build cleanly and to solve PLIST problems without dri
option (default for most of platforms). Tested on DragonFly only. Bump
PKGREVISION.
2009-06-19 18:19:15 +00:00
joerg
24ce9c6c39 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 20:05:39 +00:00
joerg
3a3c07bc30 Remove @dirrm entries from PLISTs 2009-06-14 17:59:04 +00:00
tnn
a3e1f62ec1 patch-cc: libtoolize src/mesa/drivers/x11/Makefile.
Should fix build with PKG_OPTION dri disabled. (PR pkg/41572)
2009-06-11 13:11:32 +00:00
wiz
966785ce99 Use correct macros for installation, from FUKAUMI Naoki in PR 41563.
While here, fix .pc files (were missing -Wl,-R).

Bump PKGREVISION.
2009-06-10 17:28:06 +00:00
hasso
e50554e24b Fix "freeze on exit" issue with many GL games. Bump PKGREVISION. 2009-06-10 10:47:22 +00:00
wiz
2dfbb8286c Update Mesa and friends to 7.4.2.
Update provided by Hasso Tepper on pkgsrc-users.

Changes:
7.4.2:
Bug fixes

   * Fixed segfault when rendering to front buffer with DRI 1.
   * Fixed swrast texture rectangle bug when wrap mode = GL_CLAMP_TO_BORDER and filter mode = GL_LINEAR. (bug
     21461)
   * Fixed texture object mem leak during context destruction.
   * Fixed a state validation bug in glCopyTex[Sub]Image()
   * Fixed some i965 GLSL bugs.
   * Fixed an R300 driver texture object bad memory reference.

7.4.1:
Bug fixes

   * Fixed a two-sided lighting bug in fixed-function-to-GPU code generation
   * Fixed some Darwin issues (Jeremy Huddleston)
   * Indexing the GLSL gl_EyePlane[] or gl_ObjectPlane[] arrays with a variable was broken, bug 20986
   * Fixed incorrect texture unit bias in TXB instruction
   * glTexParameter settings weren't always propogated to drivers
   * Assorted vertex/fragment program bug fixes
   * Fixed point rendering in software rasterizer
   * Fixed potential deadlock in object hash functions
   * Fix a couple bugs surrounding front-buffer rendering with DRI2, but this is not quite complete.
   * Fixed glPopAttrib() bug when restoring user clip planes

7.4:
New features

   * Added MESA_GLX_FORCE_DIRECT env var for Xlib/software driver
   * GLSL version 1.20 is returnd by the GL_SHADING_LANGUAGE_VERSION query

Bug fixes

   * glGetActiveUniform() returned wrong size for some array types
   * Fixed some error checking in glUniform()
   * Fixed a potential glTexImage('proxy target') segfault
   * Fixed bad reference counting for 1D/2D texture arrays
   * Fixed VBO + glPush/PopClientAttrib() bug #19835
   * Assorted i965 driver bug fixes
   * Fixed a Windows compilation failure in s_triangle.c
   * Fixed a GLSL array indexing bug
   * Fixes for building on Haiku

Changes

   * Updated GL/glxext.h to version 48
   * Assorted updates for building on Solaris

7.3:
New features

   * Support for GLSL 1.20
   * Intel DRI drivers now use GEM and DRI2

Bug fixes

   * Assorted GLSL bug fixes
   * Assorted i965 driver fixes
   * Fix for wglCreateLayerContext() in WGL/Windows driver
   * Build fixes for OpenBSD and gcc 2.95
   * GLSL preprocessor handles #pragma now
   * Fix incorrect transformation of GL_SPOT_DIRECTION
   * Fixed several bugs (#18367 and #19625) in glXMakeContextCurrent()
   * Assorted Windows build fixes

Changes

   * Deprecated the "XMesa" interface (include/GL/xmesa*.h files)
   * Deprecated the "FXMesa" interface (include/GL/fxmesa.h file)
   * Deprecated the "Allegro" interface (include/GL/amesa.h file)
   * Removed include/GL/uglmesa.h header
   * Removed include/GLView.h header for BeOS

7.2:
New features

   * i965 driver: added support for G41 chipset (Intel)

Bug fixes

   * Fixed display list bug involving primitives split across lists (bug 17564)
   * Fixed some issues with glBindAttribLocation()
   * Fixed crash in _tnl_InvalidateState() found with Amira (bug 15834)
   * Assorted bug fixes for Ming build
   * Fixed some vertex/pixel buffer object reference counting bugs
   * Fixed depth/stencil bug in i915/945 driver
   * Fixed some shader flow control bugs in i965 driver
   * Fixed a few tdfx driver bugs which prevented driver from working
   * Fixed multisample enable/disable bug

Changes

   * Updated SGI header files with new license terms.

7.1:
New features

   * autoconf-based configuration (and clean-up of Makefiles)
   * Assorted DRI driver enhancements
   * Reduced dependencies between X server and Mesa
   * GL_EXT_texture_from_pixmap extension for Xlib driver
   * Support for the GL shading language with i965 driver (implemented by Intel)
   * ATI R500 series support (Radeon X1300-X1950) in r300 DRI driver

Bug fixes

   * Numerous GLSL fixes
   * Fixed some error code/detection bugs in the GLSL-related API functions
   * Lots of DRI driver fixes.
2009-06-05 11:10:35 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk 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 buildlink3.mk 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.
2009-03-20 19:23:50 +00:00
bjs
741ff086bd Correct capitalization in FreeBSD case. 2009-02-28 01:22:07 +00:00
obache
0e5089350b Reset BUILTIN_PKG after inclution of pthread.builtin.mk.
workaround of PR 40254.
2009-02-03 08:35:13 +00:00
bjs
97e1fd19e4 Add the following patch from upstream as a new distribution
patch and bump MesaLib's PKGREVISION.  While here, make a few
small changes to appease pkglint.

commit 2b8d8989fb6f9c36baf166fc715182a1407ebadb
Author: Ian Romanick <ian.d.romanick@intel.com>
Date:   Sun Sep 28 20:31:46 2008 -0700

    Use 3Dnow! x86-64 routines only on processors that support 3Dnow!
    Added an x86-64 CPUID function and use it to detect 3Dnow!
    [...]
    This fixes long standing bug #8724.
2008-10-26 21:03:40 +00:00