Accepting request 205630 from home:tobijk:X11:XOrg

new package we'll need for newer X Servers

OBS-URL: https://build.opensuse.org/request/show/205630
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxshmfence?expand=0&rev=1
This commit is contained in:
Stefan Dirsch 2013-11-25 16:29:37 +00:00 committed by Git OBS Bridge
commit f93c3deb73
5 changed files with 129 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

3
libxshmfence-1.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:625089553939baa20e665873a6c8f3d694cfde78fb3110aa59da92fd2b14f14f
size 253028

4
libxshmfence.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Nov 3 02:03:37 UTC 2013 - tobias.johannes.klausmann@mni.thm.de
- Created package libxshmfence, version 1.0.0

98
libxshmfence.spec Normal file
View File

@ -0,0 +1,98 @@
#
# spec file for package libxshmfence
#
# Copyright (c) 2013 SUSE LINUX Products 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: libxshmfence
Version: 1.0
%define lname libxshmfence1
Release: 0
Summary: A tiny library that exposes a event API on top of Linux futexes
# Placeholder License, please fill in the real one, but which one?
License: MIT
Group: Development/Libraries/C and C++
Url: http://xorg.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxshmfence
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxshmfence/
Source: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xorg-macros) >= 1.8
%description
This is a tiny library that exposes a event API on top of Linux
futexes. There was some discussion about using eventfd instead of this,
but the cost of adding two FDs to the X server for every DRI application
seems excessive, and by using PresentIdleNotify events, to work around
the limitations of futexes.
%package -n %lname
Summary: A tiny library that exposes a event API on top of Linux futexes
Group: System/Libraries
%description -n %lname
This is a tiny library that exposes a event API on top of Linux
futexes. There was some discussion about using eventfd instead of this,
but the cost of adding two FDs to the X server for every DRI application
seems excessive, and by using PresentIdleNotify events, to work around
the limitations of futexes.
%package devel
Summary: Development files for the X Shm-Fence library
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
This is a tiny library that exposes a event API on top of Linux
futexes.
This package contains the development headers for the library found
in %name.
%prep
%setup -q
%build
autoreconf -fi
%configure --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot"
rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libxshmfence.so.1*
%files devel
%defattr(-,root,root)
%_includedir/X11/*
%_libdir/libxshmfence.so
%_libdir/pkgconfig/xshmfence.pc
%changelog