kmymoney: fix SEPA plugin installation

kmymoney-4.8.1 contained a regression preventing the SEPA plugin from being
loaded as documented in https://bugs.kde.org/show_bug.cgi?id=386547 . This
commit adds a patch from upstream git to fix this regression.
This commit is contained in:
Helmut Pozimski 2018-01-08 18:19:16 +01:00 committed by Toyam Cox
parent 92fec2ca36
commit 1427791080
2 changed files with 56 additions and 1 deletions

View File

@ -0,0 +1,55 @@
From 8a4292268c2d88cdf757b4c162315360901139c5 Mon Sep 17 00:00:00 2001
From: Andreas Mayer <andreas.mayer@steffing.de>
Date: Fri, 29 Dec 2017 21:09:36 +0100
Subject: Fix SEPA plugin installation
Summary:
add_library() may add a "lib" prefix to the plugin's filename, which causes it not to be found.
Using kde4_add_plugin() instead again fixes that.
This change to add_library() was (accidentally?) backported from the KF5 version in commit c78183f18201 .
BUG: 386547
FIXED-IN: 4.8.2
Intended for the 4.8 branch only, of course.
Test Plan:
The plugin is again installed as konlinetasks_sepa.so here (like in 4.8.0, and also the KF5 port).
The error message that the plugin could not be found does not occur anymore, kmymoney prints
> onlineTask available "org.kmymoney.creditTransfer.sepa"
to stdout now.
Haven't tested the actual functionality though.
Reviewers: #kmymoney, habacker
Reviewed By: #kmymoney, habacker
Subscribers: tbaumgart
Tags: #kmymoney
Differential Revision: https://phabricator.kde.org/D9545
---
kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt b/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
index e3962d7..031820e 100644
--- kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
+++ kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
@@ -13,7 +13,7 @@ kde4_add_ui_files( sepaOnlineTasks_SRCS
ui/sepacredittransferedit.ui
)
-add_library(konlinetasks_sepa MODULE
+kde4_add_plugin(konlinetasks_sepa
${sepaOnlineTasks_SRCS}
)
--
cgit v0.11.2

View File

@ -1,7 +1,7 @@
# Template file for 'kmymoney'
pkgname=kmymoney
version=4.8.1.1
revision=1
revision=2
build_style=cmake
hostmakedepends="qt-qmake automoc4 perl doxygen pkg-config gwenhywfar-qt"
makedepends="kdelibs-devel gpgme-devel aqbanking-devel gwenhywfar-devel libical-devel kactivities-devel gmp-devel libofx-devel qt-devel phonon-devel libalkimia-devel boost-devel kdepimlibs-devel gmpxx-devel"