osc copypac from project:X11:XOrg:libglvnd package:libglvnd revision:5

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libglvnd?expand=0&rev=1
This commit is contained in:
Stefan Dirsch 2017-03-27 13:12:57 +00:00 committed by Git OBS Bridge
commit ffb0ceb856
9 changed files with 284 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/NVIDIA/libglvnd.git</param>
<param name="scm">git</param>
<param name="versionformat">0.1.1~%cd~%h</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/NVIDIA/libglvnd.git</param>
<param name="changesrevision">7067ba11c58f6f95a3b1bc1a3ebe342ce806fcde</param></service></servicedata>

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libglvnd0

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:62de70a03bd5c6399861e13e500be6d53e4c82f65b9a7dfbae8744a9eae8cd65
size 824019

105
libglvnd.changes Normal file
View File

@ -0,0 +1,105 @@
-------------------------------------------------------------------
Fri Jan 20 13:15:07 UTC 2017 - zaitor@opensuse.org
- Update to version 0.1.1~20161222~dc16f8c:
* Update the README file.
* util: Add a local implementation of vsprintf(3).
* tests: Fix testpatchentrypoints.
* util: Add functions for splitting a string into tokens.
* Checked in the EGL headers.
* Checked in a copy of the cJSON library.
* EGL: Initial implementation of libEGL.
* EGL: Implement EGL_KHR_debug.
* GLdispatch: Remove an incorrect assert.
* util: Add trylock functions to glnvd_pthread.
* GLX: Fix a deadlock in teardown
* EGL: Rework the current rendering API.
* EGL: Fix a crash in __eglGetVendorFromDevice.
* EGL: Improve eglGetDisplay platform guessing.
* EGL: Check for some client extensions when loading the vendors.
* EGL: Check the version number in the JSON files.
* EGL: Trim the dispatch stub list.
* Change the package version to 0.1.999.
* GLX: Keep track of the displays passed to glXMakeCurrent.
* EGL: Fix a few errors in EGL_KHR_debug.
* EGL: Change __EGLapiImports to use (void *) for function
pointers.
* EGL: Add -Wno-misleading-indentation for cJSON.
* utils: Add cJSON.h to noinst_HEADERS.
* EGL: Change the vendor config search paths.
* EGL: Fix a couple of typos.
* Increment the package version to 0.2.
* Don't use 'xrange' because Python 3 doesn't have it.
* EGL: Fix an uninitialized variable.
* Factor out some common extension string functions.
* tests: Some minor cleanup
* tests: Rename GLX_dummy directory.
* tests: Move the entrypoint patching code into a helper library.
* tests: Add a more extensive test for entrypoint patching.
* GLX: Add an environment variable to specify a vendor for a
single screen.
* tests: Rewrite testglxgetprocaddress.
* tests: Add a test for generated GLX entrypoints.
* Change the assembly templates for ARMv7 to use uint16_t.
* Fix a crash in process termination when EGL and GLX are both
loaded.
* chmod -x files that aren't scripts
* GLdispatch: Don't call into the vendor from
__glDispatchForceUnpatch.
* EGL: Don't call into the vendor library from __eglFini.
* EGL: Better wayland detection in eglGetDisplay
* EGL: Add display detection for X11.
* EGL: Fix an unitialized variable in IsX11Display.
* tests: Skip testglxqueryversion if the server doesn't support
GLX.
* EGL: Fix the python command line.
* tests: Remove init_test_env.sh and fini_test_env.sh.
* tests: Add a basic test for eglGetPlatformDisplay.
* tests: Add a test for eglGetProcAddress.
* tests: Add a test for EGL device functions.
* tests: Add a test for eglMakeCurrent.
* tests: Add a test for eglGetError.
* tests: Add a test for EGL_KHR_debug.
* Add support for aarch64.
* GLdispatch: Fix the x86 TLS stubs.
* GLdispatch: Fix TEXTREL in the x86 TSD stubs.
* GLdispatch: Remove public_string_pool.
* GLdispatch: Remove _glapi_init_table_from_callback.
* GLdispatch: Remove the __GLdispatchProcEntry list.
* tests: Clean up tests makefile.
* Add configure options for the EGL, GLX, and GLES libraries.
* configure: Change the description for --disable-gles.
-------------------------------------------------------------------
Fri Jan 20 12:35:16 UTC 2017 - zaitor@opensuse.org
- Update to version 0.1.1:
* GLX: Some additional cleanup for the GLX dispatch table.
* Remove uneeded xorg-server dependency
* tests: Add more GLX functions to GLX_dummy.
* tests: Clean up the function arrays in GLX_dummy.
* tests: Implement glXCreateContextAttribsARB in GLX_dummy.
* tests: Expand the MakeCurrent tests to the GLXFBConfig-based
functions.
* tests: Merge the dummy and patchentry libraries.
* GLX: Fix a couple of errors.
* GLdispatch: Don't unpatch entrypoints in
__glDispatchLoseCurrent.
- Add _service and use it to update to current relase.
- Replace autoreconf for autogen.sh call ref info in README.
-------------------------------------------------------------------
Tue Jul 12 11:56:23 UTC 2016 - sndirsch@suse.com
- added Recommends to Mesa-libGL1/Mesa-libGL-devel
-------------------------------------------------------------------
Fri Jun 3 09:20:28 UTC 2016 - sndirsch@suse.com
- fixed build on 32bit with SUSE < 1330
-------------------------------------------------------------------
Thu Jun 2 15:43:46 UTC 2016 - sndirsch@suse.com
- created libglvnd package

