From 77e4840b517755d69094e0586bd8f5e79ebbaea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Mon, 9 Feb 2015 14:14:01 +0100 Subject: [PATCH] kxmlgui: fix path to ksendbugmail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- .../files/0002-fix-path-to-ksendbugmail.patch | 31 +++++++++++++++++++ recipes-kde/kf5/tier3/kxmlgui/kxmlgui.bb | 5 ++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 recipes-kde/kf5/tier3/kxmlgui/files/0002-fix-path-to-ksendbugmail.patch diff --git a/recipes-kde/kf5/tier3/kxmlgui/files/0002-fix-path-to-ksendbugmail.patch b/recipes-kde/kf5/tier3/kxmlgui/files/0002-fix-path-to-ksendbugmail.patch new file mode 100644 index 00000000..9f653a2d --- /dev/null +++ b/recipes-kde/kf5/tier3/kxmlgui/files/0002-fix-path-to-ksendbugmail.patch @@ -0,0 +1,31 @@ +From 20628c130547773e618aa83ddda156147113a24b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 9 Feb 2015 14:10:24 +0100 +Subject: [PATCH] fix path to ksendbugmail +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Andreas Müller +--- + src/kbugreport.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/kbugreport.cpp b/src/kbugreport.cpp +index c275129..41cf0d4 100644 +--- a/src/kbugreport.cpp ++++ b/src/kbugreport.cpp +@@ -528,7 +528,7 @@ bool KBugReport::sendBugReport() + + QString command = QStandardPaths::findExecutable(QStringLiteral("ksendbugmail")); + if (command.isEmpty()) { +- command = QFile::decodeName(CMAKE_INSTALL_PREFIX "/" KF5_LIBEXEC_INSTALL_DIR "/ksendbugmail"); ++ command = QFile::decodeName(KF5_LIBEXEC_INSTALL_DIR "/ksendbugmail"); + } + + QProcess proc; +-- +1.9.3 + diff --git a/recipes-kde/kf5/tier3/kxmlgui/kxmlgui.bb b/recipes-kde/kf5/tier3/kxmlgui/kxmlgui.bb index e86a4b7e..df278fd6 100644 --- a/recipes-kde/kf5/tier3/kxmlgui/kxmlgui.bb +++ b/recipes-kde/kf5/tier3/kxmlgui/kxmlgui.bb @@ -25,7 +25,10 @@ SRCREV = "41a2bcc80650843aee553a9b47e1ed86fb898268" S = "${WORKDIR}/git" # REVISIT remove ugly hack for wayland-only environments -SRC_URI += "file://0001-workaround-session-less-qtbase-required-for-pure-way.patch" +SRC_URI += " \ + file://0001-workaround-session-less-qtbase-required-for-pure-way.patch \ + file://0002-fix-path-to-ksendbugmail.patch \ +" EXTRA_OECMAKE += "-DBUILD_TESTING=OFF"