* [gentoo-commits] proj/kde:master commit in: kde-apps/kteatime/, kde-apps/kteatime/files/
@ 2015-12-07 13:18 Michael Palimaka
0 siblings, 0 replies; only message in thread
From: Michael Palimaka @ 2015-12-07 13:18 UTC (permalink / raw
To: gentoo-commits
commit: c2ac259d462b6f957e8f74f9affb71d54a1a4534
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Wed Dec 2 00:19:10 2015 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Dec 7 13:17:33 2015 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=c2ac259d
kde-apps/kteatime: Add drkonqi initialisation
Package-Manager: portage-2.2.26
.../kteatime-15.11.80-kcrash-initialise.patch | 28 ++++++++++++++++++++++
kde-apps/kteatime/kteatime-15.12.49.9999.ebuild | 2 ++
kde-apps/kteatime/kteatime-9999.ebuild | 2 ++
3 files changed, 32 insertions(+)
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
new file mode 100644
index 0000000..3a67bb2
--- /dev/null
+++ b/kde-apps/kteatime/files/kteatime-15.11.80-kcrash-initialise.patch
@@ -0,0 +1,28 @@
+commit 8edb1db4016fc90a8406e4e0c5d1a04378f72e5f
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Tue Dec 1 23:47:36 2015 +0100
+
+ Initialise KCrash for DrKonqui integration.
+
+diff --git a/src/main.cpp b/src/main.cpp
+index 2b5d8cc..665a92d 100644
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -22,6 +22,7 @@
+ #include <QCommandLineParser>
+
+ #include <KAboutData>
++#include <KCrash>
+ #include <KLocalizedString>
+
+
+@@ -44,6 +45,9 @@ int main (int argc, char *argv[])
+ )
+ );
+
++ // TODO: for >=KF5.15 use KCrash::initialize();
++ KCrash::setCrashHandler(KCrash::defaultCrashHandler);
++
+ aboutData.addAuthor(i18n("Stefan Böhmann"), i18n("Current maintainer"), QStringLiteral("kde@hilefoks.org"), QStringLiteral("http://www.hilefoks.org"), QStringLiteral("hilefoks"));
+ aboutData.addAuthor(i18n("Matthias Hoelzer-Kluepfel"), QString(), QStringLiteral("hoelzer@kde.org"));
+ aboutData.addAuthor(i18n("Martin Willers"), QString(), QStringLiteral("willers@xm-arts.de"));
diff --git a/kde-apps/kteatime/kteatime-15.12.49.9999.ebuild b/kde-apps/kteatime/kteatime-15.12.49.9999.ebuild
index b61a7c9..46381eb 100644
--- a/kde-apps/kteatime/kteatime-15.12.49.9999.ebuild
+++ b/kde-apps/kteatime/kteatime-15.12.49.9999.ebuild
@@ -26,3 +26,5 @@ DEPEND="
dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-15.11.80-kcrash-initialise.patch" )
diff --git a/kde-apps/kteatime/kteatime-9999.ebuild b/kde-apps/kteatime/kteatime-9999.ebuild
index b61a7c9..46381eb 100644
--- a/kde-apps/kteatime/kteatime-9999.ebuild
+++ b/kde-apps/kteatime/kteatime-9999.ebuild
@@ -26,3 +26,5 @@ DEPEND="
dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-15.11.80-kcrash-initialise.patch" )
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-07 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 13:18 [gentoo-commits] proj/kde:master commit in: kde-apps/kteatime/, kde-apps/kteatime/files/ Michael Palimaka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox