1 |
commit: 9f5764da72a188fb787eafe6bb4bf389e4c3852b |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 8 19:55:00 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 8 19:57:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f5764da |
7 |
|
8 |
app-emulation/fs-uae-launcher: Patch around crash under KDE Plasma |
9 |
|
10 |
This issue affects PyQt5 in general but I don't know the proper |
11 |
solution and it's easy to patch around. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/684948 |
14 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
15 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
16 |
|
17 |
.../files/fs-uae-launcher-2.8.3-QApplication.patch | 13 +++++++++++++ |
18 |
...auncher-2.8.3.ebuild => fs-uae-launcher-2.8.3-r1.ebuild} | 1 + |
19 |
2 files changed, 14 insertions(+) |
20 |
|
21 |
diff --git a/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-QApplication.patch b/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-QApplication.patch |
22 |
new file mode 100644 |
23 |
index 00000000000..446bfd83591 |
24 |
--- /dev/null |
25 |
+++ b/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-QApplication.patch |
26 |
@@ -0,0 +1,13 @@ |
27 |
+https://bugs.gentoo.org/684948 |
28 |
+ |
29 |
+--- fs-uae-launcher-2.8.3/fsui/qt/qt.py 2017-01-08 19:48:56.000000000 +0000 |
30 |
++++ fs-uae-launcher-2.8.3/fsui/qt/qt.py 2019-05-03 22:28:16.979041988 +0100 |
31 |
+@@ -60,7 +60,7 @@ |
32 |
+ # fix_qt_for_maverick() |
33 |
+ |
34 |
+ fsbc.desktop.set_open_url_in_browser_function(open_url_in_browser) |
35 |
+- qapplication = QtBaseApplication([]) |
36 |
++ qapplication = QtBaseApplication(['']) |
37 |
+ initialize_qt_style(qapplication) |
38 |
+ return qapplication |
39 |
+ |
40 |
|
41 |
diff --git a/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild b/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3-r1.ebuild |
42 |
similarity index 98% |
43 |
rename from app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild |
44 |
rename to app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3-r1.ebuild |
45 |
index d782ea3d97b..ea3355abae2 100644 |
46 |
--- a/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild |
47 |
+++ b/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3-r1.ebuild |
48 |
@@ -30,6 +30,7 @@ DEPEND=" |
49 |
|
50 |
PATCHES=( |
51 |
"${FILESDIR}"/${P}-German-ROMs.patch |
52 |
+ "${FILESDIR}"/${P}-QApplication.patch |
53 |
) |
54 |
|
55 |
src_prepare() { |