Hello community, here is the log from the commit of package Mesa for openSUSE:Factory checked in at 2013-03-14 16:53:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Mesa (Old) and /work/SRC/openSUSE:Factory/.Mesa.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Mesa", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/Mesa/Mesa.changes 2013-03-01 13:57:14.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.Mesa.new/Mesa.changes 2013-03-14 16:53:42.000000000 +0100 @@ -1,0 +2,32 @@ +Sat Mar 2 02:51:10 UTC 2013 - [email protected] + +- Update to Mesa 9.1: + Mesa 9.1 implements the OpenGL 3.1 API, but the version reported by + glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / + glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver + being used. Some drivers don't support all the features required + in OpenGL 3.1. OpenGL 3.1 is only available if requested at context + creation because GL_ARB_compatibility is not supported. +- New features: + + GL_ARB_map_buffer_alignment + + GL_ARB_texture_cube_map_array +- Changes: + + Removed VAAPI state tracker (unmaintained and broken) + + Removed i965's broken hardware implementation of GL_NV_vertex_program + + Removed swrast support for GL_NV_vertex_program + + Removed swrast support for GL_NV_fragment_program + + Removed OpenVMS support (unmaintained and broken) +- Changes to package(s): + + Rename libwayland-egl1-devel -> libwayland-egl-devel + + Add a GLES3 Development package + + Removed patches: + Mesa-nodate.diff (patch1) + No dates are put into the build anymore + U_glx-fix-glGetTexLevelParameteriv-for-indirect-render.patch (patch18) + Included in this release + + Remove BuildRequires we dont need: + http://cgit.freedesktop.org/mesa/mesa/commit/?id= + af6aeae4e1286a8858e040602db338de6a1367dc + + Update Required package versions + +------------------------------------------------------------------- Old: ---- Mesa-nodate.diff MesaLib-9.0.3.tar.bz2 U_glx-fix-glGetTexLevelParameteriv-for-indirect-render.patch New: ---- MesaLib-9.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Mesa.spec ++++++ --- /var/tmp/diff_new_pack.f5hmOv/_old 2013-03-14 16:53:45.000000000 +0100 +++ /var/tmp/diff_new_pack.f5hmOv/_new 2013-03-14 16:53:45.000000000 +0100 @@ -17,11 +17,11 @@ %define glamor 1 -%define _version 9.0.3 +%define _version 9.1 %define _name_archive MesaLib Name: Mesa -Version: 9.0.3 +Version: 9.1 Release: 0 BuildRequires: autoconf >= 2.60 BuildRequires: automake @@ -36,14 +36,12 @@ BuildRequires: pkgconfig BuildRequires: python-base BuildRequires: xorg-x11-util-devel -BuildRequires: pkgconfig(dri2proto) >= 2.6 -BuildRequires: pkgconfig(glproto) >= 1.4.14 BuildRequires: pkgconfig(libdrm) >= 2.4.24 %ifarch x86_64 %ix86 BuildRequires: pkgconfig(libdrm_intel) >= 2.4.34 %endif -BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.3 -BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.31 +BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.33 +BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.40 BuildRequires: pkgconfig(libkms) >= 1.0.0 BuildRequires: pkgconfig(libudev) > 150 %if 0%{?suse_version} >= 1230 @@ -63,6 +61,7 @@ %endif BuildRequires: libXvMC-devel BuildRequires: libvdpau-devel + Url: http://www.mesa3d.org Provides: Mesa7 = %{version} Obsoletes: Mesa7 < %{version} @@ -88,8 +87,6 @@ Source4: manual-pages.tar.bz2 Source5: drirc Source6: %name-rpmlintrc -# PATCH-FIX-OPENSUSE do not put dates in sources to fix build-compare -Patch1: Mesa-nodate.diff # to be upstreamed Patch11: u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch # Patch from Fedora, fix 16bpp in llvmpipe @@ -98,8 +95,7 @@ Patch14: u_remove-os-abi-tag.patch # Patch from Fedora, use shmget when available, under llvmpipe Patch16: u_mesa-8.0-llvmpipe-shmget.patch -# bnc#802718, bfo#59876: GLX replies are parsed incorrectly when using libxcb and AIGLX -Patch18: U_glx-fix-glGetTexLevelParameteriv-for-indirect-render.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -129,6 +125,9 @@ Requires: Mesa-libglapi-devel = %version Requires: libOSMesa-devel = %version Requires: libgbm-devel +%if 0%{?suse_version} >= 1230 +Requires: libwayland-egl-devel +%endif # bug437293 %ifarch ppc64 Obsoletes: Mesa-devel-64bit < %{version} @@ -247,7 +246,7 @@ using the OpenGL|ES 1.x APIs. %package -n Mesa-libGLESv2-2 -Summary: Free implementation of the OpenGL|ES 2.x, 3.x API +Summary: Free implementation of the OpenGL|ES 2.x API Group: System/Libraries %description -n Mesa-libGLESv2-2 @@ -260,7 +259,7 @@ vertex and fragment shaders. %package -n Mesa-libGLESv2-devel -Summary: Development files for the OpenGL ES 2.x, 3.x API +Summary: Development files for the OpenGL ES 2.x API Group: Development/Libraries/C and C++ Requires: Mesa-libGLESv2-2 = %version Requires: pkgconfig(egl) @@ -275,7 +274,22 @@ vertex and fragment shaders. This package provides a development environment for building -applications using the OpenGL|ES 2.x and 3.x APIs. +applications using the OpenGL|ES 2.x APIs. + +%package -n Mesa-libGLESv3-devel +Summary: Development files for the OpenGL ES 3.x API +Group: Development/Libraries/C and C++ +#Requires: Mesa-libGLESv3-3 = %version +Requires: pkgconfig(egl) + +%description -n Mesa-libGLESv3-devel +OpenGL|ES is a cross-platform API for full-function 2D and 3D +graphics on embedded systems - including consoles, phones, appliances +and vehicles. It contains a subset of OpenGL plus a number of +extensions for the special needs of embedded systems. + +This package provides a development environment for building +applications using the OpenGL|ES 3.x APIs. %package -n Mesa-libIndirectGL1 # This is the equivalent to Debian's libgl1-mesa-swx11 @@ -381,14 +395,14 @@ that run within the wayland framework. This allows for applications that need not run full-screen and cooperate with a compositor. -%package -n libwayland-egl1-devel +%package -n libwayland-egl-devel Summary: Development files for libwayland-egl1 Group: Development/Libraries/C and C++ Version: 1.0.0 Release: 0 Requires: libwayland-egl1 = %version -%description -n libwayland-egl1-devel +%description -n libwayland-egl-devel This package is required to link wayland client applications to the EGL implementation of Mesa. %endif @@ -504,14 +518,12 @@ %prep %setup -n %{name}-%{_version} -b4 -q -%patch1 -p1 # remove some docs rm -rf docs/README.{VMS,WIN32,OS2} #%patch11 -p1 %patch16 -p1 %patch13 -p1 %patch14 -p1 -%patch18 -p1 %build @@ -527,6 +539,7 @@ autoreconf -fi ### --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga \ ### --with-gallium-drivers=r300,r600,nouveau,swrast,svga \ +### --with-gallium-drivers=r300,nouveau,swrast,svga \ %configure --enable-gles1 \ --enable-gles2 \ --enable-dri \ @@ -559,10 +572,11 @@ make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \; # build and install Indirect Rendering only libGL -make clean-local +#### +make distclean-generic %configure --enable-xlib-glx \ - --enable-osmesa \ --disable-dri \ + --enable-osmesa \ --with-egl-platforms=x11 \ --with-gallium-drivers="" \ --with-gl-lib-name=IndirectGL \ @@ -720,6 +734,12 @@ %_libdir/libGLESv2.so %_libdir/pkgconfig/glesv2.pc +%files -n Mesa-libGLESv3-devel +%defattr(-,root,root) +%_includedir/GLES3 +#%_libdir/libGLESv3.so +#%_libdir/pkgconfig/glesv3.pc + %files -n Mesa-libIndirectGL1 %defattr(-,root,root) %_libdir/libIndirectGL.so.1* @@ -744,10 +764,11 @@ %defattr(-,root,root) %_libdir/libwayland-egl.so.1* -%files -n libwayland-egl1-devel +%files -n libwayland-egl-devel %defattr(-,root,root) %_libdir/libwayland-egl.so %_libdir/pkgconfig/wayland-egl.pc + %endif %files -n libgbm1 @@ -776,43 +797,43 @@ %defattr(-,root,root) %_libdir/libXvMCnouveau.so %_libdir/libXvMCnouveau.so.1 -%_libdir/libXvMCnouveau.so.1.0 +%_libdir/libXvMCnouveau.so.1.0.0 %files -n libXvMC_r300 %defattr(-,root,root) %_libdir/libXvMCr300.so %_libdir/libXvMCr300.so.1 -%_libdir/libXvMCr300.so.1.0 +%_libdir/libXvMCr300.so.1.0.0 %files -n libXvMC_r600 %defattr(-,root,root) %_libdir/libXvMCr600.so %_libdir/libXvMCr600.so.1 -%_libdir/libXvMCr600.so.1.0 +%_libdir/libXvMCr600.so.1.0.0 %files -n libXvMC_softpipe %defattr(-,root,root) %_libdir/libXvMCsoftpipe.so %_libdir/libXvMCsoftpipe.so.1 -%_libdir/libXvMCsoftpipe.so.1.0 +%_libdir/libXvMCsoftpipe.so.1.0.0 %files -n libvdpau_nouveau %defattr(-,root,root) %_libdir/vdpau/libvdpau_nouveau.so %_libdir/vdpau/libvdpau_nouveau.so.1 -%_libdir/vdpau/libvdpau_nouveau.so.1.0 +%_libdir/vdpau/libvdpau_nouveau.so.1.0.0 %files -n libvdpau_r300 %defattr(-,root,root) %_libdir/vdpau/libvdpau_r300.so %_libdir/vdpau/libvdpau_r300.so.1 -%_libdir/vdpau/libvdpau_r300.so.1.0 +%_libdir/vdpau/libvdpau_r300.so.1.0.0 %files -n libvdpau_r600 %defattr(-,root,root) %_libdir/vdpau/libvdpau_r600.so %_libdir/vdpau/libvdpau_r600.so.1 -%_libdir/vdpau/libvdpau_r600.so.1.0 +%_libdir/vdpau/libvdpau_r600.so.1.0.0 #%files -n libvdpau_radeonsi #%defattr(-,root,root) @@ -824,7 +845,7 @@ %defattr(-,root,root) %_libdir/vdpau/libvdpau_softpipe.so %_libdir/vdpau/libvdpau_softpipe.so.1 -%_libdir/vdpau/libvdpau_softpipe.so.1.0 +%_libdir/vdpau/libvdpau_softpipe.so.1.0.0 %endif %files -n Mesa-libglapi0 ++++++ MesaLib-9.0.3.tar.bz2 -> MesaLib-9.1.tar.bz2 ++++++ ++++ 394825 lines of diff (skipped) ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.f5hmOv/_old 2013-03-14 16:53:52.000000000 +0100 +++ /var/tmp/diff_new_pack.f5hmOv/_new 2013-03-14 16:53:52.000000000 +0100 @@ -8,11 +8,13 @@ requires "Mesa-libGL-devel-<targettype> = <version>" requires "Mesa-libGLESv1_CM-devel-<targettype> = <version>" requires "Mesa-libGLESv2-devel-<targettype> = <version>" + requires "Mesa-libGLESv3-devel-<targettype> = <version>" requires "Mesa-libIndirectGL1-<targettype> = <version>" requires "Mesa-libIndirectGL-devel-<targettype> = <version>" requires "libOSMesa9-<targettype> = <version>" requires "libOSMesa-devel-<targettype> = <version>" requires "libgbm-devel-<targettype>" +# requires "libwayland-egl-devel-<targettype> = <version>" requires "Mesa-libglapi0-<targettype> = <version>" requires "Mesa-libglapi-devel-<targettype> = <version>" obsoletes "XFree86-Mesa-devel-<targettype> xorg-x11-Mesa-devel-<targettype>" @@ -34,6 +36,9 @@ Mesa-libGLESv2-devel requires -Mesa-libGLESv2-<targettype> requires "Mesa-libGLESv2-2-<targettype> = <version>" +Mesa-libGLESv3-devel +# requires -Mesa-libGLESv3-<targettype> +# requires "Mesa-libGLESv3-3-<targettype> = <version>" Mesa-libIndirectGL1 Mesa-libIndirectGL-devel requires -Mesa-libIndirectGL-<targettype> @@ -46,6 +51,10 @@ libgbm-devel requires -libgbm-<targettype> requires "libgbm1-<targettype> = <version>" +libwayland-egl1 +libwayland-egl-devel + requires -libwayland-egl-<targettype> + requires "libwayland-egl-<targettype> = <version>" Mesa-libglapi0 Mesa-libglapi-devel requires -Mesa-libglapi-<targettype> ++++++ u_mesa-8.0-llvmpipe-shmget.patch ++++++ --- /var/tmp/diff_new_pack.f5hmOv/_old 2013-03-14 16:53:52.000000000 +0100 +++ /var/tmp/diff_new_pack.f5hmOv/_new 2013-03-14 16:53:52.000000000 +0100 @@ -1,7 +1,8 @@ -diff -up mesa-20120424/src/gallium/state_trackers/dri/sw/drisw.c.jx mesa-20120424/src/gallium/state_trackers/dri/sw/drisw.c ---- mesa-20120424/src/gallium/state_trackers/dri/sw/drisw.c.jx 2012-04-24 07:37:03.000000000 -0400 -+++ mesa-20120424/src/gallium/state_trackers/dri/sw/drisw.c 2012-05-16 13:30:36.596312047 -0400 -@@ -252,8 +252,6 @@ drisw_update_tex_buffer(struct dri_drawa +diff --git a/src/gallium/state_trackers/dri/sw/drisw.c b/src/gallium/state_trackers/dri/sw/drisw.c +index 5247126..3cdb6eb 100644 +--- a/src/gallium/state_trackers/dri/sw/drisw.c ++++ b/src/gallium/state_trackers/dri/sw/drisw.c +@@ -252,8 +252,6 @@ drisw_update_tex_buffer(struct dri_drawable *drawable, struct pipe_transfer *transfer; char *map; int x, y, w, h; @@ -10,7 +11,7 @@ get_drawable_info(dPriv, &x, &y, &w, &h); -@@ -266,14 +264,6 @@ drisw_update_tex_buffer(struct dri_drawa +@@ -265,14 +263,6 @@ drisw_update_tex_buffer(struct dri_drawable *drawable, /* Copy the Drawable content to the mapped texture buffer */ get_image(dPriv, x, y, w, h, map); @@ -23,8 +24,8 @@ - } - pipe_transfer_unmap(pipe, transfer); - pipe_transfer_destroy(pipe, transfer); } + diff -up mesa-20120424/src/glx/drisw_glx.c.jx mesa-20120424/src/glx/drisw_glx.c --- mesa-20120424/src/glx/drisw_glx.c.jx 2012-04-24 07:37:03.000000000 -0400 +++ mesa-20120424/src/glx/drisw_glx.c 2012-05-16 13:29:25.087965268 -0400 ++++++ u_remove-os-abi-tag.patch ++++++ --- /var/tmp/diff_new_pack.f5hmOv/_old 2013-03-14 16:53:52.000000000 +0100 +++ /var/tmp/diff_new_pack.f5hmOv/_new 2013-03-14 16:53:52.000000000 +0100 @@ -1,52 +1,72 @@ -Author: Stefan Dirsch <[email protected]> -Subject: Remove OS ABI tag from libGL, so it is no longer preferred over libGLs without OS ABI tag -References: bnc#765294, fdo#26663 +From 113326370fcc975af6d6fb5825728995fc8a6c70 Mon Sep 17 00:00:00 2001 +From: Tobias Klausmann <[email protected]> +Date: Fri, 19 Oct 2012 22:46:21 +0200 +Subject: [PATCH] Subject: Remove OS ABI tag from libGL, so it is no longer + preferred over libGLs without OS ABI tag References: + bnc#765294, fdo#26663 -diff -u -r -p mesa-8.0.3.orig//src/mapi/glapi/gen/gl_x86-64_asm.py mesa-8.0.3/src/mapi/glapi/gen/gl_x86-64_asm.py ---- mesa-8.0.3.orig//src/mapi/glapi/gen/gl_x86-64_asm.py 2012-06-12 12:07:39.000000000 +0200 -+++ mesa-8.0.3/src/mapi/glapi/gen/gl_x86-64_asm.py 2012-06-12 12:09:17.000000000 +0200 -@@ -181,7 +181,7 @@ class PrintGenericStubs(gl_XML.gl_print_ +Original Author: Stefan Dirsch <[email protected]> + +changed for Mesa 9.1 +--- + src/mapi/glapi/gen/gl_x86-64_asm.py | 2 +- + src/mapi/glapi/gen/gl_x86_asm.py | 2 +- + src/mapi/mapi/entry_x86-64_tls.h | 2 +- + src/mapi/mapi/entry_x86_tls.h | 2 +- + 4 Dateien geändert, 4 Zeilen hinzugefügt(+), 4 Zeilen entfernt(-) + +diff --git a/src/mapi/glapi/gen/gl_x86-64_asm.py b/src/mapi/glapi/gen/gl_x86-64_asm.py +index a3548c2..edfc548 100644 +--- a/src/mapi/glapi/gen/gl_x86-64_asm.py ++++ b/src/mapi/glapi/gen/gl_x86-64_asm.py +@@ -181,7 +181,7 @@ class PrintGenericStubs(gl_XML.gl_print_base): - def printRealFooter(self): - print '' -- print '#if defined(GLX_USE_TLS) && defined(__linux__)' -+ print '#if 0 && defined(__linux__)' - print ' .section ".note.ABI-tag", "a"' - print ' .p2align 2' - print ' .long 1f - 0f /* name length */' -diff -u -r -p mesa-8.0.3.orig//src/mapi/glapi/gen/gl_x86_asm.py mesa-8.0.3/src/mapi/glapi/gen/gl_x86_asm.py ---- mesa-8.0.3.orig//src/mapi/glapi/gen/gl_x86_asm.py 2012-06-12 12:07:39.000000000 +0200 -+++ mesa-8.0.3/src/mapi/glapi/gen/gl_x86_asm.py 2012-06-12 12:09:29.000000000 +0200 -@@ -189,7 +189,7 @@ class PrintGenericStubs(gl_XML.gl_print_ - print '\t\tALIGNTEXT16' - print 'GLNAME(gl_dispatch_functions_end):' - print '' -- print '#if defined(GLX_USE_TLS) && defined(__linux__)' -+ print '#if 0 && defined(__linux__)' - print ' .section ".note.ABI-tag", "a"' - print ' .p2align 2' - print ' .long 1f - 0f /* name length */' -diff -u -r -p mesa-8.0.3.orig//src/mapi/mapi/entry_x86-64_tls.h mesa-8.0.3/src/mapi/mapi/entry_x86-64_tls.h ---- mesa-8.0.3.orig//src/mapi/mapi/entry_x86-64_tls.h 2012-06-12 12:07:39.000000000 +0200 -+++ mesa-8.0.3/src/mapi/mapi/entry_x86-64_tls.h 2012-06-12 12:10:20.000000000 +0200 + def printRealFooter(self): + print '' +- print '#if defined(GLX_USE_TLS) && defined(__linux__)' ++ print '#if 0 && defined(__linux__)' + print ' .section ".note.ABI-tag", "a"' + print ' .p2align 2' + print ' .long 1f - 0f /* name length */' +diff --git a/src/mapi/glapi/gen/gl_x86_asm.py b/src/mapi/glapi/gen/gl_x86_asm.py +index 8b0f6ee..7e8105c 100644 +--- a/src/mapi/glapi/gen/gl_x86_asm.py ++++ b/src/mapi/glapi/gen/gl_x86_asm.py +@@ -189,7 +189,7 @@ class PrintGenericStubs(gl_XML.gl_print_base): + print '\t\tALIGNTEXT16' + print 'GLNAME(gl_dispatch_functions_end):' + print '' +- print '#if defined(GLX_USE_TLS) && defined(__linux__)' ++ print '#if 0 && defined(__linux__)' + print ' .section ".note.ABI-tag", "a"' + print ' .p2align 2' + print ' .long 1f - 0f /* name length */' +diff --git a/src/mapi/mapi/entry_x86-64_tls.h b/src/mapi/mapi/entry_x86-64_tls.h +index 72d4125..06d4b3d 100644 +--- a/src/mapi/mapi/entry_x86-64_tls.h ++++ b/src/mapi/mapi/entry_x86-64_tls.h @@ -28,7 +28,7 @@ #include "u_macros.h" -#ifdef __linux__ -+#if 0 ++#ifdef opensuse_dontbuild __asm__(".section .note.ABI-tag, \"a\"\n\t" ".p2align 2\n\t" ".long 1f - 0f\n\t" /* name length */ -diff -u -r -p mesa-8.0.3.orig//src/mapi/mapi/entry_x86_tls.h mesa-8.0.3/src/mapi/mapi/entry_x86_tls.h ---- mesa-8.0.3.orig//src/mapi/mapi/entry_x86_tls.h 2012-06-12 12:07:39.000000000 +0200 -+++ mesa-8.0.3/src/mapi/mapi/entry_x86_tls.h 2012-06-12 12:10:32.000000000 +0200 +diff --git a/src/mapi/mapi/entry_x86_tls.h b/src/mapi/mapi/entry_x86_tls.h +index de91812..a38d9a0 100644 +--- a/src/mapi/mapi/entry_x86_tls.h ++++ b/src/mapi/mapi/entry_x86_tls.h @@ -29,7 +29,7 @@ #include <string.h> #include "u_macros.h" -#ifdef __linux__ -+#if 0 ++#ifdef opensuse_dontbuild __asm__(".section .note.ABI-tag, \"a\"\n\t" ".p2align 2\n\t" ".long 1f - 0f\n\t" /* name length */ +-- +1.7.10.4 + -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
