From kmymoney-devel Sun Jan 06 20:15:06 2019 From: Jeremy Whiting Date: Sun, 06 Jan 2019 20:15:06 +0000 To: kmymoney-devel Subject: Re: KMyMoney kf5 on windows Message-Id: X-MARC-Message: https://marc.info/?l=kmymoney-devel&m=154680575816894 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--00000000000049b167057ecfc691" --00000000000049b167057ecfc691 Content-Type: text/plain; charset="UTF-8" Hi Thomas, Awesome, thank you for that. Thanks for the explanation. It's good to see more usage of knewstuff. thanks, Jeremy On Sun, Jan 6, 2019 at 4:22 AM Thomas Baumgart wrote: > Hello all, > > On Samstag, 5. Januar 2019 23:12:49 CET Jeremy Whiting wrote: > > > Hello all, > > > > I've been using kmymoney for a few years, for the past year or so I have > > had my main pc running windows primarily, so I've been using the old > > kdelibs4 based kmymoney on there since then. Yesterday I thought I'd > take a > > look at trying the latest kf5 based version since I've used it without > > issue on linux fine before. I found both the nightly build installer and > > the Release installer work, but fail somehow to install the > kf5newstuff.dll > > and kf5newstuffcore.dll. After grabbing a 64 bit build of dolphin to > > provide those dlls and copying them into place it seems to work very > well. > > Do any of you know what I need to tweak to get the kmymoney windows > > installer to include these 2 missing dlls? Does craft (or whatever is > doing > > the jenkins jobs) scan the dependencies by checking the cmakelists.txt > > file? If so I guess adding a dependency to kmymoney's cmakelists.txt on > > knewstuff would be the right approach. Otherwise I couldn't see anything > > obvious in craft-blueprints-recipes git repo to get this dependency in > > place (or is the kmymoney.nsi coming from some git repository I couldn't > > find instead of being auto generated?) > > I am not an expert on this and so far have never tweaked any of this Craft > stuff. But your finding has been reported by others and I thank you for > sharing the workaround. > > > P.S. I couldn't see any knewstuff usage in the kmymoney gui on linux or > > windows here, but when trying to launch kmymoney.exe it definitely fails > if > > the dlls are missing. Not sure where the dependency is coming from to be > > honest. > > The dependency comes from Alkimia. We added some code to move all the > online price update from KMyMoney to it so that other applications can > benefit from it. One of them is a plasma widget which is in the works. It > is available also in a KDE4 version. > > Unfortunately, some dependency slipped in to the Alkimia master branch, > which should not influence the build of the stable version of KMyMoney. But > there is another problem because it does. So far, I did not find a way how > to setup different craft builds for stable and development. Looks like I > have to dive into the details of Craft to figure out. So far, I have added > a dependency to the knewstuff framework in > > > https://commits.kde.org/craft-blueprints-kde/60c14435de95e5fc73a70d1a0cd7f41d3164e033 > > and hope that this solves the issues of the missing dlls. > > > -- > > Regards > > Thomas Baumgart > > https://www.signal.org/ Signal, the better WhatsApp > ------------------------------------------------------------- > New processes are created by other processes, just like new humans. > New humans are created by other humans, of course, not by processes. > (Unix System Administrator Handbook) > ------------------------------------------------------------- > --00000000000049b167057ecfc691 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Thomas,

Awesome, thank yo= u for that. Thanks for the explanation. It's good to see more usage of = knewstuff.

thanks,
Jeremy

On Sun, Jan 6, 2019 at 4:2= 2 AM Thomas Baumgart <thb@net-bembe= l.de> wrote:
Hello all,

On Samstag, 5. Januar 2019 23:12:49 CET Jeremy Whiting wrote:

> Hello all,
>
> I've been using kmymoney for a few years, for the past year or so = I have
> had my main pc running windows primarily, so I've been using the o= ld
> kdelibs4 based kmymoney on there since then. Yesterday I thought I'= ;d take a
> look at trying the latest kf5 based version since I've used it wit= hout
> issue on linux fine before. I found both the nightly build installer a= nd
> the Release installer work, but fail somehow to install the kf5newstuf= f.dll
> and kf5newstuffcore.dll. After grabbing a 64 bit build of dolphin to > provide those dlls and copying them into place it seems to work very w= ell.
> Do any of you know what I need to tweak to get the kmymoney windows > installer to include these 2 missing dlls? Does craft (or whatever is = doing
> the jenkins jobs) scan the dependencies by checking the cmakelists.txt=
> file? If so I guess adding a dependency to kmymoney's cmakelists.t= xt on
> knewstuff would be the right approach. Otherwise I couldn't see an= ything
> obvious in craft-blueprints-recipes git repo to get this dependency in=
> place (or is the kmymoney.nsi coming from some git repository I couldn= 't
> find instead of being auto generated?)

I am not an expert on this and so far have never tweaked any of this Craft = stuff. But your finding has been reported by others and I thank you for sha= ring the workaround.

> P.S. I couldn't see any knewstuff usage in the kmymoney gui on lin= ux or
> windows here, but when trying to launch kmymoney.exe it definitely fai= ls if
> the dlls are missing. Not sure where the dependency is coming from to = be
> honest.

The dependency comes from Alkimia. We added some code to move all the onlin= e price update from KMyMoney to it so that other applications can benefit f= rom it. One of them is a plasma widget which is in the works. It is availab= le also in a KDE4 version.

Unfortunately, some dependency slipped in to the Alkimia master branch, whi= ch should not influence the build of the stable version of KMyMoney. But th= ere is another problem because it does. So far, I did not find a way how to= setup different craft builds for stable and development. Looks like I have= to dive into the details of Craft to figure out. So far, I have added a de= pendency to the knewstuff framework in

=C2=A0 https://= commits.kde.org/craft-blueprints-kde/60c14435de95e5fc73a70d1a0cd7f41d3164e0= 33

and hope that this solves the issues of the missing dlls.


--

Regards

Thomas Baumgart

ht= tps://www.signal.org/=C2=A0 =C2=A0 =C2=A0 =C2=A0Signal, the better What= sApp
-------------------------------------------------------------
New processes are created by other processes, just like new humans.
New humans are created by other humans, of course, not by processes.
(Unix System Administrator Handbook)
-------------------------------------------------------------
--00000000000049b167057ecfc691--