[vlc] Fix libvlc vdpau issue (rfbz #4678)
by Leigh Scott
commit eabba11346d2c9567f372630908f75fdfa91afb4
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Oct 10 14:34:27 2017 +0100
Fix libvlc vdpau issue (rfbz #4678)
libvlc_remove_xid.patch | 29 +++++++++++++++++++++++++++++
sources | 2 +-
vlc.spec | 16 +++++++++++-----
3 files changed, 41 insertions(+), 6 deletions(-)
---
diff --git a/libvlc_remove_xid.patch b/libvlc_remove_xid.patch
new file mode 100644
index 0000000..afe01b6
--- /dev/null
+++ b/libvlc_remove_xid.patch
@@ -0,0 +1,29 @@
+From 0014603e717efc39242acc5c3dafc9390304415b Mon Sep 17 00:00:00 2001
+From: Thomas Guillem <thomas(a)gllm.fr>
+Date: Tue, 10 Oct 2017 15:01:26 +0200
+Subject: [PATCH] libvlc: don't force the xid "vout display"
+
+libvlc_media_player_set_xwindow() should only force the embed-xid "vout window"
+plugin but not the xid "vout display" plugin.
+
+This allows to use the GL "vout display" via EGL/GLX (with full hardware
+acceleration) with an embedded X window.
+
+Fixes #18907
+---
+ lib/media_player.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/media_player.c b/lib/media_player.c
+index 7247cdea857..ef34125aa5a 100644
+--- a/lib/media_player.c
++++ b/lib/media_player.c
+@@ -1175,7 +1175,7 @@ void libvlc_media_player_set_xwindow( libvlc_media_player_t *p_mi,
+ assert (p_mi != NULL);
+
+ var_SetString (p_mi, "avcodec-hw", "");
+- var_SetString (p_mi, "vout", drawable ? "xid" : "");
++ var_SetString (p_mi, "vout", "");
+ var_SetString (p_mi, "window", drawable ? "embed-xid,any" : "");
+ var_SetInteger (p_mi, "drawable-xid", drawable);
+ }
diff --git a/sources b/sources
index 5293529..e71444f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9947671bbf29c2ab46c919d8e7a853e4 vlc-3.0.0-20170922-0239-git.tar.xz
+fcea04f4a76dcc36c9ed2450b72d87b1 vlc-3.0.0-20171009-0241-git.tar.xz
diff --git a/vlc.spec b/vlc.spec
index 2fe0d48..542a5df 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -1,5 +1,5 @@
-%global vlc_date 20170922
-%global vlc_rc -%{?vlc_date}-0239-git
+%global vlc_date 20171009
+%global vlc_rc -%{?vlc_date}-0241-git
%if 0%{?vlc_rc:1}
%global vlc_url https://nightlies.videolan.org/build/source/
%else
@@ -39,13 +39,14 @@
Summary: The cross-platform open-source multimedia framework, player and server
Name: vlc
Version: 3.0.0
-Release: 0.36%{?vlc_date:.git%{vlc_date}}%{?dist}
+Release: 0.37%{?vlc_date:.git%{vlc_date}}%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL: http://www.videolan.org
Source0: %{vlc_url}/%{?!vlc_rc:%{version}/}vlc-%{version}%{?vlc_rc}.tar.xz
#https://trac.videolan.org/vlc/ticket/18383
Patch0: 0001-qt-Prefer-XCB-over-Wayland.patch
+Patch1: libvlc_remove_xid.patch
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
@@ -253,6 +254,7 @@ VLC media player extras modules.
%prep
%setup -q -n %{name}-%{version}%{?vlc_rc:-git}
%patch0 -p1 -b .wl
+%patch1 -p1 -b .xid
%{?_with_bootstrap:
rm aclocal.m4 m4/lib*.m4 m4/lt*.m4 || :
./bootstrap
@@ -356,7 +358,7 @@ touch %{buildroot}%{_libdir}/vlc/plugins/plugins.dat
#Appdata
appstream-util validate-relax --nonet \
- %{buildroot}/%{_datadir}/appdata/*.appdata.xml || :
+ %{buildroot}/%{_datadir}/metainfo/*.appdata.xml || :
#Fixup
rm -rf %{buildroot}/%{_datadir}/macosx
@@ -407,7 +409,7 @@ fi || :
%files
%doc AUTHORS ChangeLog NEWS README THANKS
%license COPYING
-%{_datadir}/appdata/vlc.appdata.xml
+%{_datadir}/metainfo/vlc.appdata.xml
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/kde4/apps/solid/actions/vlc-*.desktop
%{_datadir}/icons/hicolor/*/apps/vlc*.png
@@ -550,6 +552,10 @@ fi || :
%changelog
+* Mon Oct 09 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 3.0.0-0.37.git20171009
+- Update snapshot
+- Fix libvlc vdpau issue (rfbz #4678)
+
* Mon Sep 25 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 3.0.0-0.36.git20170922
- Rebuilt for live555
7 years, 1 month
[ffmpegthumbs/f27] Update to 17.08.1
by Sérgio M. Basto
Summary of changes:
d2d8462... Update to 17.08.1 (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 1 month
[kwave/f27] Update kwave to 17.08.1
by Sérgio M. Basto
Summary of changes:
d1c325e... Update kwave to 17.08.1 (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 1 month
[kdenlive/f27] (3 commits) ...Fix file not found
by Sérgio M. Basto
Summary of changes:
535084c... Update to 17.08.1 (*)
b9aef0f... remove gcc7.patch (*)
95222f9... Fix file not found (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 1 month
[kdenlive] Fix file not found
by Leigh Scott
commit 95222f9eafc4420a68f7b94eda63006411a07c39
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Mon Oct 9 08:02:10 2017 +0100
Fix file not found
kdenlive.spec | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/kdenlive.spec b/kdenlive.spec
index c10f476..d6fd926 100644
--- a/kdenlive.spec
+++ b/kdenlive.spec
@@ -129,7 +129,6 @@ fi
%{_kf5_datadir}/knotifications5/kdenlive.notifyrc
%{_kf5_datadir}/kservices5/mltpreview.desktop
%{_kf5_datadir}/kxmlgui5/kdenlive/
-%{_kf5_sysconfdir}/xdg/kdenlive_projectprofiles.knsrc
%{_kf5_sysconfdir}/xdg/kdenlive_renderprofiles.knsrc
%{_kf5_sysconfdir}/xdg/kdenlive_titles.knsrc
%{_kf5_sysconfdir}/xdg/kdenlive_wipes.knsrc
7 years, 1 month
[kwave] add build requires kf5-karchive-devel
by Leigh Scott
commit 1695273402908150bd2a339befd6705cc94d4139
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Mon Oct 9 01:11:43 2017 +0100
add build requires kf5-karchive-devel
kwave.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/kwave.spec b/kwave.spec
index 9ff282d..23920b2 100644
--- a/kwave.spec
+++ b/kwave.spec
@@ -17,6 +17,7 @@ Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{
BuildRequires: extra-cmake-modules
BuildRequires: cmake(Qt5Multimedia)
+BuildRequires: cmake(KF5Archive)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5WidgetsAddons)
BuildRequires: cmake(KF5I18n)
7 years, 1 month
[kdenlive] remove gcc7.patch
by Sérgio M. Basto
commit b9aef0f012a0977d205082d7da2fca124fc2aabc
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Mon Oct 9 01:04:21 2017 +0100
remove gcc7.patch
gcc7.patch | 34 ----------------------------------
kdenlive.spec | 1 -
2 files changed, 35 deletions(-)
---
diff --git a/kdenlive.spec b/kdenlive.spec
index e48d39f..c10f476 100644
--- a/kdenlive.spec
+++ b/kdenlive.spec
@@ -13,7 +13,6 @@ URL: http://www.kdenlive.org
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/kdenlive-%{...
-Patch0: gcc7.patch
BuildRequires: desktop-file-utils
BuildRequires: extra-cmake-modules
7 years, 1 month