From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/kmymoney/, app-office/kmymoney/files/
Date: Mon, 17 Mar 2025 00:23:31 +0000 (UTC) [thread overview]
Message-ID: <1742168027.4d08a8dbdcb4ab37511b5e53f793844038832f08.asturm@gentoo> (raw)
commit: 4d08a8dbdcb4ab37511b5e53f793844038832f08
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 16 23:28:21 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 16 23:33:47 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d08a8db
app-office/kmymoney: Re-add 5.1.3
Bug: https://bugs.gentoo.org/951486
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
app-office/kmymoney/Manifest | 1 +
.../kmymoney/files/kmymoney-5.1.3-cmake.patch | 28 +++++
app-office/kmymoney/kmymoney-5.1.3.ebuild | 131 +++++++++++++++++++++
3 files changed, 160 insertions(+)
diff --git a/app-office/kmymoney/Manifest b/app-office/kmymoney/Manifest
index 5cf36aa2eb23..4909b03402fb 100644
--- a/app-office/kmymoney/Manifest
+++ b/app-office/kmymoney/Manifest
@@ -1 +1,2 @@
+DIST kmymoney-5.1.3.tar.xz 12647372 BLAKE2B 09580873985bb41c39c649bdb863ee25f4356dfea18b64d45f3b6bd528fd57fc2b5fd32a6541c10ed519da0e905bf6853589e7cab0f4c3b4f2945cd7a3181dba SHA512 2003f25b7df77691e5d3d0f450e0139b1e68336f59a4fc78af751c5b94ecfaf17a39ee1f58ed0c2cda642195c5277fbb63c87e857ebe9a6495dc7f88b9a38794
DIST kmymoney-5.1.92_p20250306-17859b4f.tar.gz 17657286 BLAKE2B 2611631c0f3705e285281debfd331cadbdc8f9fd1790ff3a86ab752f59f58d47b9ac66adef76d78b5d200cf1971105280aa9afedac9a2f0b711a963569a1ea0a SHA512 3307191a7deae9de33be332a4ab5ed6ba11f1626ec1e77ae342760615e0854be5ef50846d9156d403622d4e9d90a55e57c865072d44dfab83a6057993b91473f
diff --git a/app-office/kmymoney/files/kmymoney-5.1.3-cmake.patch b/app-office/kmymoney/files/kmymoney-5.1.3-cmake.patch
new file mode 100644
index 000000000000..da629c10f8a7
--- /dev/null
+++ b/app-office/kmymoney/files/kmymoney-5.1.3-cmake.patch
@@ -0,0 +1,28 @@
+From 32cfeb7380dbd886a79a6676544e11f3668f3f50 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Fri, 5 Aug 2022 10:33:50 +0200
+Subject: [PATCH] Revert "Fix missing components"
+
+See also: https://invent.kde.org/office/kmymoney/-/issues/63
+
+This reverts commit 151357b7293d27a966dc9e36321847b31fb0f69d.
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9b49d5c2c..b30181da3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -116,7 +116,7 @@ endif()
+ find_package(Qt5 5.6 REQUIRED COMPONENTS
+ Core DBus Widgets Svg Xml Test PrintSupport)
+ find_package(Qt5 5.6 OPTIONAL_COMPONENTS
+- Sql Concurrent QuickWidgets WebEngineWidgets WebKitWidgets)
++ Sql Concurrent QuickWidgets)
+
+ find_package(KF5 5.2 REQUIRED COMPONENTS
+ ${REQ_KF5_COMPONENTS})
+--
+2.35.1
+
diff --git a/app-office/kmymoney/kmymoney-5.1.3.ebuild b/app-office/kmymoney/kmymoney-5.1.3.ebuild
new file mode 100644
index 000000000000..9abe591c091b
--- /dev/null
+++ b/app-office/kmymoney/kmymoney-5.1.3.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+EGIT_BRANCH="5.1"
+ECM_HANDBOOK="optional"
+ECM_TEST="forceoptional"
+KFMIN=5.82.0
+QTMIN=5.15.5
+VIRTUALDBUS_TEST="true"
+inherit ecm flag-o-matic kde.org optfeature
+
+DESCRIPTION="Personal finance manager based on KDE Frameworks"
+HOMEPAGE="https://kmymoney.org/"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
+ KEYWORDS="amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="calendar hbci holidays"
+[[ ${KDE_BUILD_TYPE} = live ]] && IUSE+=" experimental"
+
+RDEPEND="
+ >=app-crypt/gpgme-1.7.1-r1:=[cxx]
+ >=app-office/libalkimia-7.0.0:=
+ dev-db/sqlcipher
+ dev-libs/gmp:0=[cxx(+)]
+ dev-libs/kdiagram:5
+ dev-libs/libgpg-error
+ dev-libs/libofx:=
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwebengine-${QTMIN}:5[widgets]
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kcodecs-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kitemmodels-${KFMIN}:5
+ >=kde-frameworks/kitemviews-${KFMIN}:5
+ >=kde-frameworks/kjobwidgets-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwallet-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/sonnet-${KFMIN}:5
+ calendar? ( dev-libs/libical:= )
+ hbci? (
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=net-libs/aqbanking-6.0.1
+ >=sys-libs/gwenhywfar-5.1.2:=[qt5]
+ )
+ holidays? ( >=kde-frameworks/kholidays-${KFMIN}:5 )
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
+
+pkg_setup() {
+ ecm_pkg_setup
+
+ if [[ ${KDE_BUILD_TYPE} = live ]] && use experimental; then
+ ewarn "USE experimental set: Building unfinished features."
+ ewarn "This *will* chew up your data. You have been warned."
+ fi
+}
+
+src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/865943
+ # https://bugs.kde.org/show_bug.cgi?id=486486
+ filter-lto
+
+ local mycmakeargs=(
+ -DENABLE_OFXIMPORTER=ON
+ -DENABLE_WEBENGINE=ON
+ -DENABLE_WOOB=OFF # ported to Py3; not yet re-added in Gentoo
+ -DUSE_QT_DESIGNER=OFF
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF5Activities=ON
+ -DENABLE_ADDRESSBOOK=OFF
+ -DENABLE_LIBICAL=$(usex calendar)
+ -DENABLE_KBANKING=$(usex hbci)
+ $(cmake_use_find_package holidays KF5Holidays)
+ )
+ [[ ${KDE_BUILD_TYPE} = live ]] &&
+ mycmakeargs+=( -DENABLE_UNFINISHEDFEATURES=$(usex experimental) )
+
+ ecm_src_configure
+}
+
+src_test() {
+ # bug 652636; bug 673052: needs kmymoney installed to succeed
+ local myctestargs=(
+ -E "(reports-chart-test|qsqlcipher-test)"
+ )
+
+ ecm_src_test
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "more options for online stock quote retrieval" dev-perl/Finance-Quote
+ fi
+ if has_version "app-office/kmymoney[quotes]"; then
+ elog "Please note: IUSE=quotes flag is gone in ${PN}-5.1.1. ${PN} still"
+ elog "does online stock quote retrieval without it, but dev-perl/Finance-Quote"
+ elog "may provide additional sources. To keep the functionality, run:"
+ elog " emerge --noreplace dev-perl/Finance-Quote"
+ fi
+ ecm_pkg_postinst
+}
next reply other threads:[~2025-03-17 0:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-17 0:23 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-15 14:48 [gentoo-commits] repo/gentoo:master commit in: app-office/kmymoney/, app-office/kmymoney/files/ Andreas Sturmlechner
2025-03-16 12:32 Andreas Sturmlechner
2019-12-03 5:04 Andreas Sturmlechner
2018-12-13 18:00 Andreas Sturmlechner
2018-05-10 8:01 Andreas Sturmlechner
2018-01-27 1:02 Michael Palimaka
2017-05-18 19:49 Andreas Sturmlechner
2016-11-25 21:52 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1742168027.4d08a8dbdcb4ab37511b5e53f793844038832f08.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox