commit 05ca4f5c7bab26ceae64c473d79537e7ac52648a
Author: Uwe Klotz <uklotz(a)mixxx.org>
Date: Wed Nov 6 11:59:13 2019 +0100
Fix desktop launcher patch
launcher-platform-xcb.patch | 56 ++++++---------------------------------------
mixxx.spec | 5 +++-
2 files changed, 11 insertions(+), 50 deletions(-)
---
diff --git a/launcher-platform-xcb.patch b/launcher-platform-xcb.patch
index d9311bf..e5458be 100644
--- a/launcher-platform-xcb.patch
+++ b/launcher-platform-xcb.patch
@@ -1,53 +1,11 @@
-From c4197fa4cf7e4bfa7f24850fd619a77e9e4f2f32 Mon Sep 17 00:00:00 2001
-From: Uwe Klotz <uklotz(a)mixxx.org>
-Date: Thu, 31 Oct 2019 21:16:51 +0100
-Subject: [PATCH 1/2] Disable QtWayland in desktop launcher
-
-https://bugs.launchpad.net/mixxx/+bug/1850729
----
- build/debian/mixxx.desktop | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/build/debian/mixxx.desktop b/build/debian/mixxx.desktop
-index fc89fa6da1..3bad29a170 100644
---- a/build/debian/mixxx.desktop
-+++ b/build/debian/mixxx.desktop
-@@ -3,7 +3,7 @@ Version=1.0
- Name=Mixxx
- GenericName=Digital DJ interface
+--- a/res/linux/mixxx.desktop
++++ b/res/linux/mixxx.desktop
+@@ -8,7 +8,7 @@
Comment=A digital DJ interface
--Exec=pasuspender -- mixxx
-+Exec=QT_QPA_PLATFORM=xcb pasuspender -- mixxx
+ Comment[de]=Ein digitales DJ-System
+ Comment[fr]=Une interface numérique pour DJ
+-Exec=sh -c "pasuspender -- mixxx || mixxx"
++Exec=sh -c "pasuspender -- mixxx -platform xcb || mixxx -platform xcb"
Terminal=false
Icon=mixxx_icon
Type=Application
---
-2.23.0
-
-
-From 55d700f4894164b7b8f463eea319cdb9896d3b3d Mon Sep 17 00:00:00 2001
-From: Uwe Klotz <uklotz(a)mixxx.org>
-Date: Thu, 31 Oct 2019 22:55:20 +0100
-Subject: [PATCH 2/2] Use command-line argument to select the platform
- abstraction
-
----
- build/debian/mixxx.desktop | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/build/debian/mixxx.desktop b/build/debian/mixxx.desktop
-index 3bad29a170..c7c96e7720 100644
---- a/build/debian/mixxx.desktop
-+++ b/build/debian/mixxx.desktop
-@@ -3,7 +3,7 @@ Version=1.0
- Name=Mixxx
- GenericName=Digital DJ interface
- Comment=A digital DJ interface
--Exec=QT_QPA_PLATFORM=xcb pasuspender -- mixxx
-+Exec=pasuspender -- mixxx -platform xcb
- Terminal=false
- Icon=mixxx_icon
- Type=Application
---
-2.23.0
-
diff --git a/mixxx.spec b/mixxx.spec
index 7475bd8..caee0aa 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -17,7 +17,7 @@
Name: mixxx
Version: 2.2.2
-Release: 2%{?extraver:.%{extraver}}%{?snapinfo:.%{snapinfo}}%{?dist}
+Release: 3%{?extraver:.%{extraver}}%{?snapinfo:.%{snapinfo}}%{?dist}
Summary: Mixxx is open source software for DJ'ing
Group: Applications/Multimedia
License: GPLv2+
@@ -163,6 +163,9 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}
%changelog
+* Wed Nov 06 2019 Uwe Klotz <uklotz(a)mixxx.org> - 2.2.2-3
+- Fix desktop launcher patch
+
* Thu Oct 31 2019 Uwe Klotz <uklotz(a)mixxx.org> - 2.2.2-2
- Use XCB instead of the default Qt Wayland platform adapter
- Use system libebur128