From 5d25db48296bca0c7d8382f5b1bf12df800c33fee4657aad292122921818ee9a Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 1 Mar 2019 11:59:36 +0000 Subject: [PATCH 1/2] - Update libvdpau to version 1.2 * This version of libvdpau adds new chroma types defining whether surfaces contain frames or fields, and a new picture parameter structure that supports HEVC 4:4:4 pictures. - supersedes U_Add_missing_include_of_config_h_to_define_GNU_SOURCE.patch OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libvdpau?expand=0&rev=15 --- ...ude_of_config_h_to_define_GNU_SOURCE.patch | 29 ------------------- libvdpau-1.1.1.tar.bz2 | 3 -- libvdpau-1.2.tar.bz2 | 3 ++ libvdpau.changes | 9 ++++++ libvdpau.spec | 8 ++--- 5 files changed, 15 insertions(+), 37 deletions(-) delete mode 100644 U_Add_missing_include_of_config_h_to_define_GNU_SOURCE.patch delete mode 100644 libvdpau-1.1.1.tar.bz2 create mode 100644 libvdpau-1.2.tar.bz2 diff --git a/U_Add_missing_include_of_config_h_to_define_GNU_SOURCE.patch b/U_Add_missing_include_of_config_h_to_define_GNU_SOURCE.patch deleted file mode 100644 index f7641c8..0000000 --- a/U_Add_missing_include_of_config_h_to_define_GNU_SOURCE.patch +++ /dev/null @@ -1,29 +0,0 @@ -From b9905906439d84ee8e99c648ca2383c32c057c68 Mon Sep 17 00:00:00 2001 -From: Rico Tzschichholz -Date: Tue, 1 Sep 2015 10:45:11 +0200 -Subject: [PATCH] mesa_dri2: Add missing include of config.h to define - _GNU_SOURCE - -Fix build with -Wimplicit-function-declaration while secure_getenv() is -guarded by __USE_GNU. ---- - src/mesa_dri2.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/mesa_dri2.c b/src/mesa_dri2.c -index 51e8794..420ccee 100644 ---- a/src/mesa_dri2.c -+++ b/src/mesa_dri2.c -@@ -33,6 +33,9 @@ - * and José Hiram Soltren (jsoltren@nvidia.com) - */ - -+#ifdef HAVE_CONFIG_H -+#include "config.h" -+#endif - - #define NEED_REPLIES - #include --- -2.5.0 - diff --git a/libvdpau-1.1.1.tar.bz2 b/libvdpau-1.1.1.tar.bz2 deleted file mode 100644 index 4c776f6..0000000 --- a/libvdpau-1.1.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:857a01932609225b9a3a5bf222b85e39b55c08787d0ad427dbd9ec033d58d736 -size 429576 diff --git a/libvdpau-1.2.tar.bz2 b/libvdpau-1.2.tar.bz2 new file mode 100644 index 0000000..bb5d30e --- /dev/null +++ b/libvdpau-1.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a499b186f524e1c16b4f5b57a6a2de70dfceb25c4ee546515f26073cd33fa06 +size 434329 diff --git a/libvdpau.changes b/libvdpau.changes index 8da9330..d681932 100644 --- a/libvdpau.changes +++ b/libvdpau.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Mar 1 11:43:48 UTC 2019 - Stefan Dirsch + +- Update libvdpau to version 1.2 + * This version of libvdpau adds new chroma types defining whether + surfaces contain frames or fields, and a new picture parameter + structure that supports HEVC 4:4:4 pictures. +- supersedes U_Add_missing_include_of_config_h_to_define_GNU_SOURCE.patch + ------------------------------------------------------------------- Wed Dec 12 20:18:16 UTC 2018 - Jan Engelhardt diff --git a/libvdpau.spec b/libvdpau.spec index 4ee5611..5824040 100644 --- a/libvdpau.spec +++ b/libvdpau.spec @@ -1,7 +1,7 @@ # # spec file for package libvdpau # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libvdpau -Version: 1.1.1 +Version: 1.2 Release: 0 Summary: VDPAU wrapper and trace libraries License: MIT @@ -28,7 +28,6 @@ Source1: http://people.freedesktop.org/~aplattner/vdpau/vdpauinfo-1.0.tar Source2: README Source99: baselibs.conf Source100: %{name}-rpmlintrc -Patch0: U_Add_missing_include_of_config_h_to_define_GNU_SOURCE.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen @@ -83,7 +82,6 @@ Its usage is documented in the README. %prep %setup -q -b1 -%patch0 -p1 %build autoreconf -fi From c84a11394d0ae5000ed2b42f15114b2e6976782155d3accbcdb4ef0d09a799d2 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 1 Mar 2019 13:30:42 +0000 Subject: [PATCH 2/2] fixed Source URL OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libvdpau?expand=0&rev=16 --- libvdpau.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvdpau.spec b/libvdpau.spec index 5824040..53daf06 100644 --- a/libvdpau.spec +++ b/libvdpau.spec @@ -23,7 +23,7 @@ Summary: VDPAU wrapper and trace libraries License: MIT Group: Development/Libraries/C and C++ URL: http://www.freedesktop.org/wiki/Software/VDPAU/ -Source: http://people.freedesktop.org/~aplattner/vdpau/%{name}-%{version}.tar.bz2 +Source: https://gitlab.freedesktop.org/vdpau/libvdpau/uploads/14b620084c027d546fa0b3f083b800c6/%{name}-%{version}.tar.bz2 Source1: http://people.freedesktop.org/~aplattner/vdpau/vdpauinfo-1.0.tar.gz Source2: README Source99: baselibs.conf