# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libosmesa # libosmesa/CVS # libosmesa/CVS/Root # libosmesa/CVS/Repository # libosmesa/CVS/Entries # libosmesa/Makefile # libosmesa/distinfo # libosmesa/pkg-descr # libosmesa/pkg-plist # libosmesa/files # libosmesa/files/CVS # libosmesa/files/CVS/Root # libosmesa/files/CVS/Repository # libosmesa/files/CVS/Entries # libosmesa/files/patch-configure # libosmesa/files/patch-src-gallium-include-pipe_p_config.h # libosmesa/files/patch-src-glu_Makefile # libosmesa/files/patch-src-mesa-main_macros.h # libosmesa/files/patch-src-mesa_Makefile # echo c - libosmesa mkdir -p libosmesa > /dev/null 2>&1 echo c - libosmesa/CVS mkdir -p libosmesa/CVS > /dev/null 2>&1 echo x - libosmesa/CVS/Root sed 's/^X//' >libosmesa/CVS/Root << 'ed6ef8702b11f6e669a0f3ae81078c6a' X/home/pcvs ed6ef8702b11f6e669a0f3ae81078c6a echo x - libosmesa/CVS/Repository sed 's/^X//' >libosmesa/CVS/Repository << 'a64c38bd99de82c41268fa85fad321e4' Xports/graphics/libosmesa a64c38bd99de82c41268fa85fad321e4 echo x - libosmesa/CVS/Entries sed 's/^X//' >libosmesa/CVS/Entries << 'd3119d36a1e0d1667844b9ad77e42754' X/pkg-descr/1.1/Fri Apr 9 08:40:35 2010// XD/files//// X/distinfo/1.9/Thu Mar 1 16:09:11 2012// X/pkg-plist/1.4/Thu Mar 1 16:18:41 2012// X/Makefile/1.17/Mon Mar 5 11:02:55 2012// d3119d36a1e0d1667844b9ad77e42754 echo x - libosmesa/Makefile sed 's/^X//' >libosmesa/Makefile << 'c53f686838574c77c49b17e14abe95b6' X# New ports collection makefile for: libosmesa X# Date created: 9 April 2010 X# Whom: gahr X# X# $FreeBSD: ports/graphics/libosmesa/Makefile,v 1.17 2012/03/05 11:02:55 gahr Exp $ X# X XPORTNAME= libosmesa XPORTVERSION= 8.0.1 XPORTREVISION= 1 XCATEGORIES= graphics XMASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/${PORTVERSION}/ XDISTNAME= MesaLib-${PORTVERSION} X XMAINTAINER= gahr@FreeBSD.org XCOMMENT= Off-Screen Mesa implementation of the OpenGL API X XLIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \ X talloc.2:${PORTSDIR}/devel/talloc XBUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \ X bison:${PORTSDIR}/devel/bison \ X ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2 X XCONFLICTS= mesagl-mangled-* X XUSE_BZIP2= yes XUSE_GCC= 4.2+ XUSE_LDCONFIG= yes XUSE_GMAKE= yes XUSE_GNOME= pkgconfig gnomehack XUSE_PYTHON= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS+=--with-driver=osmesa --with-osmesa-bits=32 \ X --with-gallium-drivers= --disable-asm \ X --disable-egl \ X --includedir=${PREFIX}/include/Mesa XCFLAGS+= -I${LOCALBASE}/include -fPIC XCPPFLAGS= ${CFLAGS} X XWRKSRC= ${WRKDIR}/Mesa-${PORTVERSION} X X.include c53f686838574c77c49b17e14abe95b6 echo x - libosmesa/distinfo sed 's/^X//' >libosmesa/distinfo << '19eb991134d1e52f9a5fed36c71e876a' XSHA256 (MesaLib-8.0.1.tar.bz2) = 593af02ea2b5b7afb057a12c550f2c03b1d1cf59a716972d601c1499545ea0a7 XSIZE (MesaLib-8.0.1.tar.bz2) = 5694019 19eb991134d1e52f9a5fed36c71e876a echo x - libosmesa/pkg-descr sed 's/^X//' >libosmesa/pkg-descr << '6032a77dc28acb09de2e608b1c150202' XMesa is a 3-D graphics library with an API which is very similar to that Xof OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax or Xstate machine, it is being used with authorization from Silicon Graphics, XInc. However, the author makes no claim that Mesa is in any way a Xcompatible replacement for OpenGL or associated with Silicon Graphics, Inc. X XThis is a Off-Screen version of Mesa in order to do off-screen rendering in Xother packages like VTK. Offscreen rendering is useful for a Xnumber of things, such as batch processing, parallel processing, and Xremote processing. X XWWW: http://www.mesa3d.org/ 6032a77dc28acb09de2e608b1c150202 echo x - libosmesa/pkg-plist sed 's/^X//' >libosmesa/pkg-plist << '047ec2edd62cb2270e53f88c9e04dffe' Xinclude/Mesa/GL/gl.h Xinclude/Mesa/GL/gl_mangle.h Xinclude/Mesa/GL/glext.h Xinclude/Mesa/GL/glu.h Xinclude/Mesa/GL/glu_mangle.h Xinclude/Mesa/GL/glx.h Xinclude/Mesa/GL/glx_mangle.h Xinclude/Mesa/GL/glxext.h Xinclude/Mesa/GL/osmesa.h Xinclude/Mesa/GL/vms_x_fix.h Xinclude/Mesa/GL/wglext.h Xinclude/Mesa/GL/wmesa.h Xlib/libOSGLU.so Xlib/libOSGLU.so.1 Xlib/libOSMesa32.so Xlib/libOSMesa32.so.8 Xlibdata/pkgconfig/osmesa.pc Xlibdata/pkgconfig/osglu.pc X@dirrm include/Mesa/GL X@dirrm include/Mesa 047ec2edd62cb2270e53f88c9e04dffe echo c - libosmesa/files mkdir -p libosmesa/files > /dev/null 2>&1 echo c - libosmesa/files/CVS mkdir -p libosmesa/files/CVS > /dev/null 2>&1 echo x - libosmesa/files/CVS/Root sed 's/^X//' >libosmesa/files/CVS/Root << '1cfa3042d73f2bf8de496e59324786e6' X/home/pcvs 1cfa3042d73f2bf8de496e59324786e6 echo x - libosmesa/files/CVS/Repository sed 's/^X//' >libosmesa/files/CVS/Repository << '619385ca58a256145d425079f8eb9d4c' Xports/graphics/libosmesa/files 619385ca58a256145d425079f8eb9d4c echo x - libosmesa/files/CVS/Entries sed 's/^X//' >libosmesa/files/CVS/Entries << 'b963a01c523b1dfc1ce4a25b06ab63e7' X/patch-src-glu_Makefile/1.1/Wed Sep 14 07:33:15 2011// X/patch-src-mesa-main_macros.h/1.1/Mon Jan 31 14:25:33 2011// X/patch-src-mesa_Makefile/1.1/Wed Sep 14 07:33:15 2011// X/patch-configure/1.2/Thu Mar 1 16:27:53 2012// XD b963a01c523b1dfc1ce4a25b06ab63e7 echo x - libosmesa/files/patch-configure sed 's/^X//' >libosmesa/files/patch-configure << '4bf20d280c3eb0f97517f4c3ec30a26a' X--- configure.orig 2012-03-01 17:25:51.000000000 +0100 X+++ configure 2012-03-01 17:27:33.000000000 +0100 X@@ -6275,7 +6275,7 @@ X fi X X GL_LIB="GL" X-GLU_LIB="GLU" X+GLU_LIB="OSGLU" X OSMESA_LIB="OSMesa" X if test "x${enable_mangling}" = "xyes" ; then X DEFINES="${DEFINES} -DUSE_MGL_NAMESPACE" X@@ -6384,7 +6384,7 @@ X ;; X esac X ;; X- x86_64) X+ amd64) X case "$host_os" in X linux* | *freebsd* | dragonfly* | *netbsd*) X test "x$enable_32bit" = xyes && asm_arch=x86 || asm_arch=x86_64 4bf20d280c3eb0f97517f4c3ec30a26a echo x - libosmesa/files/patch-src-gallium-include-pipe_p_config.h sed 's/^X//' >libosmesa/files/patch-src-gallium-include-pipe_p_config.h << '18e0146b947c1a0d6b23be82c3567ba5' X--- src/gallium/include/pipe/p_config.h.orig 2012-03-06 13:42:46.000000000 +0100 X+++ src/gallium/include/pipe/p_config.h 2012-03-06 13:43:21.000000000 +0100 X@@ -120,12 +120,12 @@ X # define PIPE_ARCH_BIG_ENDIAN X #endif X X-#elif defined(__APPLE__) X+#elif defined(__APPLE__) || defined(__FreeBSD__) X #include X X-#if __DARWIN_BYTE_ORDER == __DARWIN_LITTLE_ENDIAN X+#if __DARWIN_BYTE_ORDER == __DARWIN_LITTLE_ENDIAN || _BYTE_ORDER == _LITTLE_ENDIAN X # define PIPE_ARCH_LITTLE_ENDIAN X-#elif __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN X+#elif __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN || _BYTE_ORDER == _BIG_ENDIAN X # define PIPE_ARCH_BIG_ENDIAN X #endif X 18e0146b947c1a0d6b23be82c3567ba5 echo x - libosmesa/files/patch-src-glu_Makefile sed 's/^X//' >libosmesa/files/patch-src-glu_Makefile << 'b0cd679e2906fff0ce07bb1e2df2e660' X--- src/glu/Makefile.orig 2010-02-05 01:10:40.000000000 +0100 X+++ src/glu/Makefile 2011-08-04 10:48:42.000000000 +0200 X@@ -29,9 +29,9 @@ X X install: glu.pc X $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR) X- $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig X+ $(INSTALL) -d $(DESTDIR)$(prefix)/libdata/pkgconfig X $(MINSTALL) $(TOP)/$(LIB_DIR)/$(GLU_LIB_GLOB) $(DESTDIR)$(INSTALL_LIB_DIR) X- $(INSTALL) -m 644 glu.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig X+ $(INSTALL) -m 644 glu.pc $(DESTDIR)$(prefix)/libdata/pkgconfig/osglu.pc X X clean: X -@for dir in $(SUBDIRS) ; do \ b0cd679e2906fff0ce07bb1e2df2e660 echo x - libosmesa/files/patch-src-mesa-main_macros.h sed 's/^X//' >libosmesa/files/patch-src-mesa-main_macros.h << 'abb2c1654cc28862e0be66a638b2ea2e' X--- src/mesa/main/macros.h.orig 2010-10-19 08:03:53.000000000 +0000 X+++ src/mesa/main/macros.h 2010-10-19 08:05:32.000000000 +0000 X@@ -33,6 +33,7 @@ X X #include "imports.h" X X+#define log2(x) (log(x) / log(2)) X X /** X * \name Integer / float conversion for colors, normals, etc. abb2c1654cc28862e0be66a638b2ea2e echo x - libosmesa/files/patch-src-mesa_Makefile sed 's/^X//' >libosmesa/files/patch-src-mesa_Makefile << '48844178e95de8a59e66b7c81674a901' X--- src/mesa/Makefile.orig 2011-08-04 10:47:51.000000000 +0200 X+++ src/mesa/Makefile 2011-08-04 10:48:17.000000000 +0200 X@@ -191,10 +191,10 @@ X X install-osmesa: default osmesa.pc X $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR) X- $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig X+ $(INSTALL) -d $(DESTDIR)$(prefix)/libdata/pkgconfig X $(MINSTALL) $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_GLOB) \ X $(DESTDIR)$(INSTALL_LIB_DIR) X- $(INSTALL) -m 644 osmesa.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig X+ $(INSTALL) -m 644 osmesa.pc $(DESTDIR)$(prefix)/libdata/pkgconfig X X install-dri: default X cd drivers/dri && $(MAKE) install 48844178e95de8a59e66b7c81674a901 exit