The file needs no special wrapping. Even before, it was wrapped just by
accident (via the glib-or-gtk-wrap phase). Wrapping changes it from perl
script to shell script and gnucash cannot deal with that. So stop wrapping
it.
* gnu/packages/gnucash.scm (gnucash)[arguments]<#:phases>: Add 'unwrap-some.
Wrap gnucash-cli in 'wrap-programs.
Change-Id: I60e7ac5cf40fb00f9620b9ee9d725770009721d2
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
The file does not exist since 2022, and date-manip is not required for its
replacement (finance-quote-wrapper).
* gnu/packages/gnucash.scm (gnucash)[arguments]<#:phases>{'wrap-programs}:
Remove special case for gnc-fq-helper.
[inputs]: Remove perl-date-manip.
Change-Id: Id88906df2bda08ae90a9aebb5deef8e4cbae6c76
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This binary is used only for updating Finance::Quote from CPAN. That does not
make sense on Guix, so do not install it.
* gnu/packages/gnucash.scm (gnucash)[arguments]<#:phases>: Add
delete-gnc-fq-update.
Change-Id: I93cf6d67166cce5970d48eea42de0ee5a5a9a8f8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
It tried to search in the $PATH, that does not really work for Guix.
* gnu/packages/gnucash.scm (gnucash)[arguments]<#:phases>: Add set-perl-path.
Change-Id: I93468c201de8af3ad76cce945483b76f28ea2749
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Until now users would have to cargo cult or inspect the private
%default-modules variable of (guix build-systems gnu) to discover which
modules to include when extending the used modules via the #:modules argument.
The renaming was automated via the command:
$ git grep -l %gnu-build-system-modules
| xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i
* guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to...
(%default-gnu-imported-modules): ... this.
(%default-modules): Rename to...
(%default-gnu-modules): ... this. Export.
(dist-package, gnu-build, gnu-cross-build): Adjust accordingly.
Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
* gnu/packages/gnucash.scm (gnucash): Update to 5.3
[arguments]<phase>: Replace disable-unsupported-test phase with
disable-online-test, which enables all tests but online_wiggle.
[inputs]: Add perl-json-parse and bash-minimal.
* gnu/packages/gnucash.scm (gnucash-doc): Update to 5.3.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
The help installation prefix was changed upstream to match the XDG 'help-spec'
specification (see:
https://www.freedesktop.org/wiki/Specifications/help-spec/).
* gnu/packages/gnucash.scm (gnucash) [arguments]: Adjust install-docs phase.
Variables gnucash and gnucash-docs have to be updated together.
* gnu/packages/gnucash.scm (gnucash)[version]: Update to 4.10.
(gnucash-docs)[version]: Update to 4.10.
[build-system]: Migrate from gnu to cmake.
[arguments]: Disable tests.
* gnu/packages/gnucash.scm (gnucash)[inputs]: Add libdbi and libdbi-drivers.
[arguments]: Remove '-DWITH_SQL=OFF' from 'configure-flags' and add
'GNC_DBD_DIR' to program wrapping.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Fixes <https://bugs.gnu.org/34995>.
This is a followup to abd4d6b33d.
* guix/packages.scm (package->bag): Adjust calls to INPUTS,
PROPAGATED-INPUTS, NATIVE-INPUTS, and ARGS, passing them SELF as an
argument.
* gnu/packages/gnucash.scm (gnucash)[arguments]: Use (package-inputs
this-record) intead of (inputs).
* gnu/packages/version-control.scm (git)[arguments]: Likewise.
The source URI was renamed from "gnucash-docs-3.4-1.tar.gz" to
"gnucash-docs-3.4a.tar.gz". The content is identical since the hash hasn't
changed.
* gnu/packages/gnucash.scm (gnucash-docs)[source]: Update URI to match
upstream change.
It was not obvious that another application, Yelp, needed to be installed to
so that opening the help of GnuCash from within the application would work.
Fixes issue #33960 (see: https://issues.guix.info/issue/33960).
* gnu/packages/gnucash.scm (gnucash)[description]: Explain how to enable the
documentation.
* gnu/packages/gnucash.scm (gnucash): Update to 3.4.
[outputs]: Add debug.
(gnucash-docs): Update to 3.4-1.
[native-inputs]: Update docbook-xml to version 4.5 and drop older versions.
The qof test is also reinstated; it was failing because the needed locales
were not installed.
* gnu/packages/patches/gnucash-disable-failing-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister it.
* gnu/packages/gnucash.scm (gnucash)[patches]: Remove it.
[phases]{disable-stress-options-test}: Implement it using SUBSTITUTES*.
{install-locales}: New phase.