Accepting request 38689 from X11:Drivers:Video

Copy from X11:Drivers:Video/libvdpau based on submit request 38689 from user sndirsch

OBS-URL: https://build.opensuse.org/request/show/38689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvdpau?expand=0&rev=4
This commit is contained in:
OBS User autobuild 2010-04-25 16:51:19 +00:00 committed by Git OBS Bridge
parent fbaddab261
commit 6475be266a
3 changed files with 36 additions and 4 deletions

24
README Normal file
View File

@ -0,0 +1,24 @@
DEBUGGING AND TRACING
The VDPAU wrapper library supports tracing VDPAU function calls, and their
parameters. This tracing is controlled by the following environment variables:
VDPAU_TRACE
Enables tracing. Set to 1 to trace function calls. Set to 2 to trace all
arguments passed to the function.
VDPAU_TRACE_FILE
Filename to write traces to. By default, traces are sent to stderr. This
variable may either contain a plain filename, or a reference to an
existing open file-descriptor in the format "&N" where N is the file
descriptor number.
The VDPAU wrapper library is responsible for determining which vendor-specific
driver to load for a given X11 display/screen. At present, it hard-codes
"nvidia" as the driver. The environment variable VDPAU_DRIVER may be set to
override this default. The actual library loaded will be
libvdpau_${VDPAU_DRIVER}.so. Setting VDPAU_DRIVER to "trace" is not advised.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Apr 24 12:59:42 CEST 2010 - sndirsch@suse.de
- fixed libvdpau_trace1 package description
- added README for tracing VDPAU function calls
-------------------------------------------------------------------
Sat Apr 24 10:37:30 CEST 2010 - sndirsch@suse.de

View File

@ -19,13 +19,14 @@
Name: libvdpau
Version: 0.4
Release: 3
Release: 4
License: MIT License (or similar)
Summary: VDPAU wrapper and trace libraries
Url: http://people.freedesktop.org/~aplattner
Group: System/Libraries
Source: %{name}-%{version}.tar.gz
Source1: vdpauinfo-0.0.6.tar.gz
Source2: README
Source99: baselibs.conf
BuildRequires: gcc-c++ pkgconfig xorg-x11-devel
BuildRequires: doxygen graphviz texlive
@ -72,9 +73,8 @@ Provides: libvdpau_trace = %{version}-%{release}
Obsoletes: libvdpau_trace < %{version}-%{release}
%description -n libvdpau_trace1
This package provides a fallback, fake VDPAU implementation for runtime, which
is used when no proper VDPAU implementation library is available (such as
libvdpau_nvidia.so)
This package provides the library for tracing VDPAU function calls.
Its usage is documented in the README.
%prep
%setup -q -b1
@ -96,6 +96,7 @@ VDPAU_LIBS="-L$RPM_BUILD_ROOT/%{_libdir} -lvdpau"
make %{?jobs:-j%jobs}
%makeinstall
popd
cp $RPM_SOURCE_DIR/README .
%post -n libvdpau1 -p /sbin/ldconfig
@ -117,6 +118,7 @@ popd
%files -n libvdpau_trace1
%defattr(-,root,root)
%doc README
%{_libdir}/vdpau/libvdpau_trace.so.*
%changelog