128
libglvnd.spec Normal file
View File

@ -0,0 +1,128 @@
#
# spec file for package libglvnd
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libglvnd
%define sonum 0
Version: 0.1.1~20161222~dc16f8c
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
Source1: baselibs.conf
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(glproto)
BuildRequires: python3-base
BuildRequires: python-xml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Vendor-neutral dispatch layer for arbitrating OpenGL API calls between
multiple vendors on a per-screen basis, as described by Andy Ritger's
OpenGL ABI proposal.
%package -n %{name}%{sonum}
Summary: The GL Vendor-Neutral Dispatch library
Group: Development/Libraries/C and C++
Recommends: Mesa-libGL1 >= 12.0.0
%description -n %{name}%{sonum}
Vendor-neutral dispatch layer for arbitrating OpenGL API calls between
multiple vendors on a per-screen basis, as described by Andy Ritger's
OpenGL ABI proposal.
%package devel
Summary: Development files for libepoxy
Group: Development/Libraries/C and C++
Requires: %{name}%{sonum} = %{version}
Recommends: Mesa-libGL-devel >= 12.0.0
%description devel
Vendor-neutral dispatch layer for arbitrating OpenGL API calls between
multiple vendors on a per-screen basis, as described by Andy Ritger's
OpenGL ABI proposal. Development files.
%prep
%setup -q -n %{name}-%{version}
%build
./autogen.sh
%configure \
%if 0%{?suse_version} < 1330
--libdir=/usr/X11R6/%{_lib} \
%endif
--disable-static
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot";
> $RPM_BUILD_DIR/%name-%{version}/filelist.rpm
%if 0%{?suse_version} < 1330
rm -f "%buildroot/usr/X11R6/%{_lib}"/*.la
mkdir -p %buildroot/%{_libdir}/pkgconfig
mv %buildroot/usr/X11R6/%{_lib}/pkgconfig/*.pc %buildroot/%{_libdir}/pkgconfig
rm -rf %buildroot/usr/X11R6/pkgconfig
if [ "%_libdir" == "/usr/lib64" ]; then
mkdir -p %buildroot/etc/ld.so.conf.d
cat > %buildroot/etc/ld.so.conf.d/%name.conf << EOF
/usr/X11R6/%{_lib}
/usr/X11R6/lib
EOF
echo "%config /etc/ld.so.conf.d/%name.conf" > $RPM_BUILD_DIR/%name-%{version}/filelist.rpm
fi
%else
rm -f "%buildroot/%{_libdir}"/*.la
%endif
%post -n %{name}%{sonum} -p /sbin/ldconfig
%postun -n %{name}%{sonum} -p /sbin/ldconfig
%files -n %{name}%{sonum} -f filelist.rpm
%defattr(-,root,root)
%doc README.md
%if 0%{?suse_version} < 1330
%dir /usr/X11R6
%dir /usr/X11R6/%{_lib}
/usr/X11R6/%{_lib}/lib*.so.*
%else
%{_libdir}/lib*.so.*
%endif
%files devel
%defattr(-,root,root)
%doc README.md
%if 0%{?suse_version} < 1330
%dir /usr/X11R6
%dir /usr/X11R6/%{_lib}
/usr/X11R6/%{_lib}/lib*.so
%else
%{_libdir}/lib*.so
%endif
%{_libdir}/pkgconfig/*.pc
%{_includedir}/glvnd/
%changelog

5
rpmlintrc Normal file
View File

@ -0,0 +1,5 @@
# This line is mandatory to access the configuration functions
from Config import *
addFilter("libglvnd.*suse-filelist-forbidden-xorg")