[46799] trunk/dports/x11/mesa

jeremyhu at macports.org jeremyhu at macports.org
Fri Feb 13 02:35:12 PST 2009


Revision: 46799
          http://trac.macports.org/changeset/46799
Author:   jeremyhu at macports.org
Date:     2009-02-13 02:35:11 -0800 (Fri, 13 Feb 2009)
Log Message:
-----------
mesa: Bump to AppleSGLX-49 for hardware rendering.  Should restore more backwards compatability and add GLXPixmap and GLXPbuffer support

Modified Paths:
--------------
    trunk/dports/x11/mesa/Portfile

Removed Paths:
-------------
    trunk/dports/x11/mesa/files/asglx-tiger-types.patch
    trunk/dports/x11/mesa/files/asglx-x11dir.patch

Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile	2009-02-13 10:31:06 UTC (rev 46798)
+++ trunk/dports/x11/mesa/Portfile	2009-02-13 10:35:11 UTC (rev 46799)
@@ -4,8 +4,8 @@
 
 name                mesa
 version             7.2
-revision            2
-set ASGLX_version   48
+revision            3
+set ASGLX_version   49
 categories          x11 graphics
 maintainers         jeremyhu andrea.damore openmaintainer
 description         Mesa 3D Graphics Library
@@ -24,10 +24,10 @@
                     md5     04d379292e023df0b0266825cb0dbde5 \
                     sha1    a6dce814cc56a562890ab79cf4e205f62459a29c \
                     rmd160  1e7c2cc6aa27ebaf7e726ac2086c10a5155d0832 \
-                    AppleSGLX-48.tar.bz2 \
-                    md5     30e172ba7f4afd08131c3d79319297b7 \
-                    sha1    5acd07db348a37348022761321616ec2d431553b \
-                    rmd160  d629460f877aa0a748f7b60925ee13a9343a93cf
+                    AppleSGLX-49.tar.bz2 \
+                    md5     68843df2cf0f2d3e5411b190b04d90db \
+                    sha1    56e3a1e0654297993872eec604d575093c6dc5f4 \
+                    rmd160  063a6a066c00d069e00c42fbac6962445a4c9845
 
 patch.pre_args -p1
 patchfiles \
@@ -86,9 +86,9 @@
 		error "+hw_render requires Mac OS X 10.5 or greater"
 	}
 
-	post-patch {
-		system "cd ${worksrcpath}/../AppleSGLX-${ASGLX_version} && cat ${filespath}/asglx-*.patch | patch -p0"
-	}
+	#post-patch {
+	#	system "cd ${worksrcpath}/../AppleSGLX-${ASGLX_version} && cat ${filespath}/asglx-*.patch | patch -p0"
+	#}
 
 	post-build {
 		system "cd ${worksrcpath}/../AppleSGLX-${ASGLX_version} && ${build.cmd} libGL.1.2.dylib ${build.args} LDFLAGS='-L\$(X11_DIR)/lib -Wl,-single_module' INCLUDE='-I. -Iinclude -Iinclude/internal -DGLX_ALIAS_UNSUPPORTED -Igl ${configure.cppflags}'"

Deleted: trunk/dports/x11/mesa/files/asglx-tiger-types.patch
===================================================================
--- trunk/dports/x11/mesa/files/asglx-tiger-types.patch	2009-02-13 10:31:06 UTC (rev 46798)
+++ trunk/dports/x11/mesa/files/asglx-tiger-types.patch	2009-02-13 10:35:11 UTC (rev 46799)
@@ -1,14 +0,0 @@
-Index: apple_cgl.h
-===================================================================
---- apple_cgl.h	(revision 96)
-+++ apple_cgl.h	(revision 97)
-@@ -35,6 +35,9 @@
- #include <OpenGL/CGLTypes.h>
- #include <OpenGL/OpenGL.h>
- 
-+/* For GLint and GLsizei on Tiger */
-+#include <OpenGL/gl.h>
-+
- struct apple_cgl_api {
-     CGLError (*choose_pixel_format)(const CGLPixelFormatAttribute *attribs, 
- 				    CGLPixelFormatObj *pix, GLint *npix);

Deleted: trunk/dports/x11/mesa/files/asglx-x11dir.patch
===================================================================
--- trunk/dports/x11/mesa/files/asglx-x11dir.patch	2009-02-13 10:31:06 UTC (rev 46798)
+++ trunk/dports/x11/mesa/files/asglx-x11dir.patch	2009-02-13 10:35:11 UTC (rev 46799)
@@ -1,13 +0,0 @@
-Index: Makefile
-===================================================================
---- Makefile	(revision 89)
-+++ Makefile	(working copy)
-@@ -69,7 +69,7 @@
- 	$(COMPILE) glxhash.c
- 
- appledri.o: appledri.h appledristr.h appledri.c
--	$(COMPILE) -I/usr/X11/include/X11 appledri.c
-+	$(COMPILE) -I$(X11_DIR)/include/X11 appledri.c
- 
- apple_glx_context.o: apple_glx_context.c apple_glx_context.h apple_glx_context.h
- 	$(COMPILE) apple_glx_context.c -F/System/Library/Frameworks/OpenGL.framework
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090213/76ef4013/attachment.html>


More information about the macports-changes mailing list