From: Victor Martinez Date: Tue, 12 Feb 2013 09:39:21 +0000 (+0100) Subject: mesa3d: updated to 9.0.2 X-Git-Url: http://gitweb/?a=commitdiff_plain;h=af48ac0460b606d6a9a11dbf8de7553b7a376bee;p=ports%2Fxorg-arm.git mesa3d: updated to 9.0.2 --- diff --git a/mesa3d/.footprint b/mesa3d/.footprint index e6e174d..d7d9233 100644 --- a/mesa3d/.footprint +++ b/mesa3d/.footprint @@ -9,8 +9,6 @@ drwxr-xr-x root/root usr/include/GL/ -rw-r--r-- root/root usr/include/GL/gl.h -rw-r--r-- root/root usr/include/GL/gl_mangle.h -rw-r--r-- root/root usr/include/GL/glext.h --rw-r--r-- root/root usr/include/GL/glu.h --rw-r--r-- root/root usr/include/GL/glu_mangle.h -rw-r--r-- root/root usr/include/GL/glx.h -rw-r--r-- root/root usr/include/GL/glx_mangle.h -rw-r--r-- root/root usr/include/GL/glxext.h @@ -33,24 +31,31 @@ drwxr-xr-x root/root usr/include/KHR/ -rw-r--r-- root/root usr/include/KHR/khrplatform.h drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/dri/ +-rwxr-xr-x root/root usr/lib/dri/swrast_dri.la -rwxr-xr-x root/root usr/lib/dri/swrast_dri.so -rwxr-xr-x root/root usr/lib/dri/vmwgfx_dri.so -lrwxrwxrwx root/root usr/lib/libEGL.so -> libEGL.so.1 -lrwxrwxrwx root/root usr/lib/libEGL.so.1 -> libEGL.so.1.0 --rwxr-xr-x root/root usr/lib/libEGL.so.1.0 -lrwxrwxrwx root/root usr/lib/libGL.so -> libGL.so.1 -lrwxrwxrwx root/root usr/lib/libGL.so.1 -> libGL.so.1.2 --rwxr-xr-x root/root usr/lib/libGL.so.1.2 -lrwxrwxrwx root/root usr/lib/libGLESv1_CM.so -> libGLESv1_CM.so.1 +-rwxr-xr-x root/root usr/lib/libEGL.la +lrwxrwxrwx root/root usr/lib/libEGL.so -> libEGL.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libEGL.so.1 -> libEGL.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libEGL.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libGL.la +lrwxrwxrwx root/root usr/lib/libGL.so -> libGL.so.1.2.0 +lrwxrwxrwx root/root usr/lib/libGL.so.1 -> libGL.so.1.2.0 +-rwxr-xr-x root/root usr/lib/libGL.so.1.2.0 +-rwxr-xr-x root/root usr/lib/libGLESv1_CM.la +lrwxrwxrwx root/root usr/lib/libGLESv1_CM.so -> libGLESv1_CM.so.1.1.0 lrwxrwxrwx root/root usr/lib/libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.1.0 -rwxr-xr-x root/root usr/lib/libGLESv1_CM.so.1.1.0 -lrwxrwxrwx root/root usr/lib/libGLESv2.so -> libGLESv2.so.2 +-rwxr-xr-x root/root usr/lib/libGLESv2.la +lrwxrwxrwx root/root usr/lib/libGLESv2.so -> libGLESv2.so.2.0.0 lrwxrwxrwx root/root usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.0.0 -rwxr-xr-x root/root usr/lib/libGLESv2.so.2.0.0 -lrwxrwxrwx root/root usr/lib/libGLU.so -> libGLU.so.1 -lrwxrwxrwx root/root usr/lib/libGLU.so.1 -> libGLU.so.1.3.08004 --rwxr-xr-x root/root usr/lib/libGLU.so.1.3.08004 -lrwxrwxrwx root/root usr/lib/libglapi.so -> libglapi.so.0 +-rwxr-xr-x root/root usr/lib/libdricore9.0.2.la +lrwxrwxrwx root/root usr/lib/libdricore9.0.2.so -> libdricore9.0.2.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libdricore9.0.2.so.1 -> libdricore9.0.2.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libdricore9.0.2.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libglapi.la +lrwxrwxrwx root/root usr/lib/libglapi.so -> libglapi.so.0.0.0 lrwxrwxrwx root/root usr/lib/libglapi.so.0 -> libglapi.so.0.0.0 -rwxr-xr-x root/root usr/lib/libglapi.so.0.0.0 drwxr-xr-x root/root usr/lib/pkgconfig/ @@ -59,4 +64,3 @@ drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/gl.pc -rw-r--r-- root/root usr/lib/pkgconfig/glesv1_cm.pc -rw-r--r-- root/root usr/lib/pkgconfig/glesv2.pc --rw-r--r-- root/root usr/lib/pkgconfig/glu.pc diff --git a/mesa3d/.md5sum b/mesa3d/.md5sum index fbdcd85..65cc599 100644 --- a/mesa3d/.md5sum +++ b/mesa3d/.md5sum @@ -1,2 +1 @@ -d546f988adfdf986cff45b1efa2d8a46 MesaLib-8.0.4.tar.bz2 -0082f4d17674155aa13bc611a5687788 mesa-8.0.3-llvm-3.1-fixes.patch +dc45d1192203e418163e0017640e1cfc MesaLib-9.0.2.tar.bz2 diff --git a/mesa3d/Pkgfile b/mesa3d/Pkgfile index 45ca6fe..322587b 100644 --- a/mesa3d/Pkgfile +++ b/mesa3d/Pkgfile @@ -5,23 +5,19 @@ # Depends on: libdrm, xorg-makedepend, xorg-glproto, xorg-xextproto, xorg-dri2proto, xorg-libx11, xorg-xf86vidmodeproto, xorg-libxext, xorg-libxxf86vm, xorg-libxt, xorg-libxdamage, xorg-libpciaccess, expat, talloc, libxml2-python name=mesa3d -version=8.0.4 -release=2 -source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2 - mesa-8.0.3-llvm-3.1-fixes.patch) +version=9.0.2 +release=1 +source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2) build() { cd Mesa-$version - patch -p 1 -i $SRC/mesa-8.0.3-llvm-3.1-fixes.patch - + autoreconf --install --symlink ./configure --prefix=/usr \ - --with-driver=dri \ --with-dri-drivers=swrast \ --with-gallium-drivers=svga \ --enable-gles1 \ - --enable-gles2 \ - --enable-glu + --enable-gles2 make make DESTDIR=$PKG install diff --git a/mesa3d/mesa-8.0.3-llvm-3.1-fixes.patch b/mesa3d/mesa-8.0.3-llvm-3.1-fixes.patch deleted file mode 100644 index 922577a..0000000 --- a/mesa3d/mesa-8.0.3-llvm-3.1-fixes.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp -index a50a51d..f1bb4d9 100644 ---- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp -+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp -@@ -235,7 +235,24 @@ lp_disassemble(const void* func) - int AsmPrinterVariant = AsmInfo->getAssemblerDialect(); - #endif - --#if HAVE_LLVM >= 0x0300 -+#if HAVE_LLVM >= 0x0301 -+ OwningPtr MRI(T->createMCRegInfo(Triple)); -+ if (!MRI) { -+ debug_printf("error: no register info for target %s\n", Triple.c_str()); -+ return; -+ } -+ -+ OwningPtr MII(T->createMCInstrInfo()); -+ if (!MII) { -+ debug_printf("error: no instruction info for target %s\n", Triple.c_str()); -+ return; -+ } -+#endif -+ -+#if HAVE_LLVM >= 0x0301 -+ OwningPtr Printer( -+ T->createMCInstPrinter(AsmPrinterVariant, *AsmInfo, *MII, *MRI, *STI)); -+#elif HAVE_LLVM == 0x0300 - OwningPtr Printer( - T->createMCInstPrinter(AsmPrinterVariant, *AsmInfo, *STI)); - #elif HAVE_LLVM >= 0x0208 -diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp -index fe7616b..68f8808 100644 ---- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp -+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp -@@ -62,7 +62,11 @@ - extern "C" void - lp_register_oprofile_jit_event_listener(LLVMExecutionEngineRef EE) - { -+#if HAVE_LLVM >= 0x0301 -+ llvm::unwrap(EE)->RegisterJITEventListener(llvm::JITEventListener::createOProfileJITEventListener()); -+#else - llvm::unwrap(EE)->RegisterJITEventListener(llvm::createOProfileJITEventListener()); -+#endif - }