[python-vlc] Update to 3.0.6109
by Leigh Scott
commit fcbdfc2754c66673bd2e1793d9f66b220c80122d
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed May 8 15:29:09 2019 +0100
Update to 3.0.6109
.gitignore | 1 +
python-vlc.spec | 27 ++++++++++++++++++---------
sources | 2 +-
3 files changed, 20 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b6944ee..9e62646 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
python-vlc-1.1.0-20141115git.tar.bz2
/python-vlc-1.1.2-20161001git5d389c7.tar.bz2
+/python-vlc-3.0.6109-20190508git949d19e.tar.bz2
diff --git a/python-vlc.spec b/python-vlc.spec
index a234a57..d410645 100644
--- a/python-vlc.spec
+++ b/python-vlc.spec
@@ -1,16 +1,15 @@
# [Fedora] Turn off the brp-python-bytecompile script
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
-%global gitdate 20161001git5d389c7
+%global gitdate 20190508git949d19e
%global srcname vlc
%global sum VLC Media Player binding for Python
%global desc This package provides a python interface to control VLC Media Player.
Name: python-%{srcname}
-Version: 1.1.2
-Release: 9.%{gitdate}%{?dist}
+Version: 3.0.6109
+Release: 0.1.%{gitdate}%{?dist}
Summary: VLC Media Player binding for Python
-Group: Applications/Multimedia
License: GPLv2+
URL: http://www.videolan.org/
Source0: %{name}-%{version}-%{gitdate}.tar.bz2
@@ -43,17 +42,22 @@ Requires: vlc-core >= 1.1.0
sed -i "s|! /usr/bin/python|! %{__python3}|" examples/*.py
%build
-# The vlc.py file is already generated
+pushd generated/3.0
%py2_build
%py3_build
+popd
%install
+pushd generated/3.0
%py2_install
%py3_install
+popd
-mkdir -p %{buildroot}%{_datadir}/%{name}/examples
-install -pm 755 examples/* \
+mkdir -p %{buildroot}%{_datadir}/%{name}/examples/video_sync
+install -pm 755 examples/*.* \
%{buildroot}%{_datadir}/%{name}/examples/
+install -pm 755 examples/video_sync/*.* \
+ %{buildroot}%{_datadir}/%{name}/examples/video_sync/
#fix shebang
sed -i "s|! /usr/bin/python|! %{__python2}|" %{buildroot}%{python2_sitelib}/vlc.py
@@ -64,9 +68,10 @@ chmod +x %{buildroot}%{python2_sitelib}/*py
chmod +x %{buildroot}%{python3_sitelib}/*py
%check
+pushd generated/3.0
%{__python2} setup.py test
-# Disable Python 3 tests. They pass on 3.4 but fail on 3.5
-#{__python3} setup.py test
+%{__python3} setup.py test
+popd
%files -n python2-%{srcname}
%license COPYING
@@ -82,6 +87,10 @@ chmod +x %{buildroot}%{python3_sitelib}/*py
%changelog
+* Wed May 08 2019 Leigh Scott <leigh123linux(a)gmail.com> - 3.0.6109-0.1.20190508git949d19e
+- Update to 3.0.6109
+- Remove Group tag
+
* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 1.1.2-9.20161001git5d389c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- Fix shebang on examples
diff --git a/sources b/sources
index 8e99381..b5098a7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fd400903c457fbcf6f2fa75542821aca python-vlc-1.1.2-20161001git5d389c7.tar.bz2
+f402f5ef30781991fb432550d5b543fe python-vlc-3.0.6109-20190508git949d19e.tar.bz2
5 years, 6 months
[python-vlc] Fix update script
by Leigh Scott
commit 78ddce2564017292e5e8ba5702351dd2bd7dcd89
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed May 8 14:40:41 2019 +0100
Fix update script
python-vlc-snapshot.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python-vlc-snapshot.sh b/python-vlc-snapshot.sh
index 8251973..a271c3d 100644
--- a/python-vlc-snapshot.sh
+++ b/python-vlc-snapshot.sh
@@ -17,7 +17,7 @@ name=python-vlc
pushd "$tmp" > /dev/null
git clone git://git.videolan.org/vlc/bindings/python.git
-version=$(cat python/setup.py |grep version|sed -e "s|.*= '||" -e "s|',||")
+version=$(cat python/generated/3.0/setup.py |grep version|sed -e "s|.*= '||" -e "s|',||")
pushd python
tag=$(git rev-list HEAD -n 1 | cut -c 1-7)
popd
5 years, 6 months
[chromium-vaapi] Add a patch from upstream to Fix window flash for some WMs; remove rasterization flag from wrapper d
by hellbanger
commit 0681269771c424d34670a796d6cd47f43be8cea4
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Wed May 8 14:57:53 2019 +0530
Add a patch from upstream to Fix window flash for some WMs; remove rasterization flag from wrapper due to graphic problems on some GPUs
chromium-vaapi.sh | 1 -
chromium-vaapi.spec | 4 +++
fixwindowflashm74.patch | 95 +++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 99 insertions(+), 1 deletion(-)
---
diff --git a/chromium-vaapi.sh b/chromium-vaapi.sh
index 12770d7..d01dba8 100644
--- a/chromium-vaapi.sh
+++ b/chromium-vaapi.sh
@@ -58,7 +58,6 @@ CHROMIUM_DISTRO_FLAGS+=" --enable-plugins \
--enable-user-scripts \
--enable-features=WebRTCPipeWireCapturer \
--enable-printing \
- --enable-gpu-rasterization \
--enable-sync"
exec -a "$0" "@@CHROMIUMDIR@@/$(basename "$0" | sed 's/\.sh$//')" $CHROMIUM_DISTRO_FLAGS "$@"
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 1005317..a807c6e 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -204,6 +204,9 @@ Patch54: brand.patch
Patch65: chromium-73.0.3683.75-pipewire-cstring-fix.patch
# Update Linux Seccomp syscall restrictions to EPERM posix_spawn/vfork
Patch66: chromium-glibc-2.29.patch
+# Fix some chromium regressions against certain type of window compositors
+# Patch status: backported from https://chromium-review.googlesource.com/c/chromium/src/+/1597388
+Patch67: fixwindowflashm74.patch
%description
chromium-vaapi is an open-source web browser, powered by WebKit (Blink)
@@ -225,6 +228,7 @@ chromium-vaapi is an open-source web browser, powered by WebKit (Blink)
%patch65 -p1 -b .pipewire
%endif
%patch66 -p1 -b .glibc
+%patch67 -p1 -b .fwfm74
%if 0%{?fedora} >= 30
# Add a workaround for a race condition in clang-llvm8+ compiler
diff --git a/fixwindowflashm74.patch b/fixwindowflashm74.patch
new file mode 100644
index 0000000..42076de
--- /dev/null
+++ b/fixwindowflashm74.patch
@@ -0,0 +1,95 @@
+From 90e226ba50c98b5e60f74f9dce998b17117f9051 Mon Sep 17 00:00:00 2001
+From: Peng Huang <penghuang(a)chromium.org>
+Date: Tue, 07 May 2019 13:16:21 +0000
+Subject: [PATCH] Fix window flash for some WMs
+
+Bug: 956061
+Change-Id: I0d8d196395e70006a8fdc770f1e4a5ba6f93dd57
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1597388
+Commit-Queue: Peng Huang <penghuang(a)chromium.org>
+Reviewed-by: Antoine Labour <piman(a)chromium.org>
+Cr-Commit-Position: refs/heads/master@{#657215}
+---
+
+diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
+index 50df0e4..1753dd48 100644
+--- a/ui/gl/BUILD.gn
++++ b/ui/gl/BUILD.gn
+@@ -274,7 +274,10 @@
+ "//build/config/linux:xext",
+ ]
+
+- deps += [ "//ui/gfx/x" ]
++ deps += [
++ "//ui/base/x",
++ "//ui/gfx/x",
++ ]
+ }
+ if (is_win) {
+ sources += [
+diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc
+index f4c13be..777bf76 100644
+--- a/ui/gl/gl_surface_glx.cc
++++ b/ui/gl/gl_surface_glx.cc
+@@ -21,6 +21,7 @@
+ #include "base/time/time.h"
+ #include "base/trace_event/trace_event.h"
+ #include "build/build_config.h"
++#include "ui/base/x/x11_util.h"
+ #include "ui/events/platform/platform_event_source.h"
+ #include "ui/gfx/x/x11.h"
+ #include "ui/gfx/x/x11_connection.h"
+@@ -431,7 +432,9 @@
+ }
+
+ const XVisualInfo& visual_info =
+- gl::GLVisualPickerGLX::GetInstance()->rgba_visual();
++ ui::IsCompositingManagerPresent()
++ ? gl::GLVisualPickerGLX::GetInstance()->rgba_visual()
++ : gl::GLVisualPickerGLX::GetInstance()->system_visual();
+ g_visual = visual_info.visual;
+ g_depth = visual_info.depth;
+ g_colormap =
+@@ -581,18 +584,30 @@
+ }
+ size_ = gfx::Size(attributes.width, attributes.height);
+
+- XSetWindowAttributes swa;
+- memset(&swa, 0, sizeof(swa));
+- swa.background_pixmap = 0;
+- swa.bit_gravity = NorthWestGravity;
+- swa.colormap = g_colormap;
+- swa.background_pixel = 0;
+- swa.border_pixel = 0;
+- window_ = XCreateWindow(
+- gfx::GetXDisplay(), parent_window_, 0 /* x */, 0 /* y */, size_.width(),
+- size_.height(), 0 /* border_width */, g_depth, InputOutput, g_visual,
+- CWBackPixmap | CWBitGravity | CWColormap | CWBackPixel | CWBorderPixel,
+- &swa);
++ XSetWindowAttributes swa = {
++ .background_pixmap = 0,
++ .bit_gravity = NorthWestGravity,
++ .colormap = g_colormap,
++ .background_pixel = 0, // ARGB(0,0,0,0) for compositing WM
++ .border_pixel = 0,
++ };
++ auto value_mask = CWBackPixmap | CWBitGravity | CWColormap | CWBorderPixel;
++ if (ui::IsCompositingManagerPresent() &&
++ XVisualIDFromVisual(attributes.visual) == XVisualIDFromVisual(g_visual)) {
++ // When parent and child are using the same visual, the back buffer will be
++ // shared between parent and child. If WM compositing is enabled, we set
++ // child's background pixel to ARGB(0,0,0,0), so ARGB(0,0,0,0) will be
++ // filled to the shared buffer, when the child window is mapped. It can
++ // avoid an annoying flash when the child window is mapped below.
++ // If WM compositing is disabled, we don't set the background pixel, so
++ // nothing will be draw when the child window is mapped.
++ value_mask |= CWBackPixel;
++ }
++
++ window_ =
++ XCreateWindow(gfx::GetXDisplay(), parent_window_, 0 /* x */, 0 /* y */,
++ size_.width(), size_.height(), 0 /* border_width */,
++ g_depth, InputOutput, g_visual, value_mask, &swa);
+ if (!window_) {
+ LOG(ERROR) << "XCreateWindow failed";
+ return false;
5 years, 6 months
[mock-rpmfusion-free/el7] F30 GA
by Sérgio M. Basto
Summary of changes:
72601be... F30 GA (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 6 months
[mock-rpmfusion-free/f28] F30 GA
by Sérgio M. Basto
Summary of changes:
72601be... F30 GA (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 6 months
[mock-rpmfusion-free/f29] F30 GA
by Sérgio M. Basto
Summary of changes:
72601be... F30 GA (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 6 months
[mock-rpmfusion-free/f30] F30 GA
by Sérgio M. Basto
Summary of changes:
72601be... F30 GA (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 6 months