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.