1 |
commit: c2ac259d462b6f957e8f74f9affb71d54a1a4534 |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Dec 2 00:19:10 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 7 13:17:33 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=c2ac259d |
7 |
|
8 |
kde-apps/kteatime: Add drkonqi initialisation |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
.../kteatime-15.11.80-kcrash-initialise.patch | 28 ++++++++++++++++++++++ |
13 |
kde-apps/kteatime/kteatime-15.12.49.9999.ebuild | 2 ++ |
14 |
kde-apps/kteatime/kteatime-9999.ebuild | 2 ++ |
15 |
3 files changed, 32 insertions(+) |
16 |
|
17 |
diff --git a/kde-apps/kteatime/files/kteatime-15.11.80-kcrash-initialise.patch b/kde-apps/kteatime/files/kteatime-15.11.80-kcrash-initialise.patch |
18 |
new file mode 100644 |
19 |
index 0000000..3a67bb2 |
20 |
--- /dev/null |
21 |
+++ b/kde-apps/kteatime/files/kteatime-15.11.80-kcrash-initialise.patch |
22 |
@@ -0,0 +1,28 @@ |
23 |
+commit 8edb1db4016fc90a8406e4e0c5d1a04378f72e5f |
24 |
+Author: Andreas Sturmlechner <andreas.sturmlechner@×××××.com> |
25 |
+Date: Tue Dec 1 23:47:36 2015 +0100 |
26 |
+ |
27 |
+ Initialise KCrash for DrKonqui integration. |
28 |
+ |
29 |
+diff --git a/src/main.cpp b/src/main.cpp |
30 |
+index 2b5d8cc..665a92d 100644 |
31 |
+--- a/src/main.cpp |
32 |
++++ b/src/main.cpp |
33 |
+@@ -22,6 +22,7 @@ |
34 |
+ #include <QCommandLineParser> |
35 |
+ |
36 |
+ #include <KAboutData> |
37 |
++#include <KCrash> |
38 |
+ #include <KLocalizedString> |
39 |
+ |
40 |
+ |
41 |
+@@ -44,6 +45,9 @@ int main (int argc, char *argv[]) |
42 |
+ ) |
43 |
+ ); |
44 |
+ |
45 |
++ // TODO: for >=KF5.15 use KCrash::initialize(); |
46 |
++ KCrash::setCrashHandler(KCrash::defaultCrashHandler); |
47 |
++ |
48 |
+ aboutData.addAuthor(i18n("Stefan Böhmann"), i18n("Current maintainer"), QStringLiteral("kde@××××××××.org"), QStringLiteral("http://www.hilefoks.org"), QStringLiteral("hilefoks")); |
49 |
+ aboutData.addAuthor(i18n("Matthias Hoelzer-Kluepfel"), QString(), QStringLiteral("hoelzer@×××.org")); |
50 |
+ aboutData.addAuthor(i18n("Martin Willers"), QString(), QStringLiteral("willers@×××××××.de")); |
51 |
|
52 |
diff --git a/kde-apps/kteatime/kteatime-15.12.49.9999.ebuild b/kde-apps/kteatime/kteatime-15.12.49.9999.ebuild |
53 |
index b61a7c9..46381eb 100644 |
54 |
--- a/kde-apps/kteatime/kteatime-15.12.49.9999.ebuild |
55 |
+++ b/kde-apps/kteatime/kteatime-15.12.49.9999.ebuild |
56 |
@@ -26,3 +26,5 @@ DEPEND=" |
57 |
dev-qt/qtwidgets:5 |
58 |
" |
59 |
RDEPEND="${DEPEND}" |
60 |
+ |
61 |
+PATCHES=( "${FILESDIR}/${PN}-15.11.80-kcrash-initialise.patch" ) |
62 |
|
63 |
diff --git a/kde-apps/kteatime/kteatime-9999.ebuild b/kde-apps/kteatime/kteatime-9999.ebuild |
64 |
index b61a7c9..46381eb 100644 |
65 |
--- a/kde-apps/kteatime/kteatime-9999.ebuild |
66 |
+++ b/kde-apps/kteatime/kteatime-9999.ebuild |
67 |
@@ -26,3 +26,5 @@ DEPEND=" |
68 |
dev-qt/qtwidgets:5 |
69 |
" |
70 |
RDEPEND="${DEPEND}" |
71 |
+ |
72 |
+PATCHES=( "${FILESDIR}/${PN}-15.11.80-kcrash-initialise.patch" ) |