Re: [GNC-dev] Flatpak GnuCash and Finance::Quote

Geert Janssens <[email protected]>
Newsgroups gmane.comp.gnome.apps.gnucash.devel
Organization Kobalt W.I.T.
Message-ID <[email protected]>
Op dinsdag 4 oktober 2022 13:32:55 CEST schreef john:
> > On Oct 3, 2022, at 7:56 PM, Frank H. Ellenberger
> > <[email protected]> wrote:
> > 
> > Hi,
> > 
> > comments inline
> > 
> > Am 03.10.22 um 18:23 schrieb Bruce Schuck:
> >>> Date: Sun, 2 Oct 2022 21:09:31 -0700 From: john <[email protected]>
> >>> Correct. IIUC there are a lot of things not normally included in a
> >>> flatpak installation required to run cpan, so it's not really a
> >>> practical option. We build Finance::Quote and all of its dependencies
> >>> from source tarballs, see
> >>> https://github.com/Gnucash/gnucash-on-flatpak/blob/master/modules/financ
> >>> e-quote-sources.json. Unfortunately F::Q has a lot of dependencies and
> >>> the list isn't
> >>> stable, so keeping up with the latest often falls in the "too much
> >>> effort" category and doesn't get done.
> >>> If there's a better way, please share.

As it was me really who implemented Finance::Quote support in flatpak, I can share how I 
got the list of dependencies. I looked at the dependencies for the Fedora rpm for F::Q and 
just copied all dependencies from there.

It's true this remains largely manual work. However to update, I would again check the 
current version numbers of all dependencies as found in a recent Fedora repo and use 
those. If we do this from time to time (eg each time a Fedora is released - that is every 
half year), we can more or less keep up. At least someone else has figured out a working 
set of dependencies each time.

The other option is to just do the dependency updates each time a new F::Q is released or 
whenever F::Q requires newer dependencies than we currently have.
Regardless the option, we will have to go through this from time to time unfortunately.

Regards,

Geert
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.