From 172206ea7a60e887c22733d9e0c2cb1f8f4ffc5b5bb9a0631d885d1d3aec1c5b Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sat, 4 Jan 2020 21:45:39 +0000 Subject: [PATCH] Accepting request 760830 from home:StefanBruens:branches:openSUSE:Factory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to version 1.5.4: + Don't build GLX tests if X11 support is disabled + Add unit tests for epoxy_gl_version() + Reduce the size of the binary by reusing static strings + Fix build on Solaris + Update the GL registries - Only require python3-base package for building instead of full python3 package. - Allow building with meson 0.46: Add Lower-the-minimum-required-version-of-Meson.patch - Remove pkgconfig dependecies for glesv1_cm and glesv2: Starting with mesa commit b01524fff05 "meson: don't build libGLES*.so with GLVND" mesa stopped providing glesv1_cm.pc and glesv2.pc along. Let epoxy find the libraries directly instead. - Update to version 1.5.3: + Fix build with uClibc + Fix GLES3 symbol lookup + Fix conditional compilation + Require Meson 0.47 + Fix Autotools build with EGL-X11 support - Changes from version 1.5.2: + Fix the detection of the -z,relro linker flag + Query the EGL context version when bootstrapping on GLES + Avoid inadvertedly loading libraries when probing for them + Consistently use abort() instead of exit() for internal state checks + Fix a performance regression in the global function pointer trampolines introduced by using -Bsymbolic-functions + Improve performance when using GL function pointers like glAlphaFunc - Changes from version 1.5.1: + Generalise checks for dlvsym + Add an option for disabling building the test suite + Typo fixes in the comments and documentation + Simplify the Meson configuration logic for EGL and GLX + Use assert when no context is found + Remove a test superceded by GLVND + Avoid Meson warnings when testing for linker arguments - Pass tests=false to meson, ensure we do not build the test-suite. - Drop la files removal, they are no longer built. - Run spec-cleaner, modernize spec. - Update to version 1.5.0: + Bump the Meson dependency to 0.44.1. + Include Xlib.h in the tests that use X11 API. + Update the GL registry to OpenGL 4.6. + Add gl and egl private dependencies in the pkg-config file. + Allow building Epoxy without X11 support. + Rename the Meson configuration options to be more idiomatic. + New API: - epoxy_set_resolver_failure_handler(). - epoxy_glsl_version(). - epoxy_extension_in_string(). - Do a minor spec cleanup, use autosetup macro. - Pass docs=false, glx=yes, egl=yes and x11=true to meson, ensure we build the features we want. - -devel package requires pkgconfig(x11), pkgconfig(egl) but those deps are not generated automatically. - Update to version 1.4.3: + Require Meson 0.39.1; the previous release already had an implicit requirement on this version. + Allow disabling EGL support when building Epoxy. + Add support for building on Haiku. + Update EGL registry from Khronos. - Switch to meson build: + Drop autoconf, automake and libtool BuildRequires, and drop conditional autogen.sh call. + Add meson BuildRequires and add meson macros, drop autotools macros. - Correct docs installed. - Use "Full and pretty" source name. - Run spec-cleaner. - Add pkgconfig(glesv1_cm) and pkgconfig(glesv2) BuildRequires: Build the optional gles v1 and v2 support. - Update to version 1.4.2: * Add C++ guards around generated headers. * Add z,relro and z,now to the GCC linker flags. * Add explicit version flags for macOS builds. * Add missing visibility compiler flags. * Prefer using pkg-config files to find GLES. * Fix build on MSVC 2013 when using the inline keyword. * Fix dlwrap on aarch64. * Require Meson ≥ 0.38.1. * Allow building Epoxy as a Meson sub-project. * Avoid crashes when running Epoxy on X servers without GLX. - Update to version 1.4.1: * Find the appropriate version of the Python interpreter when building. * Ensure that the dispatch generation script works with Python 2.x and 3.x. * Ensure that Epoxy builds correctly under Windows. * Fix location of the m4 macros in the autotools build. - Changes from version 1.4.0: * Epoxy can now build with MSVC versions prior to 2013; we still recommend using a recent, C99-compatible compiler, like MSVC 2015. * When used under X11, Epoxy now attempts to handle the cases where the GLX extension is not built or not available. * GLX can now be enabled and disabled at configuration time; this allows building Epoxy with GLX on macOS, and allows building Epoxy without GLX on embedded platforms. * Epoxy now exposes API that lets dependent projects safely check if platform API like GLX and EGL is available at run time. * EGL support has been improved on Windows, and made more resilient on other platforms. * Epoxy supports building with the Meson build system, which has Ninja, Visual Studio, and XCode backends. * Epoxy can generate its API reference using Doxygen (currently only available on Meson builds). * The GL registry has been updated with the latest version of the API references provided by Khronos; Epoxy now supports the API introduced by OpenGL 4.5. - Update to 1.3.1 * brown-paper-bag fix to unexport another private symbol that we'd leaked, noticed when I went diffing the exported symbols between v1.2 and v1.3 for the debian build. - Changes since 1.3.0: * MSVC 2013 support. * OSX drops GLX support. * Updates to the registry * Fixes for a nonconformant GL implementation * Library size reductions * Reproducible builds - Drop u_sort-the-providers-by-their-enum-not-by-their-functi.patch, merged upstream - Add baselibs.conf in order to build 32bit packages. - u_sort-the-providers-by-their-enum-not-by-their-functi.patch * sort the providers by their enum not by their function name; patch by coolo (bnc#917533) - Update to 1.2 *This is a bugfix and feature release. On the feature side of things, it brings in an updated registry with support for GLES 3.1 and EGL 1.5, along with miscellaneous other extensions, and many more aliases for GLES functions. On the bugfix side, it should be much more portable to non-Mesa drivers (nvidia binary in particular) and systems with mixed Mesa and non-Mesa drivers, and actually install the wgl headers in the windows build. - Explicitly BuildRequire pkgconfig(x11), and don't count other packages drag it in - Drop git_fixes.patch, merged upstream - Init libepoxy package OBS-URL: https://build.opensuse.org/request/show/760830 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libepoxy?expand=0&rev=14 --- ...he-minimum-required-version-of-Meson.patch | 23 +++++++++++++++++++ libepoxy-1.5.4.tar.xz | 3 +++ libepoxy.changes | 22 ++++++++++++++---- libepoxy.spec | 14 ++++++----- 4 files changed, 52 insertions(+), 10 deletions(-) create mode 100644 Lower-the-minimum-required-version-of-Meson.patch create mode 100644 libepoxy-1.5.4.tar.xz diff --git a/Lower-the-minimum-required-version-of-Meson.patch b/Lower-the-minimum-required-version-of-Meson.patch new file mode 100644 index 0000000..ea1117f --- /dev/null +++ b/Lower-the-minimum-required-version-of-Meson.patch @@ -0,0 +1,23 @@ +From 5c0dff60907983b0e764006053637febcc3e48ec Mon Sep 17 00:00:00 2001 +From: Emmanuele Bassi +Date: Tue, 26 Nov 2019 15:08:23 +0000 +Subject: [PATCH] Lower the minimum required version of Meson + +Makes it easier to build Epoxy on older operating systems. +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index fe632c5..029798c 100644 +--- a/meson.build ++++ b/meson.build +@@ -5,7 +5,7 @@ project('libepoxy', 'c', version: '1.5.5', + 'warning_level=1', + ], + license: 'MIT', +- meson_version: '>= 0.47.0') ++ meson_version: '>= 0.46.0') + + epoxy_version = meson.project_version().split('.') + epoxy_major_version = epoxy_version[0].to_int() diff --git a/libepoxy-1.5.4.tar.xz b/libepoxy-1.5.4.tar.xz new file mode 100644 index 0000000..6ffe9f0 --- /dev/null +++ b/libepoxy-1.5.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bd2cc681dfeffdef739cb29913f8c3caa47a88a451fd2bc6e606c02997289d2 +size 227180 diff --git a/libepoxy.changes b/libepoxy.changes index 3159cab..fba861b 100644 --- a/libepoxy.changes +++ b/libepoxy.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sat Jan 4 17:31:21 UTC 2020 - Stefan Brüns + +- Update to version 1.5.4: + + Don't build GLX tests if X11 support is disabled + + Add unit tests for epoxy_gl_version() + + Reduce the size of the binary by reusing static strings + + Fix build on Solaris + + Update the GL registries +- Only require python3-base package for building instead of + full python3 package. +- Allow building with meson 0.46: + Add Lower-the-minimum-required-version-of-Meson.patch + ------------------------------------------------------------------- Tue Nov 26 10:27:56 UTC 2019 - Bjørn Lie @@ -12,10 +26,10 @@ Tue Nov 26 10:27:56 UTC 2019 - Bjørn Lie Wed Apr 17 15:33:55 UTC 2019 - Tobias Klausmann - Remove pkgconfig dependecies for glesv1_cm and glesv2: - Starting with mesa commit b01524fff05 - "meson: don't build libGLES*.so with GLVND" mesa stopped providing - glesv1_cm.pc and glesv2.pc along. Let epoxy find the libraries directly - instead. + Starting with mesa commit b01524fff05 + "meson: don't build libGLES*.so with GLVND" mesa stopped + providing glesv1_cm.pc and glesv2.pc along. Let epoxy find the + libraries directly instead. ------------------------------------------------------------------- Fri Oct 5 11:51:19 UTC 2018 - bjorn.lie@gmail.com diff --git a/libepoxy.spec b/libepoxy.spec index d754fac..3dafccc 100644 --- a/libepoxy.spec +++ b/libepoxy.spec @@ -1,7 +1,7 @@ # # spec file for package libepoxy # -# Copyright (c) 2018 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 @@ -24,12 +24,14 @@ Summary: OpenGL function pointer management library License: MIT Group: Development/Libraries/C and C++ URL: https://github.com/anholt/libepoxy -Source0: https://github.com/anholt/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/anholt/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.xz Source1: baselibs.conf +# PATCH-FIX-UPSTREAM -- https://github.com/anholt/libepoxy/commit/5c0dff60907983b0e764006053637febcc3e48ec.patch +Patch0: Lower-the-minimum-required-version-of-Meson.patch -BuildRequires: meson >= 0.47 +BuildRequires: meson >= 0.46 BuildRequires: pkgconfig -BuildRequires: python3 +BuildRequires: python3-base BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(x11) @@ -59,9 +61,9 @@ function names like glCompileShader(). Summary: Development files for libepoxy Group: Development/Libraries/C and C++ Requires: %{name}%{sonum} = %{version} -Requires: pkgconfig(x11) -Requires: pkgconfig(egl) Requires: glibc-devel +Requires: pkgconfig(egl) +Requires: pkgconfig(x11) %description devel Epoxy is a library for handling OpenGL function pointer management for you.