Hello community,
here is the log from the commit of package libvdpau-va-gl for openSUSE:Factory checked in at 2016-11-16 13:32:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libvdpau-va-gl (Old)
and /work/SRC/openSUSE:Factory/.libvdpau-va-gl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvdpau-va-gl"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libvdpau-va-gl/libvdpau-va-gl.changes 2016-07-27 16:12:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libvdpau-va-gl.new/libvdpau-va-gl.changes 2016-11-16 13:32:47.000000000 +0100
@@ -1,0 +2,11 @@
+Tue Nov 15 15:20:23 UTC 2016 - sor.alexei@meowr.ru
+
+- Update to version 0.4.2 (changes since 0.4.0):
+ * Fix a resource leak in VideoSurface.
+ * Fix compiling against libc++.
+ * Hardcode 4096x4096 as a maximum video surface resolution.
+- Use G++ 5 in openSUSE Leap 42.x to compile the unified
+ initialisers in ByteReader in src/bitstream.hh, thanks to
+ Max Staudt (boo#1008763).
+
+-------------------------------------------------------------------
Old:
----
libvdpau-va-gl-0.4.0.tar.gz
New:
----
libvdpau-va-gl-0.4.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libvdpau-va-gl.spec ++++++
--- /var/tmp/diff_new_pack.0slH6U/_old 2016-11-16 13:32:48.000000000 +0100
+++ /var/tmp/diff_new_pack.0slH6U/_new 2016-11-16 13:32:48.000000000 +0100
@@ -19,7 +19,7 @@
%define soname libvdpau_va_gl
%define sover 1
Name: libvdpau-va-gl
-Version: 0.4.0
+Version: 0.4.2
Release: 0
Summary: VDPAU driver with OpenGL/VAAPI backend
License: LGPL-3.0+
@@ -28,11 +28,16 @@
Source: https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: cmake
-BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(libva-glx)
BuildRequires: pkgconfig(vdpau)
+%if 0%{?suse_version} > 1320
+BuildRequires: gcc-c++
+%else
+# C++11 unified initialisation is of need.
+BuildRequires: gcc5-c++
+%endif
%description
Many applications can use VDPAU to accelerate portions of the video
@@ -78,15 +83,21 @@
EOF
%build
+%if 0%{?suse_version} <= 1320
+export CC="gcc-5"
+export CXX="g++-5"
+# Default ABI up to G++4.9.
+export CXXFLAGS="%{optflags} -fabi-version=2 -fabi-compat-version=2"
+%endif
%cmake \
-DLIB_INSTALL_DIR=%{_libdir}/vdpau
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
%install
%cmake_install
-install -Dm 0644 %{name}.sh %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
-install -Dm 0644 %{name}.csh %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh
+install -Dpm 0644 %{name}.sh %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
+install -Dpm 0644 %{name}.csh %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh
%files -n %{soname}%{sover}
%defattr(-,root,root)
++++++ libvdpau-va-gl-0.4.0.tar.gz -> libvdpau-va-gl-0.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvdpau-va-gl-0.4.0/README.md new/libvdpau-va-gl-0.4.2/README.md
--- old/libvdpau-va-gl-0.4.0/README.md 2016-06-19 20:21:38.000000000 +0200
+++ new/libvdpau-va-gl-0.4.2/README.md 2016-09-27 16:21:12.000000000 +0200
@@ -43,7 +43,7 @@
`VDPAU_QUIRKS` contains comma-separated list of enabled quirks. Here is the list:
- * `XCloseDisplay` Disables calling of XCloseDisplay which may segfault on systems with some AMD cards
+ * `XCloseDisplay` Disables calling of XCloseDisplay which may segfault on some video drivers
* `ShowWatermark` Enables displaying string "va_gl" in bottom-right corner of window
* `AvoidVA` Makes libvdpau-va-gl NOT use VA-API
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvdpau-va-gl-0.4.0/src/api-device.cc new/libvdpau-va-gl-0.4.2/src/api-device.cc
--- old/libvdpau-va-gl-0.4.0/src/api-device.cc 2016-06-19 20:21:38.000000000 +0200
+++ new/libvdpau-va-gl-0.4.2/src/api-device.cc 2016-09-27 16:21:12.000000000 +0200
@@ -41,6 +41,7 @@
#include <map>
#include <mutex>
#include
+#include <string>
#include
#include
#include <vector>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvdpau-va-gl-0.4.0/src/api-video-surface.cc new/libvdpau-va-gl-0.4.2/src/api-video-surface.cc
--- old/libvdpau-va-gl-0.4.0/src/api-video-surface.cc 2016-06-19 20:21:38.000000000 +0200
+++ new/libvdpau-va-gl-0.4.2/src/api-video-surface.cc 2016-09-27 16:21:12.000000000 +0200
@@ -123,7 +123,9 @@
try {
{
GLXThreadLocalContext guard{device};
+
glDeleteTextures(1, &tex_id);
+ glDeleteFramebuffers(1, &fbo_id);
const auto gl_error = glGetError();
if (gl_error != GL_NO_ERROR)
@@ -486,10 +488,10 @@
*is_supported = 1;
if (max_width)
- *max_width = 1920;
+ *max_width = 4096;
if (max_height)
- *max_height = 1080;
+ *max_height = 4096;
return VDP_STATUS_OK;
}