Compare commits
No commits in common. "c9s" and "c8" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
libglvnd-*.tar.gz
|
||||
SOURCES/libglvnd-1.3.4.tar.gz
|
||||
|
1
.libglvnd.metadata
Normal file
1
.libglvnd.metadata
Normal file
@ -0,0 +1 @@
|
||||
876cde82fa46b891fdb4ea3e58a4adfc7fffea25 SOURCES/libglvnd-1.3.4.tar.gz
|
@ -1,10 +1,13 @@
|
||||
#global commit0 f92208be88dd06a70b6f79a1cb95571e2762a9ec
|
||||
#global commit0 5baa1e5cfc422eb53e66f12ffb80c93d4a693cd9
|
||||
#global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7})
|
||||
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||
%global _without_mesa_glvnd_default 1
|
||||
%endif
|
||||
|
||||
Name: libglvnd
|
||||
Version: 1.3.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?commit0:.git%{shortcommit0}}%{?dist}
|
||||
# Provide an upgrade path from the negativo17.org pkgs which have Epoch 1
|
||||
Epoch: 1
|
||||
Summary: The GL Vendor-Neutral Dispatch library
|
||||
@ -16,19 +19,34 @@ Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: libglvnd-python3.patch
|
||||
Patch1: 0001-glx-Add-another-fallback-library-name.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: libtool
|
||||
BuildRequires: gcc
|
||||
BuildRequires: python3-rpm-macros
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-libxml2
|
||||
BuildRequires: pkgconfig(glproto)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: xorg-x11-server-Xvfb
|
||||
|
||||
%if (0%{?rhel} && 0%{?rhel} <= 6)
|
||||
BuildRequires: autoconf268
|
||||
%endif
|
||||
|
||||
%{?_without_mesa_glvnd_default:
|
||||
%if (0%{?rhel} && 0%{?rhel} <= 6)
|
||||
|
||||
%{?filter_setup:
|
||||
%filter_provides_in %{_libdir}/%{name}
|
||||
%filter_requires_in %{_libdir}/%{name}
|
||||
%filter_setup
|
||||
}
|
||||
|
||||
%else
|
||||
|
||||
%global __provides_exclude_from %{_libdir}/%{name}
|
||||
%global __requires_exclude_from %{_libdir}/%{name}
|
||||
|
||||
%endif
|
||||
}
|
||||
|
||||
%description
|
||||
@ -55,6 +73,10 @@ Provides: mesa-khr-devel = %{epoch}:%{version}-%{release}
|
||||
Provides: mesa-khr-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Provides: libGLES-devel = %{epoch}:%{version}-%{release}
|
||||
Provides: libGLES-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Conflicts: mesa-libEGL-devel < 19.3.0-rc1
|
||||
Conflicts: mesa-libGL-devel < 19.3.0-rc1
|
||||
Conflicts: mesa-libGLES-devel < 19.3.0-rc1
|
||||
Conflicts: mesa-khr-devel < 19.3.0-rc1
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
@ -85,7 +107,7 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
%{!?_without_mesa_glvnd_default:
|
||||
# mesa is the default EGL implementation provider
|
||||
Requires: mesa-libEGL%{?_isa} >= 13.0.4-1
|
||||
Obsoletes: mesa-libGLES < 19.3.0~rc1
|
||||
Obsoletes: mesa-libGLES < 19.2.2-2
|
||||
Provides: mesa-libGLES
|
||||
Provides: mesa-libGLES%{?_isa}
|
||||
Provides: libGLES
|
||||
@ -126,10 +148,13 @@ libGL and libGLX are the common dispatch interface for the GLX API.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{?commit0}%{?!commit0:%{version}}
|
||||
%if 0%{?rhel} == 6
|
||||
autoreconf268 -vif
|
||||
%else
|
||||
autoreconf -vif
|
||||
%endif
|
||||
|
||||
%build
|
||||
export PYTHON=%{__python3}
|
||||
#Prefer asm and tls for x86* and ppc64*
|
||||
#armhfp and aarch64 fallback to asm and tsd
|
||||
#Others arches fallback to pure-c and tls.
|
||||
@ -242,87 +267,40 @@ xvfb-run -s '-screen 0 640x480x24' -d make check V=1 || \
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Nov 22 2021 Dave Airlie <airlied@redhat.com> - 1:1.3.4-1
|
||||
- Update to 1.3.4 for nvidia drivers
|
||||
* Wed Feb 21 2024 José Expósito <jexposit@redhat.com> - 1.3.4-2
|
||||
- Fix BuildRequires for python3-devel
|
||||
Resolves: RHEL-2239
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.3.2-5
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
* Wed Nov 17 2021 Dave Airlie <airlied@redhat.com> - 1.3.4-1
|
||||
- Update to 1.3.4 release
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.3.2-4
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
* Mon Nov 16 2020 Dave Airlie <airlied@redhat.com> - 1.3.2-1
|
||||
- Update to 1.3.2 release
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
* Mon Nov 25 2019 Dave Airlie <airlied@redhat.com> - 1.2.0-6
|
||||
- version provides
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
* Sat Nov 23 2019 Dave Airlie <airlied@redhat.com> - 1.2.0-5
|
||||
- Add another conflict
|
||||
|
||||
* Mon Jun 29 2020 Nicolas Chauvet <kwizart@gmail.com> - 1:1.3.2-1
|
||||
- Update to 1.3.2
|
||||
* Sat Nov 23 2019 Dave Airlie <airlied@redhat.com> - 1.2.0-4
|
||||
- conflict
|
||||
|
||||
* Fri May 08 2020 Nicolas Chauvet <kwizart@gmail.com> - 1:1.3.1-2
|
||||
- Forward few patches from rhel
|
||||
* Fri Nov 22 2019 Dave Airlie <airlied@redhat.com> - 1.2.0-3
|
||||
- more conflicts
|
||||
|
||||
* Mon Feb 24 2020 Nicolas Chauvet <kwizart@gmail.com> - 1:1.3.1-1
|
||||
- Update to 1.3.1
|
||||
* Fri Nov 22 2019 Dave Airlie <airlied@redhat.com> - 1.2.0-2
|
||||
- add conflicts
|
||||
|
||||
* Wed Feb 19 2020 Kalev Lember <klember@redhat.com> - 1:1.3.0-1
|
||||
- Update to 1.3.0
|
||||
|
||||
* Wed Feb 19 2020 Kalev Lember <klember@redhat.com> - 1:1.2.0-10
|
||||
- Bump mesa-libGLES obsoletes version as well
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.2.0-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 1:1.2.0-8
|
||||
- Bump mesa-libGLES-devel and mesa-khr-devel obsoletes versions
|
||||
|
||||
* Sat Oct 26 2019 Nicolas Chauvet <kwizart@gmail.com> - 1:1.2.0-7
|
||||
- Move from core to main
|
||||
|
||||
* Fri Oct 25 2019 Peter Robinson <pbrobinson@gmail.com> - 1:1.2.0-6
|
||||
- Add %%{?_isa} too, just for fun!
|
||||
|
||||
* Fri Oct 25 2019 Peter Robinson <pbrobinson@gmail.com> - 1:1.2.0-5
|
||||
- provides shouldn't have been versioned
|
||||
|
||||
* Fri Oct 25 2019 Peter Robinson <pbrobinson@gmail.com> - 1:1.2.0-4
|
||||
- Also provide old libGLES-devel
|
||||
|
||||
* Fri Oct 25 2019 Peter Robinson <pbrobinson@gmail.com> - 1:1.2.0-4
|
||||
- Obsolete/Provide the bits moved from mesa so builds don't break
|
||||
|
||||
* Fri Oct 25 2019 Pete Walter <pwalter@fedoraproject.org> - 1:1.2.0-2
|
||||
- Sync headers with mesa
|
||||
|
||||
* Thu Oct 24 2019 Leigh Scott <leigh123linux@gmail.com> - 1:1.2.0-1
|
||||
* Fri Nov 22 2019 Dave Airlie <airlied@redhat.com> - 1.2.0-1
|
||||
- libglvnd 1.2.0
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
* Tue Aug 14 2018 Petr Viktorin <pviktori@redhat.com> - 1.0.1-0.9.git5baa1e5
|
||||
- Fix BuildRequires for /usr/bin/python3
|
||||
- Resolves: #1615543
|
||||
|
||||
* Thu Mar 14 2019 Adam Jackson <ajax@redhat.com> - 1.1.1-4
|
||||
- libglvnd 1.1.1
|
||||
|
||||
* Thu Feb 14 2019 Nicolas Chauvet <kwizart@gmail.com> - 1:1.1.0-4.gitf92208b
|
||||
- Update snapshot
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Aug 16 2018 Leigh Scott <leigh123linux@googlemail.com> - 1:1.1.0-2
|
||||
- Add upstream python3 PR
|
||||
|
||||
* Thu Aug 09 2018 Leigh Scott <leigh123linux@googlemail.com> - 1:1.1.0-1
|
||||
- Update to 1.1.0 release
|
||||
|
||||
* Tue Jul 24 2018 Dave Airlie <airlied@redhat.com> - 1.0.1-0.9.git5baa1e5
|
||||
- rename fallback from fedora to system
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0.1-0.8.git5baa1e5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
* Tue Jul 24 2018 Dave Airlie <airlied@redhat.com> - 1.0.1-0.8.git5baa1e5
|
||||
- rename fallback to system
|
||||
|
||||
* Thu Jun 14 2018 Adam Jackson <ajax@redhat.com> - 1.0.1-0.7.git5baa1e5
|
||||
- Add another fallback GLX library name
|
@ -1,71 +0,0 @@
|
||||
From 90f973f74d88d5f7085220fb606b0bbc0d3c1646 Mon Sep 17 00:00:00 2001
|
||||
From: Mathieu Bridon <bochecha@daitauha.fr>
|
||||
Date: Thu, 16 Aug 2018 13:55:15 +0200
|
||||
Subject: [PATCH] build: Find Python the Autotools way
|
||||
|
||||
An added advantage to this is that it makes it really easy to build with
|
||||
Python 3, the same way other Autotools projects support it:
|
||||
|
||||
$ export PYTHON=/usr/bin/python3
|
||||
$ ./configure
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
src/EGL/Makefile.am | 4 ++--
|
||||
src/GL/Makefile.am | 3 +--
|
||||
src/GLdispatch/vnd-glapi/Makefile.am | 2 +-
|
||||
4 files changed, 5 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 05efca0..149e345 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -27,7 +27,7 @@ AC_PROG_LN_S
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_LIBTOOL
|
||||
AC_PROG_MKDIR_P
|
||||
-AC_CHECK_PROGS([PYTHON2], [python2.7 python2 python])
|
||||
+AM_PATH_PYTHON([2.7])
|
||||
|
||||
if test "x$ac_cv_prog_cc_c99" = xno; then
|
||||
AC_MSG_ERROR([Building libglvnd requires a C99-enabled compiler])
|
||||
diff --git a/src/EGL/Makefile.am b/src/EGL/Makefile.am
|
||||
index 1a2ee7c..6ade4cc 100644
|
||||
--- a/src/EGL/Makefile.am
|
||||
+++ b/src/EGL/Makefile.am
|
||||
@@ -100,7 +100,7 @@ GENERATE_DEPS = \
|
||||
$(GENERATE_LIST_FILES)
|
||||
|
||||
g_egldispatchstubs.c : $(GENERATE_DEPS)
|
||||
- $(VM_V_GEN)$(PYTHON2) $(GENERATE_DISPATCH_SCRIPT) source $(GENERATE_LIST_FILES) > $@
|
||||
+ $(VM_V_GEN)$(PYTHON) $(GENERATE_DISPATCH_SCRIPT) source $(GENERATE_LIST_FILES) > $@
|
||||
|
||||
g_egldispatchstubs.h : $(GENERATE_DEPS)
|
||||
- $(VM_V_GEN)$(PYTHON2) $(GENERATE_DISPATCH_SCRIPT) header $(GENERATE_LIST_FILES) > $@
|
||||
+ $(VM_V_GEN)$(PYTHON) $(GENERATE_DISPATCH_SCRIPT) header $(GENERATE_LIST_FILES) > $@
|
||||
diff --git a/src/GL/Makefile.am b/src/GL/Makefile.am
|
||||
index 769dcb6..854d8b7 100644
|
||||
--- a/src/GL/Makefile.am
|
||||
+++ b/src/GL/Makefile.am
|
||||
@@ -50,8 +50,7 @@ glapi_gen_libglglxstubs_deps = \
|
||||
$(glapi_gen_glx_xml)
|
||||
|
||||
g_libglglxwrapper.c : $(glapi_gen_libglglxstubs_deps)
|
||||
- $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) \
|
||||
- $(glapi_gen_libglglxstubs_script) $(glapi_gen_glx_xml) > $@
|
||||
+ $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS) $(glapi_gen_libglglxstubs_script) $(glapi_gen_glx_xml) > $@
|
||||
|
||||
libGL_la_CFLAGS = \
|
||||
-I$(top_srcdir)/include
|
||||
diff --git a/src/GLdispatch/vnd-glapi/Makefile.am b/src/GLdispatch/vnd-glapi/Makefile.am
|
||||
index 7a40611..b799b81 100644
|
||||
--- a/src/GLdispatch/vnd-glapi/Makefile.am
|
||||
+++ b/src/GLdispatch/vnd-glapi/Makefile.am
|
||||
@@ -12,7 +12,7 @@ glapi_gen_mapi_deps = \
|
||||
$(glapi_gen_mapi_script) \
|
||||
$(top_srcdir)/src/generate/genCommon.py \
|
||||
$(glapi_gen_gl_xml)
|
||||
-glapi_gen_mapi = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) $(glapi_gen_mapi_script)
|
||||
+glapi_gen_mapi = $(AM_V_GEN)$(PYTHON) $(PYTHON_FLAGS) $(glapi_gen_mapi_script)
|
||||
|
||||
noinst_HEADERS = \
|
||||
glapi.h \
|
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
Loading…
Reference in New Issue
Block a user