commit 72db606a7e307e512124af3f8d3c27970b462996
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Nov 1 15:43:50 2020 +0000
Force X (rfbz#5822)
Force_X.patch | 12 ++++++++++++
shotcut.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/Force_X.patch b/Force_X.patch
new file mode 100644
index 0000000..b86d69d
--- /dev/null
+++ b/Force_X.patch
@@ -0,0 +1,12 @@
+--- a/packaging/linux/org.shotcut.Shotcut.desktop
++++ b/packaging/linux/org.shotcut.Shotcut.desktop
+@@ -7,7 +7,7 @@
+ GenericName[ru]=Видеоредактор
+ Comment=Shotcut is a free, open source, cross-platform video editor.
+ Comment[de]=Programm zum Bearbeiten und Abspielen von Videodateien.
+-Exec=shotcut %F
++Exec=env QT_QPA_PLATFORM=xcb shotcut %F
+ Icon=org.shotcut.Shotcut
+ Terminal=false
+ Categories=AudioVideo;Video;AudioVideoEditing;
+
diff --git a/shotcut.spec b/shotcut.spec
index c271aa1..0f0cb3b 100644
--- a/shotcut.spec
+++ b/shotcut.spec
@@ -4,7 +4,7 @@
Name: shotcut
Version: 20.09.27
-Release: 1%{dist}
+Release: 2%{dist}
#Release: 0.1.beta1%%{dist}
Summary: A free, open source, cross-platform video editor
# The entire source code is GPLv3+ except mvcp/ which is LGPLv2+
@@ -17,6 +17,8 @@ Source1: %{name}.appdata.xml
Patch0: mlt_path.patch
# shotcut-noupdatecheck.patch -- Disable automatic update check
Patch1: shotcut-noupdatecheck.patch
+# Force X
+Patch2: Force_X.patch
BuildRequires: gcc-c++
BuildRequires: desktop-file-utils
@@ -184,6 +186,9 @@ appstream-util validate-relax --nonet
%{buildroot}/%{_metainfodir}/org.%{name}.S
%doc doc
%changelog
+* Sun Nov 1 2020 Leigh Scott <leigh123linux(a)gmail.com> - 20.09.27-2
+- Force X (rfbz#5822)
+
* Mon Sep 28 2020 Martin Gansser <martinkg(a)fedoraproject.org> - 20.09.27-1
- Update to 20.09.27