From 706ddee81e66be3a29f39bdbf44351dfe459500f1284a0d872c6840d6bb88d03 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 28 Dec 2014 23:34:14 +0000 Subject: [PATCH] Accepting request 266525 from X11:Drivers:Video 1 OBS-URL: https://build.opensuse.org/request/show/266525 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvdpau?expand=0&rev=27 --- libvdpau-0.8.tar.bz2 | 3 --- libvdpau-0.9.tar.bz2 | 3 +++ libvdpau-nopdftex.patch | 9 ++++--- libvdpau.changes | 53 +++++++++++++++++++++++++++++++++++++ libvdpau.spec | 17 +++++++----- vdpauinfo-0.1.tar.gz | 3 --- vdpauinfo-0.9.tar.gz | 3 +++ vdpauinfo-missing-lX11.diff | 11 -------- 8 files changed, 75 insertions(+), 27 deletions(-) delete mode 100644 libvdpau-0.8.tar.bz2 create mode 100644 libvdpau-0.9.tar.bz2 delete mode 100644 vdpauinfo-0.1.tar.gz create mode 100644 vdpauinfo-0.9.tar.gz diff --git a/libvdpau-0.8.tar.bz2 b/libvdpau-0.8.tar.bz2 deleted file mode 100644 index 90c4d04..0000000 --- a/libvdpau-0.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7e7054af2dcda4dc06d5d845b59ec7d30481c5040553ac047bb83f1935aeb1b2 -size 407268 diff --git a/libvdpau-0.9.tar.bz2 b/libvdpau-0.9.tar.bz2 new file mode 100644 index 0000000..409e752 --- /dev/null +++ b/libvdpau-0.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77d1afd7d94fec302f13db1d6cc53ec2c50c274bde9530942b0e61d92b8f72b4 +size 424240 diff --git a/libvdpau-nopdftex.patch b/libvdpau-nopdftex.patch index 91df68f..c7ccdb1 100644 --- a/libvdpau-nopdftex.patch +++ b/libvdpau-nopdftex.patch @@ -1,6 +1,7 @@ ---- configure.ac.old 2012-06-26 14:21:28.000000000 +0200 -+++ configure.ac 2012-06-26 14:22:30.000000000 +0200 -@@ -48,11 +48,9 @@ AC_ARG_ENABLE(documentation, AS_HELP_STR +diff -ur libvdpau-0.9.orig/configure.ac libvdpau-0.9/configure.ac +--- libvdpau-0.9.orig/configure.ac 2014-12-19 18:32:57.000000000 +0100 ++++ libvdpau-0.9/configure.ac 2014-12-23 09:09:51.170774748 +0100 +@@ -56,11 +56,9 @@ if test "x$DOCS" != xno; then AC_CHECK_TOOL([DOXYGEN], [doxygen], [no]) AC_CHECK_TOOL([DOT], [dot], [no]) @@ -12,7 +13,7 @@ fi if test "x$DOCS" = xyes; then if test "x$DOXYGEN" = xno; then -@@ -61,11 +59,8 @@ if test "x$DOCS" = xyes; then +@@ -69,11 +67,8 @@ if test "x$DOT" = xno; then AC_ERROR([Documentation enabled but dot was not found in your path. Please install graphviz]) fi diff --git a/libvdpau.changes b/libvdpau.changes index a86fbde..c3752e5 100644 --- a/libvdpau.changes +++ b/libvdpau.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Tue Dec 23 08:21:08 UTC 2014 - jweberhofer@weberhofer.at + +- Update libvpaud to version 0.9 + This release adds several new decoder profiles: + - VDP_DECODER_PROFILE_H264_CONSTRAINED_BASELINE + - VDP_DECODER_PROFILE_H264_EXTENDED + - VDP_DECODER_PROFILE_H264_PROGRESSIVE_HIGH + - VDP_DECODER_PROFILE_H264_CONSTRAINED_HIGH + - VDP_DECODER_PROFILE_H264_HIGH_444_PREDICTIVE + + In addition, this release includes a number of packaging and compiler warning + fixes and clarifies the ABI policy to include the size of the data structures + defined in vdpau.h. It also fixes a race condition that could be triggered + when two threads call VdpDeviceCreateX11 simultaneously. + + * vdpau_x11.h: update stale comment about how libvdpau finds drivers + * vdpau.h: define a more strict ABI policy + * trace: properly annotate private functions as static + * vdpau: do not export _vdp_DRI2* functions + * Clarify type of source_surface as VDP_INVALID_HANDLE + * vdpau_x11 - fix typo + * Add support for H.264 Hi444PP in VDPAU API + * vdpau_trace: Fix GCC 4.8 build warnings + * vdpau_wrapper: remove unused parameter warnings + * test: do not clobber CFLAGS + * test: remove assignment-as-truth-value warning + * test: fix incomplete prototype + * vdpau.h: improve constant expansion safety + * vdpau: define some more H.264/AVC decoding profiles + * configure: add test for POSIX threads + * vdpau_wrapper: make the fixes initialization thread-safe + * vdpau_wrapper: make initialization of library handles thread-safe + * vdpau_wrapper: protect concurrent access to _imp_get_proc_address + +- Updated vdpauinfo to version 0.9 + + This release adds support for the new profiles added in libvdpau 0.9. It + also adds the ability to display which indexed color formats are supported by + the PutBits interface. + + Finally, it adds the command line options --display and --screen, which can + be used to select which X server and screen to query rather than having to + set the $DISPLAY environment variable. + + * Set the AM_INIT_AUTOMAKE foreign flag + * vdpauinfo: add option processing + * vdpauinfo: print supported PutBits indexed color formats + * Support new H.264 profiles added in libvdpau 0.9 + * List profiles that are not supported as well + +- rebased patches + ------------------------------------------------------------------- Wed Jul 2 07:49:16 UTC 2014 - sndirsch@suse.com diff --git a/libvdpau.spec b/libvdpau.spec index 8a9568c..c2bef9d 100644 --- a/libvdpau.spec +++ b/libvdpau.spec @@ -17,22 +17,25 @@ Name: libvdpau -Version: 0.8 +Version: 0.9 Release: 0 Summary: VDPAU wrapper and trace libraries License: MIT Group: System/Libraries -Url: http://people.freedesktop.org/~aplattner +Url: http://www.freedesktop.org/wiki/Software/VDPAU/ Source: http://people.freedesktop.org/~aplattner/vdpau/%{name}-%{version}.tar.bz2 -Source1: vdpauinfo-0.1.tar.gz +Source1: http://people.freedesktop.org/~aplattner/vdpau/vdpauinfo-%{version}.tar.gz Source2: README Source99: baselibs.conf Source100: %{name}-rpmlintrc -Patch: vdpauinfo-missing-lX11.diff +# PATCH-FIX-OPENSUSE vdpauinfo-missing-lX11.diff -- add missing lX11 library +Patch0: vdpauinfo-missing-lX11.diff +# PATCH-FIX-OPENSUSE libvdpau-nopdftex.patch -- don't requires pdftex for building Patch1: libvdpau-nopdftex.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: graphviz BuildRequires: libtool @@ -84,9 +87,9 @@ Its usage is documented in the README. %prep %setup -q -b1 -%patch1 -p0 +%patch1 -p1 pushd ../vdpauinfo-* -%patch -p0 +%patch0 -p1 popd %build @@ -113,6 +116,8 @@ popd cp $RPM_SOURCE_DIR/README . +%fdupes -s $RPM_BUILD_ROOT/%{_datadir}/doc/ + %post -n libvdpau1 -p /sbin/ldconfig %postun -n libvdpau1 -p /sbin/ldconfig diff --git a/vdpauinfo-0.1.tar.gz b/vdpauinfo-0.1.tar.gz deleted file mode 100644 index 262d52a..0000000 --- a/vdpauinfo-0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b0c856a6933e306f3f783717a29124c7d145d6027a3175e197249696f5d5019f -size 82732 diff --git a/vdpauinfo-0.9.tar.gz b/vdpauinfo-0.9.tar.gz new file mode 100644 index 0000000..2e29570 --- /dev/null +++ b/vdpauinfo-0.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a040fe3682db4cb6076179185a68559a62b908cd01f0aee086838eaf2923c8e3 +size 87887 diff --git a/vdpauinfo-missing-lX11.diff b/vdpauinfo-missing-lX11.diff index 50bfe89..473a0f4 100644 --- a/vdpauinfo-missing-lX11.diff +++ b/vdpauinfo-missing-lX11.diff @@ -1,11 +0,0 @@ ---- configure.ac.orig 2011-08-29 16:31:04.069536000 +0200 -+++ configure.ac 2011-08-29 16:31:31.424105000 +0200 -@@ -8,7 +8,7 @@ - - PKG_CHECK_MODULES(VDPAU, x11 [vdpau >= 0.2]) - VDPAUINFO_CXXFLAGS="$VDPAUINFO_CXXFLAGS $VDPAU_CFLAGS" --VDPAUINFO_LIBS="$VDPAUINFO_LIBS $VDPAU_LIBS" -+VDPAUINFO_LIBS="$VDPAUINFO_LIBS $VDPAU_LIBS -lX11" - - AC_SUBST(VDPAUINFO_CXXFLAGS) - AC_SUBST(VDPAUINFO_LIBS)