Hello community, here is the log from the commit of package libglvnd for openSUSE:Factory checked in at 2020-08-28 21:13:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libglvnd (Old) and /work/SRC/openSUSE:Factory/.libglvnd.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libglvnd" Fri Aug 28 21:13:13 2020 rev:16 rq:829046 version:1.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libglvnd/libglvnd.changes 2019-12-02 11:30:33.078582059 +0100 +++ /work/SRC/openSUSE:Factory/.libglvnd.new.3399/libglvnd.changes 2020-08-28 21:13:22.040091389 +0200 @@ -1,0 +2,17 @@ +Mon Aug 17 13:59:23 UTC 2020 - Dirk Mueller <[email protected]> + +- update to 1.3.2: + * Update GL/gl.h to match Mesa. + * GLdispatch: Improve the x86 tsd stubs performance. + * GLdispatch: Define dynamic dispatch stubs at compile time. + * GLdispatch: Change entry_generate_default_code to take an index. + * GLdispatch: Use all 4096 dynamic dispatch stubs. + * Remove -Werror from default CFLAGS + +- run tests +- add disable-glx-tests.patch: disable tests that require X +- remove 0001-include-install-GL-headers-when-GL-is-enabled.patch + 0002-Add-a-configure-option-to-disable-glesv1-or-glesv2.patch + 0003-egl-Sync-with-Khronos.patch - upstream + +------------------------------------------------------------------- Old: ---- 0001-include-install-GL-headers-when-GL-is-enabled.patch 0002-Add-a-configure-option-to-disable-glesv1-or-glesv2.patch 0003-egl-Sync-with-Khronos.patch _service _servicedata libglvnd-1.2.0.tar.gz New: ---- disable-glx-tests.patch libglvnd-1.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libglvnd.spec ++++++ --- /var/tmp/diff_new_pack.hV5ctZ/_old 2020-08-28 21:13:23.516092105 +0200 +++ /var/tmp/diff_new_pack.hV5ctZ/_new 2020-08-28 21:13:23.516092105 +0200 @@ -1,7 +1,7 @@ # # spec file for package libglvnd # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: libglvnd -Version: 1.2.0 +Version: 1.3.2 Release: 0 Summary: The GL Vendor-Neutral Dispatch library License: MIT Group: Development/Libraries/C and C++ -Url: https://github.com/NVIDIA/libglvnd -# Source is _service generated -Source: %name-%version.tar.gz +URL: https://github.com/NVIDIA/libglvnd +Source: https://github.com/NVIDIA/libglvnd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: baselibs.conf -Patch1: 0001-include-install-GL-headers-when-GL-is-enabled.patch -Patch2: 0002-Add-a-configure-option-to-disable-glesv1-or-glesv2.patch -Patch3: 0003-egl-Sync-with-Khronos.patch +Patch1: disable-glx-tests.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -41,9 +37,8 @@ BuildRequires: pkgconfig(glproto) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Provides: libglvnd0 = %version-%release -Obsoletes: libglvnd0 <= %version-%release +Provides: libglvnd0 = %{version}-%{release} +Obsoletes: libglvnd0 <= %{version}-%{release} %description Vendor-neutral dispatch layer for arbitrating OpenGL API calls between @@ -53,7 +48,7 @@ %package devel Summary: Development files for libglvnd Group: Development/Libraries/C and C++ -Requires: %name = %version +Requires: %{name} = %{version} %description devel Vendor-neutral dispatch layer for arbitrating OpenGL API calls between @@ -64,67 +59,66 @@ %prep %setup -q %patch1 -p1 -%patch2 -p1 -%patch3 -p1 # fix env shebang to call py3 directly -sed -i -e "1s|#!.*|#!/usr/bin/python3|" src/generate/*.py +sed -i -e "1s|#!.*|#!%{_bindir}/python3|" src/generate/*.py %build ./autogen.sh %configure \ %if 0%{?suse_version} < 1330 - --libdir=/usr/X11R6/%_lib \ + --libdir=%{_prefix}/X11R6/%{_lib} \ %endif --disable-static \ --disable-headers \ --disable-silent-rules -make %{?_smp_mflags} +%make_build %install %make_install -find "%buildroot" -type f -name "*.la" -delete ->%_builddir/%name-%version/filelist.rpm +find %{buildroot} -type f -name "*.la" -delete -print +>%{_builddir}/%{name}-%{version}/filelist.rpm %if 0%{?suse_version} < 1330 -mkdir -p %buildroot/%_libdir/pkgconfig -mv %buildroot/usr/X11R6/%_lib/pkgconfig/*.pc %buildroot/%_libdir/pkgconfig -if [ "%_lib" == "lib64" ]; then - mkdir -p %buildroot/%_sysconfdir/ld.so.conf.d - cat > %buildroot/%_sysconfdir/ld.so.conf.d/%name.conf << EOF -/usr/X11R6/%_lib -/usr/X11R6/lib +mkdir -p %{buildroot}/%{_libdir}/pkgconfig +mv %{buildroot}%{_prefix}/X11R6/%{_lib}/pkgconfig/*.pc %{buildroot}/%{_libdir}/pkgconfig +if [ "%{_lib}" == "lib64" ]; then + mkdir -p %{buildroot}/%{_sysconfdir}/ld.so.conf.d + cat > %{buildroot}/%{_sysconfdir}/ld.so.conf.d/%{name}.conf << EOF +%{_prefix}/X11R6/%{_lib} +%{_prefix}/X11R6/lib EOF - echo "%config %_sysconfdir/ld.so.conf.d/%name.conf" >%_builddir/%name-%version/filelist.rpm + echo "%config %{_sysconfdir}/ld.so.conf.d/%{name}.conf" >%{_builddir}/%{name}-%{version}/filelist.rpm fi %endif -mkdir -p %buildroot/usr/share/doc/packages/%name/pkgconfig -mv %buildroot/%_libdir/pkgconfig/{gl,egl,glesv1_cm,glesv2}.pc \ - %buildroot/usr/share/doc/packages/%name/pkgconfig +mkdir -p %{buildroot}%{_docdir}/%{name}/pkgconfig +mv %{buildroot}/%{_libdir}/pkgconfig/{gl,egl,glesv1_cm,glesv2}.pc \ + %{buildroot}%{_docdir}/%{name}/pkgconfig + +%check +%make_build check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f filelist.rpm -%defattr(-,root,root) %doc README.md -/usr/share/doc/packages/%name/pkgconfig +%{_docdir}/%{name}/pkgconfig %if 0%{?suse_version} < 1330 -%dir /usr/X11R6 -%dir /usr/X11R6/%_lib -/usr/X11R6/%_lib/lib*.so.* +%dir %{_prefix}/X11R6 +%dir %{_prefix}/X11R6/%{_lib} +%{_prefix}/X11R6/%{_lib}/lib*.so.* %else -%_libdir/lib*.so.* +%{_libdir}/lib*.so.* %endif %files devel -%defattr(-,root,root) %if 0%{?suse_version} < 1330 -%dir /usr/X11R6 -%dir /usr/X11R6/%_lib -/usr/X11R6/%_lib/lib*.so +%dir %{_prefix}/X11R6 +%dir %{_prefix}/X11R6/%{_lib} +%{_prefix}/X11R6/%{_lib}/lib*.so %else -%_libdir/lib*.so +%{_libdir}/lib*.so %endif -%_libdir/pkgconfig/*.pc -%_includedir/glvnd/ +%{_libdir}/pkgconfig/*.pc +%{_includedir}/glvnd/ %changelog ++++++ disable-glx-tests.patch ++++++ Index: libglvnd-1.3.2/tests/Makefile.am =================================================================== --- libglvnd-1.3.2.orig/tests/Makefile.am +++ libglvnd-1.3.2/tests/Makefile.am @@ -100,7 +100,8 @@ TESTS_GLX += testglxqueryversion.sh if ENABLE_GLX -TESTS += $(TESTS_GLX) +# need a running X server +# TESTS += $(TESTS_GLX) check_PROGRAMS += testglxcreatecontext testglxcreatecontext_CFLAGS = $(CFLAGS_COMMON) $(X11_CFLAGS) ++++++ libglvnd-1.2.0.tar.gz -> libglvnd-1.3.2.tar.gz ++++++ ++++ 13408 lines of diff (skipped)
