building from master branch
Jeremy Whiting
jeremypwhiting at gmail.com
Tue Sep 17 19:21:16 BST 2024
I got it from cmake error when I tried to build with
kde-builder/kdesrc-build:
CMake Error at CMakeLists.txt:165 (find_package):
By not providing "FindLibAlkimia6.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"LibAlkimia6", but CMake did not find one.
Could not find a package configuration file provided by "LibAlkimia6"
(requested version 8.1.72) with any of the following names:
LibAlkimia6Config.cmake
libalkimia6-config.cmake
Add the installation prefix of "LibAlkimia6" to CMAKE_PREFIX_PATH or set
"LibAlkimia6_DIR" to a directory containing one of the above files. If
"LibAlkimia6" provides a separate development package or SDK, be sure it
has been installed.
I didn't look close, but it looks like it's trying to build with kf5/qt5
indeed. I have libalkimia 8.1.2 from arch packages, but I guess that's a
long way behind 8.1.72...
When I tried to build alkimia from master it fails because it can't find
Plasma when looking for KF6. Ah, that's likely because when I build things
with kde-builder it's trying to builf qt6/kf6 by default. And there doesn't
seem to be a KF6Plasma.
Here's the patch I added on alkimia to try to build it. but of course it
fails because of the KNewStuff changes (No more EntryInternal anywhere,
which alkimia is subclassing).
So I guess the way to build currently is to use Qt5/KF5 until alkimia gets
fixed up/ported to KF6?
On Tue, Sep 17, 2024 at 12:10 PM Jack Ostroff via KMyMoney-devel <
kmymoney-devel at kde.org> wrote:
> On 9/17/24 12:42 PM, Jeremy Whiting via KMyMoney-devel wrote:
>
> Hello,
>
> How does one currently build kmymoney from master branch? I've been trying
> to sort it out myself, but have hit some walls. Here are my questions.
>
> 1. KMymoney master branch depends on alkimia 6, but alkimia master branch
> seems to still be Qt5/KF5 based. Where would I get alkimia6 from?
> 2. Trying to build alkimia with some patches to find Plasma since KF6
> Plasma changed a bit it's unable to find KNSCore::EntryInternal. I imagine
> because that got deprecated in the kf5 -> kf6 transition, but I haven't
> been able to yet find a guide on porting stuff from KF5 to KF6 that
> mentions classes that got deprecated and what to use instead. Does such a
> guide exist?
>
> thanks for any pointers.
>
> BR,
> Jeremy
>
> Hopefully I'm not way off, but I believe if you build alkimia from its
> master branch, that will be fine for KMM from master. Alkimia6 is actually
> already somewhat old (and doesn't depend on Qt/KDE6). I think v8.1.76 is
> the latest alkimia release - preparing for 8.2, which will be required by
> KMM 5.2. (Yes, the numbering can get confusing.) In fact, I'd ask where
> you got that KMM requires alkimia 6? I think it actually requires 8.1.72.
> (I've got my builds automated (Gentoo linux) so I don't know the exact
> versions being used for builds from master.
>
> Have you tried simply building alkimia from master branch against Qt5/KDE5?
>
> Jack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20240917/f7415081/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WIP-Fix-Qt6-KF6-build-with-KF6-6.1.patch
Type: text/x-patch
Size: 2026 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20240917/f7415081/attachment.bin>
More information about the KMyMoney-devel
mailing list