From 452df05caaa4f623b709c041e8a7a49e1d2b1a6f8513cd3096e072846e2ca6ea Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 2 Dec 2013 10:29:34 +0000 Subject: [PATCH 1/4] Accepting request 209044 from home:tobijk:X11:XOrg update to version 10.0.0 OBS-URL: https://build.opensuse.org/request/show/209044 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=343 --- Mesa.changes | 11 +++++ Mesa.spec | 100 ++++++----------------------------------- MesaLib-10.0.0.tar.bz2 | 3 ++ MesaLib-9.2.3.tar.bz2 | 3 -- baselibs.conf | 4 -- 5 files changed, 27 insertions(+), 94 deletions(-) create mode 100644 MesaLib-10.0.0.tar.bz2 delete mode 100644 MesaLib-9.2.3.tar.bz2 diff --git a/Mesa.changes b/Mesa.changes index 4d26b4c..01c7efe 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Nov 27 14:54:04 UTC 2013 - tobias.johannes.klausmann@mni.thm.de + +- Update to version 10.0.0: + Mesa 10.0 has been released! Mesa 10.0 is a feature release that + includes many updates and enhancements. The full list is available in + the release notes file in docs/relnotes/10.0.html. +- Remove libXvMC_{r300,softpipe} packages +- Remove libvdpau_{r300,softpipe} packages +- Bump libxatracker package version + ------------------------------------------------------------------- Sat Nov 16 18:51:58 UTC 2013 - hrvoje.senjan@gmail.com diff --git a/Mesa.spec b/Mesa.spec index d7caa4a..a58a0f3 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -29,11 +29,11 @@ %define llvm_r600 0 %endif -%define _version 9.2.3 +%define _version 10.0.0 %define _name_archive MesaLib Name: Mesa -Version: 9.2.3 +Version: 10.0.0 Release: 0 BuildRequires: autoconf >= 2.60 BuildRequires: automake @@ -52,6 +52,7 @@ BuildRequires: pkgconfig BuildRequires: python-base BuildRequires: xorg-x11-util-devel BuildRequires: pkgconfig(libdrm) >= 2.4.24 +BuildRequires: pkgconfig(xshmfence) %ifarch x86_64 %ix86 BuildRequires: pkgconfig(libdrm_intel) >= 2.4.38 %endif @@ -66,7 +67,9 @@ BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(xcb-dri2) +BuildRequires: pkgconfig(xcb-dri3) BuildRequires: pkgconfig(xcb-glx) +BuildRequires: pkgconfig(xcb-present) BuildRequires: pkgconfig(xdamage) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) @@ -394,13 +397,13 @@ This package is required to link wayland client applications to the EGL implementation of Mesa. %endif -%package -n libxatracker1 +%package -n libxatracker2 Summary: XA state tracker Group: System/Libraries Version: 1.0.0 Release: 0 -%description -n libxatracker1 +%description -n libxatracker2 This package contains the XA state tracker for gallium3D driver. It superseeds the Xorg state tracker and provides an infrastructure to accelerate Xorg 2D operations. It is currently used by vmwgfx @@ -411,7 +414,7 @@ Summary: Development files for the XA API Group: Development/Libraries/C and C++ Version: 1.0.0 Release: 0 -Requires: libxatracker1 = %version +Requires: libxatracker2 = %version %description -n libxatracker-devel This package contains the XA state tracker for gallium3D driver. @@ -431,15 +434,6 @@ This package contains the XvMC state tracker for Nouveau. This is still "work in progress", i.e. expect poor video quality, choppy videos and artefacts all over. -%package -n libXvMC_r300 -Summary: XVMC state tracker for R300 -Group: System/Libraries - -%description -n libXvMC_r300 -This package contains the XvMC state tracker for R300. This is -still "work in progress", i.e. expect poor video quality, choppy -videos and artefacts all over. - %package -n libXvMC_r600 Summary: XVMC state tracker for R600 Group: System/Libraries @@ -449,15 +443,6 @@ This package contains the XvMC state tracker for R600. This is still "work in progress", i.e. expect poor video quality, choppy videos and artefacts all over. -%package -n libXvMC_softpipe -Summary: Software implementation of XVMC state tracker -Group: System/Libraries - -%description -n libXvMC_softpipe -This package contains the Software implementation of the XvMC -state tracker. This is still "work in progress", i.e. expect -poor video quality, choppy videos and artefacts all over. - %package -n libvdpau_nouveau Summary: XVMC state tracker for Nouveau Group: System/Libraries @@ -466,15 +451,6 @@ Supplements: xf86-video-nouveau %description -n libvdpau_nouveau This package contains the VDPAU state tracker for Nouveau. -%package -n libvdpau_r300 -Summary: XVMC state tracker for R300 -Group: System/Libraries - -%description -n libvdpau_r300 -This package contains the VDPAU state tracker for R300. This is -still "work in progress", i.e. expect poor video quality, choppy -videos and artefacts all over. - %package -n libvdpau_r600 Summary: XVMC state tracker for R600 Group: System/Libraries @@ -491,20 +467,11 @@ Supplements: xf86-video-ati %description -n libvdpau_radeonsi This package contains the VDPAU state tracker for radeonsi. -%package -n libvdpau_softpipe -Summary: Software implementation of XVMC state tracker -Group: System/Libraries - -%description -n libvdpau_softpipe -This package contains the Software implementation of the VDPAU -state tracker. - %prep %setup -n %{name}-%{_version} -b4 -q # remove some docs rm -rf docs/README.{VMS,WIN32,OS2} #%patch11 -p1 -# Both patches are considered wrong by the author -> disable them #%patch15 -p1 #%patch13 -p1 @@ -542,6 +509,7 @@ autoreconf -fi --enable-xa \ --enable-gallium-llvm \ --with-dri-drivers=i915,i965,nouveau,r200,radeon \ + --enable-opencl-icd \ %if %llvm_r600 --with-llvm-shared-libs \ --enable-r600-llvm-compiler \ @@ -631,9 +599,9 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %ifnarch s390 aarch64 m68k -%post -n libxatracker1 -p /sbin/ldconfig +%post -n libxatracker2 -p /sbin/ldconfig -%postun -n libxatracker1 -p /sbin/ldconfig +%postun -n libxatracker2 -p /sbin/ldconfig %post -n libXvMC_nouveau %postun -n libXvMC_nouveau @@ -642,12 +610,6 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %postun -n libXvMC_r600 -%post -n libXvMC_softpipe -%postun -n libXvMC_softpipe - -%post -n libvdpau_r300 -%postun -n libvdpau_r300 - %post -n libvdpau_r600 %postun -n libvdpau_r600 @@ -655,14 +617,6 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %post -n libvdpau_radeonsi %postun -n libvdpau_radeonsi %endif - -%post -n libvdpau_softpipe -%postun -n libvdpau_softpipe -%endif - -%ifarch ppc ppc64 %ix86 x86_64 -%post -n libXvMC_r300 -%postun -n libXvMC_r300 %endif %post -n Mesa-libglapi0 -p /sbin/ldconfig @@ -688,7 +642,6 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %dir %_libdir/gallium-pipe/ %_libdir/gallium-pipe/pipe_*.so %endif -%_libdir/libdricore9*.so.* %files -n Mesa-libEGL1 %defattr(-,root,root) @@ -779,9 +732,9 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %ifnarch s390 ppc aarch64 m68k -%files -n libxatracker1 +%files -n libxatracker2 %defattr(-,root,root) -%_libdir/libxatracker.so.1* +%_libdir/libxatracker.so.2* %files -n libxatracker-devel %defattr(-,root,root) @@ -799,24 +752,12 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %_libdir/libXvMCnouveau.so.1 %_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.0 - %files -n libXvMC_r600 %defattr(-,root,root) %_libdir/libXvMCr600.so %_libdir/libXvMCr600.so.1 %_libdir/libXvMCr600.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.0 - %files -n libvdpau_r600 %defattr(-,root,root) %_libdir/vdpau/libvdpau_r600.so @@ -831,20 +772,6 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %endif -%ifnarch s390 aarch64 m68k -%files -n libXvMC_softpipe -%defattr(-,root,root) -%_libdir/libXvMCsoftpipe.so -%_libdir/libXvMCsoftpipe.so.1 -%_libdir/libXvMCsoftpipe.so.1.0.0 - -%files -n libvdpau_softpipe -%defattr(-,root,root) -%_libdir/vdpau/libvdpau_softpipe.so -%_libdir/vdpau/libvdpau_softpipe.so.1 -%_libdir/vdpau/libvdpau_softpipe.so.1.0.0 -%endif - %if %llvm_r600 %files -n libvdpau_radeonsi %defattr(-,root,root) @@ -865,7 +792,6 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %defattr(-,root,root) %doc docs/*.html %_includedir/GL/internal -%_libdir/libdricore9*.so %_libdir/pkgconfig/dri.pc %changelog diff --git a/MesaLib-10.0.0.tar.bz2 b/MesaLib-10.0.0.tar.bz2 new file mode 100644 index 0000000..71846eb --- /dev/null +++ b/MesaLib-10.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a36b9f58feb0688243a7bdd7e040173799c0280c9c47f1532206a874dd737102 +size 6730161 diff --git a/MesaLib-9.2.3.tar.bz2 b/MesaLib-9.2.3.tar.bz2 deleted file mode 100644 index beb3eb9..0000000 --- a/MesaLib-9.2.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e06d4c0d9f93391be7944e5f063fc70226a273a797934ff6602ee6cd5719175d -size 6665764 diff --git a/baselibs.conf b/baselibs.conf index c8a979a..587ca3e 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -52,11 +52,7 @@ Mesa-libglapi0 Mesa-libglapi-devel requires "Mesa-libglapi0- = " libXvMC_nouveau -libXvMC_r300 libXvMC_r600 -libXvMC_softpipe libvdpau_nouveau -libvdpau_r300 libvdpau_r600 libvdpau_radeonsi -libvdpau_softpipe From 3f54f00c216f6a175026b9c672af6b39a87d32cdd42b96a1d0d07055440ff5bb Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 2 Dec 2013 10:39:41 +0000 Subject: [PATCH 2/4] no longer use Source URL (never worked) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=344 --- Mesa.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mesa.spec b/Mesa.spec index a58a0f3..bc0a83f 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -102,7 +102,7 @@ Provides: XFree86-Mesa-64bit = %{version} Summary: System for rendering interactive 3-D graphics License: MIT Group: System/Libraries -Source: ftp://ftp.freedesktop.org/pub/mesa/%{_version}/%{_name_archive}-%{_version}.tar.bz2 +Source: %{_name_archive}-%{_version}.tar.bz2 Source2: baselibs.conf Source3: README.updates Source4: manual-pages.tar.bz2 From eb9cec0752189d62b8a8197426304a0ef93f05bc7510b851d017e93c9fda6765 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 2 Dec 2013 10:58:33 +0000 Subject: [PATCH 3/4] - disable the build of egl-wayland support on openSUSE 12.3, since Mesa 10.0 requires a higher wayland version than we have on openSUSE 12.3 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=345 --- Mesa.changes | 7 +++++++ Mesa.spec | 12 ++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Mesa.changes b/Mesa.changes index 01c7efe..d31d91b 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Dec 2 10:54:26 UTC 2013 - sndirsch@suse.com + +- disable the build of egl-wayland support on openSUSE 12.3, since + Mesa 10.0 requires a higher wayland version than we have on + openSUSE 12.3 + ------------------------------------------------------------------- Wed Nov 27 14:54:04 UTC 2013 - tobias.johannes.klausmann@mni.thm.de diff --git a/Mesa.spec b/Mesa.spec index bc0a83f..98e079f 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -60,7 +60,7 @@ BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.41 BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.45 BuildRequires: pkgconfig(libkms) >= 1.0.0 BuildRequires: pkgconfig(libudev) > 150 -%if 0%{?suse_version} >= 1230 +%if 0%{?suse_version} >= 1310 BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-server) %endif @@ -142,7 +142,7 @@ Requires: Mesa-libGLESv2-devel = %version Requires: Mesa-libglapi-devel = %version Requires: libOSMesa-devel = %version Requires: libgbm-devel -%if 0%{?suse_version} >= 1230 +%if 0%{?suse_version} >= 1310 Requires: libwayland-egl-devel %endif # bug437293 @@ -376,7 +376,7 @@ openwfd. This package provides the development environment for compiling programs against the GBM library. -%if 0%{?suse_version} >= 1230 +%if 0%{?suse_version} >= 1310 %package -n libwayland-egl1 Summary: Additional egl functions for wayland @@ -481,7 +481,7 @@ rm -rf docs/README.{VMS,WIN32,OS2} rm -f src/mesa/depend export TALLOC_LIBS=-ltalloc export TALLOC_CFLAGS="-I/usr/include" -%if 0%{?suse_version} >= 1230 +%if 0%{?suse_version} >= 1310 egl_platforms=x11,drm,wayland %else egl_platforms=x11,drm @@ -623,7 +623,7 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %postun -n Mesa-libglapi0 -p /sbin/ldconfig -%if 0%{?suse_version} >= 1230 +%if 0%{?suse_version} >= 1310 %post -n libwayland-egl1 -p /sbin/ldconfig %postun -n libwayland-egl1 -p /sbin/ldconfig @@ -704,7 +704,7 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %_libdir/libOSMesa.so %_libdir/pkgconfig/osmesa.pc -%if 0%{?suse_version} >= 1230 +%if 0%{?suse_version} >= 1310 %files -n libwayland-egl1 %defattr(-,root,root) %_libdir/libwayland-egl.so.1* From 101ea57e31fc12bde42863703093793d3b9285dd092ad578e820407c8db12c79 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 6 Dec 2013 10:51:38 +0000 Subject: [PATCH 4/4] Accepting request 209581 from openSUSE:Factory:PowerLE second attempt for ppc64le OBS-URL: https://build.opensuse.org/request/show/209581 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=346 --- Mesa.changes | 5 +++++ Mesa.spec | 26 +++++++++++++++++--------- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/Mesa.changes b/Mesa.changes index d31d91b..47f0010 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 6 07:02:50 UTC 2013 - adrian@suse.de + +- disable llvm support for ppc64le, llvm does not support ppc64le + ------------------------------------------------------------------- Mon Dec 2 10:54:26 UTC 2013 - sndirsch@suse.com diff --git a/Mesa.spec b/Mesa.spec index 98e079f..3b6ec29 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -52,7 +52,9 @@ BuildRequires: pkgconfig BuildRequires: python-base BuildRequires: xorg-x11-util-devel BuildRequires: pkgconfig(libdrm) >= 2.4.24 +%ifnarch ppc64le BuildRequires: pkgconfig(xshmfence) +%endif %ifarch x86_64 %ix86 BuildRequires: pkgconfig(libdrm_intel) >= 2.4.38 %endif @@ -597,7 +599,7 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %postun -n libgbm1 -p /sbin/ldconfig -%ifnarch s390 aarch64 m68k +%ifnarch s390 aarch64 m68k ppc64le %post -n libxatracker2 -p /sbin/ldconfig @@ -606,6 +608,9 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %post -n libXvMC_nouveau %postun -n libXvMC_nouveau +%endif +%ifnarch s390 s390x aarch64 m68k + %post -n libXvMC_r600 %postun -n libXvMC_r600 @@ -730,7 +735,7 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %_libdir/libgbm.so %_libdir/pkgconfig/gbm.pc -%ifnarch s390 ppc aarch64 m68k +%ifnarch s390 ppc aarch64 m68k ppc64le %files -n libxatracker2 %defattr(-,root,root) @@ -744,7 +749,7 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %endif -%ifnarch s390 s390x aarch64 m68k +%ifnarch s390 s390x aarch64 m68k ppc64le %files -n libXvMC_nouveau %defattr(-,root,root) @@ -752,6 +757,15 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %_libdir/libXvMCnouveau.so.1 %_libdir/libXvMCnouveau.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.0 + +%endif +%ifnarch s390 s390x aarch64 m68k + %files -n libXvMC_r600 %defattr(-,root,root) %_libdir/libXvMCr600.so @@ -764,12 +778,6 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %_libdir/vdpau/libvdpau_r600.so.1 %_libdir/vdpau/libvdpau_r600.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.0 - %endif %if %llvm_r600