2015-05-06 08:41:40 +02:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2018-04-10 16:24:59 +02:00
|
|
|
;;; Copyright © 2015, 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
|
2015-07-09 19:19:09 -05:00
|
|
|
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
|
2024-02-28 09:50:42 +02:00
|
|
|
;;; Copyright © 2016, 2024 Efraim Flashner <efraim@flashner.co.il>
|
2017-09-06 03:15:05 -07:00
|
|
|
;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
|
2019-08-30 03:17:07 +02:00
|
|
|
;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
2025-09-18 12:25:39 +09:00
|
|
|
;;; Copyright © 2019, 2022, 2023 Maxim Cournoyer <maxim@guixotic.coop>
|
2021-09-12 14:26:09 +02:00
|
|
|
;;; Copyright © 2019, 2021 Guillaume Le Vaillant <glv@posteo.net>
|
2020-10-29 20:47:37 +05:45
|
|
|
;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com>
|
2020-12-11 13:23:38 +00:00
|
|
|
;;; Copyright © 2020 Christopher Lam <christopher.lck@gmail.com>
|
2024-07-09 08:22:51 +09:00
|
|
|
;;; Copyright © 2023, 2024 gemmaro <gemmaro.dev@gmail.com>
|
2025-12-08 19:46:54 +01:00
|
|
|
;;; Copyright © 2025 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2015-05-06 08:41:40 +02:00
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages gnucash)
|
2016-05-31 16:09:36 +02:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2016-06-06 15:18:16 +02:00
|
|
|
#:use-module (gnu packages autotools)
|
2018-09-16 22:13:41 -04:00
|
|
|
#:use-module (gnu packages base)
|
2023-06-29 00:20:22 +09:00
|
|
|
#:use-module (gnu packages bash)
|
2018-04-12 20:37:54 +02:00
|
|
|
#:use-module (gnu packages boost)
|
|
|
|
|
#:use-module (gnu packages check)
|
|
|
|
|
#:use-module (gnu packages cmake)
|
2019-11-20 13:46:39 +01:00
|
|
|
#:use-module (gnu packages databases)
|
2017-09-06 03:15:05 -07:00
|
|
|
#:use-module (gnu packages docbook)
|
|
|
|
|
#:use-module (gnu packages documentation)
|
2020-01-02 22:01:28 -05:00
|
|
|
#:use-module (gnu packages finance)
|
2019-12-24 13:08:54 +01:00
|
|
|
#:use-module (gnu packages gettext)
|
2022-09-11 21:56:16 -04:00
|
|
|
#:use-module (gnu packages glib)
|
2015-05-06 08:41:40 +02:00
|
|
|
#:use-module (gnu packages gnome)
|
2016-06-06 15:17:45 +02:00
|
|
|
#:use-module (gnu packages gnupg)
|
2015-05-06 08:41:40 +02:00
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages guile)
|
|
|
|
|
#:use-module (gnu packages icu4c)
|
2016-06-06 15:18:16 +02:00
|
|
|
#:use-module (gnu packages multiprecision)
|
2015-07-09 19:19:09 -05:00
|
|
|
#:use-module (gnu packages perl)
|
2015-05-06 08:41:40 +02:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2020-10-29 20:47:37 +05:45
|
|
|
#:use-module (gnu packages python)
|
2020-12-11 13:23:38 +00:00
|
|
|
#:use-module (gnu packages swig)
|
2016-06-06 15:17:45 +02:00
|
|
|
#:use-module (gnu packages tls)
|
2015-07-09 19:19:09 -05:00
|
|
|
#:use-module (gnu packages web)
|
2015-05-06 08:41:40 +02:00
|
|
|
#:use-module (gnu packages webkit)
|
2022-09-11 21:56:16 -04:00
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (gnu packages)
|
|
|
|
|
#:use-module (guix build-system cmake)
|
|
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
|
#:use-module (guix download)
|
2025-12-08 19:46:54 +01:00
|
|
|
#:use-module (guix git-download)
|
2022-09-11 21:56:16 -04:00
|
|
|
#:use-module (guix gexp)
|
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix utils))
|
2015-05-06 08:41:40 +02:00
|
|
|
|
|
|
|
|
(define-public gnucash
|
2019-01-03 18:26:43 -05:00
|
|
|
;; TODO: Unbundle libraries such as guile-json found under the "borrowed/"
|
|
|
|
|
;; directory.
|
2015-05-06 08:41:40 +02:00
|
|
|
(package
|
|
|
|
|
(name "gnucash")
|
2025-09-30 09:02:28 +09:00
|
|
|
(version "5.13")
|
2015-05-06 08:41:40 +02:00
|
|
|
(source
|
|
|
|
|
(origin
|
2019-01-03 17:18:23 -05:00
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
|
2020-12-11 13:23:38 +00:00
|
|
|
version "/gnucash-" version ".tar.bz2"))
|
2019-01-03 17:18:23 -05:00
|
|
|
(sha256
|
2025-09-30 09:02:28 +09:00
|
|
|
(base32 "1xdfci26av2jhyg40p5g9bwn7vz5xck2clgjsciz48mp6b1yqbh8"))))
|
2020-10-29 20:47:37 +05:45
|
|
|
(outputs '("out" "doc" "debug" "python"))
|
2022-09-11 21:56:16 -04:00
|
|
|
(build-system cmake-build-system)
|
2015-07-09 19:19:09 -05:00
|
|
|
(arguments
|
2022-09-11 21:56:16 -04:00
|
|
|
(list
|
|
|
|
|
#:configure-flags #~(list "-DWITH_PYTHON=ON")
|
|
|
|
|
#:make-flags #~(list "GUILE_AUTO_COMPILE=0")
|
2023-10-09 11:10:48 -04:00
|
|
|
#:imported-modules `(,@%default-gnu-imported-modules
|
2018-09-16 22:13:41 -04:00
|
|
|
(guix build cmake-build-system)
|
|
|
|
|
(guix build glib-or-gtk-build-system))
|
2022-09-11 21:56:16 -04:00
|
|
|
#:modules '((guix build cmake-build-system)
|
gnu: Remove #:test-target argument.
* gnu/packages/astronomy.scm (libsep),
* gnu/packages/bioinformatics.scm (megahit),
* gnu/packages/bittorrent.scm (qbittorrent),
* gnu/packages/calendar.scm (date),
* gnu/packages/check.scm (klee, trompeloeil),
* gnu/packages/compression.scm (zziplib),
* gnu/packages/cpp.scm (immer, lager, zug),
* gnu/packages/databases.scm (timescaledb),
* gnu/packages/emulators.scm (dolphin-emu),
* gnu/packages/fpga.scm (systemc),
* gnu/packages/game-development.scm (box2d),
* gnu/packages/games.scm (megaglest, openclonk, teeworld),
* gnu/packages/glib.scm (sdbus-c++),
* gnu/packages/gnucash.scm (gnucash),
* gnu/packages/graph.scm (igraph),
* gnu/packages/image.scm (exiv2),
* gnu/packages/inkscape.scm (inkscape),
* gnu/packages/instrumentation.scm (yactfr),
* gnu/packages/kde-multimedia.scm (elisa),
* gnu/packages/linux.scm (falcosecurity-libs),
* gnu/packages/llvm.scm (libcxx, libomp-15),
* gnu/packages/machine-learning.scm (ctranslate2, tvm),
* gnu/packages/maths.scm (blitz),
* gnu/packages/messaging.scm (libphonenumber),
* gnu/packages/music.scm (clementine, libdiscid, opustags, strawberry),
* gnu/packages/opencog.scm (atomspace, attention, cogserver, cogutil,
opencog),
* gnu/packages/python-xyz.scm (pybind11)
* gnu/packages/radio.scm (libfec, libcorrect),
* gnu/packages/serialization.scm (qtcsv),
* gnu/packages/shells.scm (fish),
* gnu/packages/tls.scm (aws-lc),
* gnu/packages/web.scm (wabt),
* gnu/packages/vulkan.com (spirv-llvm-translator)
[arguments]: Move #:test-target to ...
<#:phases>: ... 'check phase.
* gnu/packages/algebra.scm (xtensor),
* gnu/packages/astronomy (stellarium),
* gnu/packages/bioinformatics.scm (libsbml),
* gnu/packages/chemistry.scm (openbabel),
* gnu/packages/cpp.scm (xsimd, xtl),
* gnu/packages/documentation.scm (doxygen),
* gnu/packages/lua.scm (selene),
* gnu/packages/libftdi.scm (libftdi),
* gnu/packages/llvm.scm (cling, libomp@12, libomp@13),
* gnu/packages/hyperledger.scm (hyperledger-iroha),
* gnu/packages/markup.scm (cmark, cmark-gfm),
* gnu/packages/maths.scm (cryptominisat, double-conversion),
* gnu/packages/mp3.scm (chromaprint),
* gnu/packages/qt.scm (qtpromise)
* gnu/packages/rdf.scm (clucene),
* gnu/packages/sync.scm (lsyncd)
[arguments}: Remove #:test-target.
* gnu/packages/engineering.scm (libfive),
* gnu/packages/game-development.scm (box2d-3)
[arguments]: Remove #:test-target and disable tests.
Change-Id: I0a82091df1789980bbbac0c334b6f993c36f412a
2025-06-10 13:44:11 +00:00
|
|
|
((guix build gnu-build-system) #:prefix gnu:)
|
2022-09-11 21:56:16 -04:00
|
|
|
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
|
|
|
|
|
(guix build utils))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
2023-06-29 00:20:22 +09:00
|
|
|
(add-after 'unpack 'disable-online-test
|
2023-04-17 22:46:04 -07:00
|
|
|
(lambda _
|
2023-06-29 00:20:22 +09:00
|
|
|
(call-with-output-file "libgnucash/app-utils/test/CMakeLists.txt"
|
|
|
|
|
(lambda (port)
|
2024-04-26 13:42:08 +02:00
|
|
|
(display "set(CTEST_CUSTOM_TESTS_IGNORE online_wiggle test-lots)" port)))))
|
2022-09-11 21:56:16 -04:00
|
|
|
(add-after 'unpack 'set-env-vars
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; At least one test is time-related and requires this
|
|
|
|
|
;; environment variable.
|
|
|
|
|
(setenv "TZDIR" (search-input-directory inputs "share/zoneinfo"))
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("set\\(SHELL /bin/bash\\)")
|
|
|
|
|
(string-append "set(SHELL " (which "bash") ")")))))
|
2025-01-03 15:24:26 +01:00
|
|
|
(add-after 'unpack 'set-perl-path
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "libgnucash/app-utils/gnc-quotes.cpp"
|
|
|
|
|
(("c_cmd\\{bp::search_path\\(\"perl\"\\)\\}")
|
|
|
|
|
(format #f "c_cmd{~s}" #$(file-append perl "/bin/perl"))))))
|
2022-09-11 21:56:16 -04:00
|
|
|
;; The qof test requires the en_US, en_GB, and fr_FR locales.
|
|
|
|
|
(add-before 'check 'install-locales
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "LOCPATH" (getcwd))
|
|
|
|
|
(invoke "localedef" "-i" "en_US" "-f" "UTF-8" "./en_US.UTF-8")
|
|
|
|
|
(invoke "localedef" "-i" "en_GB" "-f" "UTF-8" "./en_GB.UTF-8")
|
|
|
|
|
(invoke "localedef" "-i" "fr_FR" "-f" "UTF-8" "./fr_FR.UTF-8")))
|
gnu: Remove #:test-target argument.
* gnu/packages/astronomy.scm (libsep),
* gnu/packages/bioinformatics.scm (megahit),
* gnu/packages/bittorrent.scm (qbittorrent),
* gnu/packages/calendar.scm (date),
* gnu/packages/check.scm (klee, trompeloeil),
* gnu/packages/compression.scm (zziplib),
* gnu/packages/cpp.scm (immer, lager, zug),
* gnu/packages/databases.scm (timescaledb),
* gnu/packages/emulators.scm (dolphin-emu),
* gnu/packages/fpga.scm (systemc),
* gnu/packages/game-development.scm (box2d),
* gnu/packages/games.scm (megaglest, openclonk, teeworld),
* gnu/packages/glib.scm (sdbus-c++),
* gnu/packages/gnucash.scm (gnucash),
* gnu/packages/graph.scm (igraph),
* gnu/packages/image.scm (exiv2),
* gnu/packages/inkscape.scm (inkscape),
* gnu/packages/instrumentation.scm (yactfr),
* gnu/packages/kde-multimedia.scm (elisa),
* gnu/packages/linux.scm (falcosecurity-libs),
* gnu/packages/llvm.scm (libcxx, libomp-15),
* gnu/packages/machine-learning.scm (ctranslate2, tvm),
* gnu/packages/maths.scm (blitz),
* gnu/packages/messaging.scm (libphonenumber),
* gnu/packages/music.scm (clementine, libdiscid, opustags, strawberry),
* gnu/packages/opencog.scm (atomspace, attention, cogserver, cogutil,
opencog),
* gnu/packages/python-xyz.scm (pybind11)
* gnu/packages/radio.scm (libfec, libcorrect),
* gnu/packages/serialization.scm (qtcsv),
* gnu/packages/shells.scm (fish),
* gnu/packages/tls.scm (aws-lc),
* gnu/packages/web.scm (wabt),
* gnu/packages/vulkan.com (spirv-llvm-translator)
[arguments]: Move #:test-target to ...
<#:phases>: ... 'check phase.
* gnu/packages/algebra.scm (xtensor),
* gnu/packages/astronomy (stellarium),
* gnu/packages/bioinformatics.scm (libsbml),
* gnu/packages/chemistry.scm (openbabel),
* gnu/packages/cpp.scm (xsimd, xtl),
* gnu/packages/documentation.scm (doxygen),
* gnu/packages/lua.scm (selene),
* gnu/packages/libftdi.scm (libftdi),
* gnu/packages/llvm.scm (cling, libomp@12, libomp@13),
* gnu/packages/hyperledger.scm (hyperledger-iroha),
* gnu/packages/markup.scm (cmark, cmark-gfm),
* gnu/packages/maths.scm (cryptominisat, double-conversion),
* gnu/packages/mp3.scm (chromaprint),
* gnu/packages/qt.scm (qtpromise)
* gnu/packages/rdf.scm (clucene),
* gnu/packages/sync.scm (lsyncd)
[arguments}: Remove #:test-target.
* gnu/packages/engineering.scm (libfive),
* gnu/packages/game-development.scm (box2d-3)
[arguments]: Remove #:test-target and disable tests.
Change-Id: I0a82091df1789980bbbac0c334b6f993c36f412a
2025-06-10 13:44:11 +00:00
|
|
|
(replace 'check (assoc-ref gnu:%standard-phases 'check))
|
2022-09-11 21:56:16 -04:00
|
|
|
;; There is about 100 MiB of documentation.
|
|
|
|
|
(add-after 'install 'install-docs
|
|
|
|
|
(lambda _
|
|
|
|
|
(mkdir-p (string-append #$output:doc "/share"))
|
|
|
|
|
(symlink (string-append
|
|
|
|
|
#$(this-package-native-input "gnucash-docs")
|
2023-04-24 23:33:47 -04:00
|
|
|
"/share/help")
|
|
|
|
|
(string-append #$output:doc "/share/help"))))
|
2022-09-11 21:56:16 -04:00
|
|
|
(add-after 'install 'split-python-bindings
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((python-bindings (string-append
|
2020-10-29 20:47:37 +05:45
|
|
|
"lib/python"
|
2022-09-11 21:56:16 -04:00
|
|
|
#$(version-major+minor
|
|
|
|
|
(package-version python)))))
|
|
|
|
|
(mkdir-p (string-append #$output:python "/" python-bindings))
|
|
|
|
|
(copy-recursively
|
|
|
|
|
(string-append #$output "/" python-bindings)
|
|
|
|
|
(string-append #$output:python "/" python-bindings))
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append #$output "/" python-bindings)))))
|
|
|
|
|
(add-after 'install-docs 'wrap-programs
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (prog)
|
|
|
|
|
(wrap-program (search-input-file
|
|
|
|
|
outputs (string-append "bin/" prog))
|
|
|
|
|
`("GNC_DBD_DIR" =
|
|
|
|
|
(,(search-input-directory inputs "lib/dbd")))
|
|
|
|
|
`("PERL5LIB" ":" prefix
|
|
|
|
|
,(map (lambda (o)
|
|
|
|
|
(string-append o "/lib/perl5/site_perl/"
|
|
|
|
|
#$(package-version perl)))
|
2025-01-03 15:24:28 +01:00
|
|
|
(list
|
|
|
|
|
#$@(transitive-input-references
|
|
|
|
|
'inputs
|
|
|
|
|
(map (lambda (l)
|
|
|
|
|
(assoc l (package-inputs this-package)))
|
2025-01-03 15:24:29 +01:00
|
|
|
'("perl-json-parse"
|
|
|
|
|
"perl-finance-quote"))))))))
|
|
|
|
|
'("gnucash"
|
|
|
|
|
"gnucash-cli"))))
|
2022-09-11 21:56:16 -04:00
|
|
|
(add-after 'install 'glib-or-gtk-compile-schemas
|
|
|
|
|
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
|
|
|
|
|
(add-after 'install 'glib-or-gtk-wrap
|
2025-01-03 15:24:27 +01:00
|
|
|
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
|
|
|
|
|
(add-before 'glib-or-gtk-wrap 'delete-gnc-fq-update
|
|
|
|
|
(lambda _
|
|
|
|
|
;; We are not updating Finance::Quote from CPAN. There is no
|
|
|
|
|
;; reason to install this binary.
|
2025-01-03 15:24:29 +01:00
|
|
|
(delete-file (string-append #$output "/bin/gnc-fq-update"))))
|
|
|
|
|
(add-after 'glib-or-gtk-wrap 'unwrap-some
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (prog)
|
|
|
|
|
(delete-file (string-append #$output "/bin/" prog))
|
|
|
|
|
(rename-file (string-append #$output "/bin/." prog "-real")
|
|
|
|
|
(string-append #$output "/bin/" prog)))
|
|
|
|
|
;; Sadly glib-or-gtk-wrap does not allow excluding individual
|
|
|
|
|
;; files. Being wrapped breaks the finance-quote-wrapper (it
|
|
|
|
|
;; is expected to be a perl script, not a shell one).
|
|
|
|
|
'("finance-quote-wrapper")))))))
|
2022-09-11 21:56:16 -04:00
|
|
|
(native-inputs
|
|
|
|
|
(list gmp
|
|
|
|
|
`(,glib "bin") ;glib-compile-schemas, etc.
|
|
|
|
|
gnucash-docs
|
|
|
|
|
googletest
|
|
|
|
|
intltool
|
2024-09-03 10:19:24 +02:00
|
|
|
(libc-utf8-locales-for-target)
|
2022-09-11 21:56:16 -04:00
|
|
|
pkg-config
|
|
|
|
|
swig))
|
|
|
|
|
(inputs
|
|
|
|
|
(list aqbanking
|
2023-06-29 00:20:22 +09:00
|
|
|
bash-minimal
|
gnu: boost: Update to 1.89.0.
* gnu/packages/boost.scm (boost-for-source-highlight): Rename this ...
(boost-1.83): ... to this.
(boost-numpy): Inherit from boost-1.83.
* gnu/packages/pretty-print.scm (source-highlight): Update accordingly.
* gnu/packages/boost.scm (boost): Update to 1.89.0.
[source]: Remove patches.
* gnu/packages/boost.scm (mdds)
[propagated-inputs]: Replace boost with boost-1.83.
* gnu/packages/astronomy.scm (aoflagger),
* gnu/packages/embedded.scm (cc-tool),
* gnu/packages/games.scm (0ad, vcmi),
* gnu/packages/image.scm (gpick),
* gnu/packages/maths.scm (highfive),
* gnu/packages/plotutils.scm (asymptote)
[native-inputs]: Replace boost with boost-1.83.
* gnu/packages/audio.scm (guitarix, supercollider),
* gnu/packages/bioconductor.scm (r-mzr),
* gnu/packages/bioinformatics.scm (ataqv, bless, express, isolator,
metabat, r-velocytom, rsem, sailfish, salmon),
* gnu/packages/bittorrent.scm (libtorrent-rasterbar),
* gnu/packages/code.scm (sourcetrail),
* gnu/packages/compression.scm (innoextract),
* gnu/packages/cpp.scm (lager),
* gnu/packages/crypto.scm (cryfs),
* gnu/packages/electronics.scm (nextpnr, prjpeppercorn, prjtrellis,
pulseview),
* gnu/packages/emulators.scm (mupen64plus-video-glide64mk2),
* gnu/packages/engineering.scm (cadabra2, freecad, libigl,
openscad, prusa-slicer),
* gnu/packages/file-systems.scm (snapper),
* gnu/packages/finance.scm (ledger),
* gnu/packages/game-development.scm (dds),
* gnu/packages/games.scm (colobot, fifengine, knightsgame, leela-zero,
pokerth, supertux, wesnoth, wesnoth-server),
* gnu/packages/geo.scm (gplates),
* gnu/packages/gnucash.scm (gnucash),
* gnu/packages/graph.scm (python-graph-tool),
* gnu/packages/graphics.scma (openshadinglanguage),
* gnu/packages/i2p.scm (i2pd),
* gnu/packages/image-viewers.scm (luminance-hdr),
* gnu/packages/kde-graphics.scm (krita),
* gnu/packages/mail.scm (astroid),
* gnu/packages/medical.scm (orthanc, orthanc-mysql,
orthanc-postgresql),
* gnu/packages/messaging.scm (libphonenumber),
* gnu/packages/mpd.scm (ncmpcpp),
* gnu/packages/networking.scm (kismet),
* gnu/packages/opencog.scm (cogutil),
* gnu/packages/photo.scm (hugin),
* gnu/packages/poedit.scm (poedit),
* gnu/packages/radio.scm (gnuradio),
* gnu/packages/rdf.scm (lucene++),
* gnu/packages/serialization.scm (avro-cpp),
* gnu/packages/simulation.scm (fenics-dolfin),
* gnu/packages/version-control.scm (gource),
* gnu/packages/video.scm (aegisub, mkvtoolnix),
* gnu/packages/web.scm (websocketpp)
[inputs]: Replace boost with boost-1.83.
* gnu/packages/libreoffice.scm (libcmis): Update to 0.6.2-00a85bf6.
(librevenge): Update to 0.0.5.
[arguments]<#:configure-flags>: Remove reference to boost system
component for which the compatibility stub has been removed.
* gnu/packages/serialization.scm (msgpack-cxx): Update to 7.0.0.
Change-Id: I247f3eaecde3de3fe227586b840f0312b4797ee1
2025-04-18 15:29:38 +00:00
|
|
|
boost-1.83
|
2022-09-11 21:56:16 -04:00
|
|
|
glib
|
|
|
|
|
gtk+
|
|
|
|
|
guile-3.0
|
|
|
|
|
icu4c
|
|
|
|
|
libdbi
|
|
|
|
|
libdbi-drivers
|
|
|
|
|
libofx
|
|
|
|
|
libxml2
|
|
|
|
|
libxslt
|
|
|
|
|
perl-finance-quote
|
2024-04-26 13:42:08 +02:00
|
|
|
perl-json
|
2023-06-29 00:20:22 +09:00
|
|
|
perl-json-parse
|
2022-09-11 21:56:16 -04:00
|
|
|
python
|
|
|
|
|
tzdata-for-tests
|
|
|
|
|
webkitgtk-with-libsoup2))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; dconf is required at runtime according to README.dependencies.
|
|
|
|
|
(list dconf))
|
2017-11-14 05:38:04 +01:00
|
|
|
(home-page "https://www.gnucash.org/")
|
2015-05-06 08:41:40 +02:00
|
|
|
(synopsis "Personal and small business financial accounting software")
|
|
|
|
|
(description
|
|
|
|
|
"GnuCash is personal and professional financial-accounting software.
|
|
|
|
|
It can be used to track bank accounts, stocks, income and expenses, based on
|
|
|
|
|
the double-entry accounting practice. It includes support for QIF/OFX/HBCI
|
|
|
|
|
import and transaction matching. It also automates several tasks, such as
|
2019-01-04 23:11:15 -05:00
|
|
|
financial calculations or scheduled transactions.
|
|
|
|
|
|
|
|
|
|
To make the GnuCash documentation available, its doc output must be
|
|
|
|
|
installed as well as Yelp, the Gnome help browser.")
|
2016-05-31 16:09:36 +02:00
|
|
|
(license license:gpl3+)))
|
2016-06-06 15:17:45 +02:00
|
|
|
|
2017-09-06 03:15:05 -07:00
|
|
|
;; This package is not public, since we use it to build the "doc" output of
|
|
|
|
|
;; the gnucash package (see above). It would be confusing if it were public.
|
|
|
|
|
(define gnucash-docs
|
2022-09-11 21:56:16 -04:00
|
|
|
(let ((revision "")) ;set to the empty string when no revision
|
2019-01-03 18:26:43 -05:00
|
|
|
(package
|
|
|
|
|
(name "gnucash-docs")
|
|
|
|
|
(version (package-version gnucash))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2022-09-11 21:56:16 -04:00
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/gnucash/gnucash%20%28stable%29/"
|
2024-02-28 09:50:42 +02:00
|
|
|
version "/gnucash-docs-" version revision ".tar.gz"))
|
2019-01-03 18:26:43 -05:00
|
|
|
(sha256
|
2025-09-30 09:02:28 +09:00
|
|
|
(base32 "0lv3gh47crjyjfv84xrfgz833hv9hhcyi4qkkpj097qn0l0dg5k7"))))
|
2022-04-17 04:57:15 -04:00
|
|
|
(build-system cmake-build-system)
|
2019-01-03 18:26:43 -05:00
|
|
|
;; These are native-inputs because they are only required for building the
|
|
|
|
|
;; documentation.
|
|
|
|
|
(native-inputs
|
2022-09-11 21:56:16 -04:00
|
|
|
;; The "check" target needs docbook-xml package to validate the DocBook
|
|
|
|
|
;; XML during the tests.
|
|
|
|
|
(list docbook-xml
|
|
|
|
|
docbook-xsl
|
|
|
|
|
libxml2
|
2025-09-30 00:54:17 +09:00
|
|
|
libxslt))
|
2022-04-17 04:57:15 -04:00
|
|
|
(arguments
|
2022-09-11 21:56:16 -04:00
|
|
|
`(#:tests? #f)) ;no test target
|
2019-01-03 18:26:43 -05:00
|
|
|
(home-page "https://www.gnucash.org/")
|
|
|
|
|
(synopsis "Documentation for GnuCash")
|
|
|
|
|
(description
|
|
|
|
|
"User guide and other documentation for GnuCash in various languages.
|
2017-09-06 03:15:05 -07:00
|
|
|
This package exists because the GnuCash project maintains its documentation in
|
|
|
|
|
an entirely separate package from the actual GnuCash program. It is intended
|
|
|
|
|
to be read using the GNOME Yelp program.")
|
2019-01-03 18:26:43 -05:00
|
|
|
(license (list license:fdl1.1+ license:gpl3+)))))
|
2017-09-06 03:15:05 -07:00
|
|
|
|
2016-06-06 15:17:45 +02:00
|
|
|
(define-public gwenhywfar
|
2025-12-08 19:46:54 +01:00
|
|
|
(package
|
|
|
|
|
(name "gwenhywfar")
|
|
|
|
|
(version "5.14.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.aquamaniac.de/git/gwenhywfar")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0p0fzi69jsr3flpr10s8gbl9i265x5j5k1q2i5yva2vsdx2j2878"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "--disable-network-checks"
|
|
|
|
|
;; GTK+3, GTK+2, Qt4, Qt5 and Qt6 are supported.
|
|
|
|
|
"--with-guis=gtk3"
|
|
|
|
|
"--enable-system-certs"
|
|
|
|
|
"--with-libxml2-code=yes"
|
|
|
|
|
"--disable-binreloc")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'bootstrap 'make-cvs
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "-fMakefile.cvs"))))))
|
|
|
|
|
(inputs
|
|
|
|
|
(list libgcrypt gnutls openssl gtk+ libxml2))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list autoconf automake gettext-minimal libtool pkg-config))
|
|
|
|
|
(home-page "https://www.aquamaniac.de")
|
|
|
|
|
(synopsis "Utility library for networking and security applications")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a helper library for networking and security
|
2016-06-06 15:17:45 +02:00
|
|
|
applications and libraries. It is used by AqBanking.")
|
2025-12-08 19:46:54 +01:00
|
|
|
;; The license includes an explicit additional permission to compile and
|
|
|
|
|
;; distribute this library with the OpenSSL Toolkit.
|
|
|
|
|
(license license:lgpl2.1+)))
|
2016-06-06 15:17:45 +02:00
|
|
|
|
2016-06-06 15:18:16 +02:00
|
|
|
(define-public aqbanking
|
2025-12-08 19:51:42 +01:00
|
|
|
(package
|
|
|
|
|
(name "aqbanking")
|
2026-01-10 13:48:54 +01:00
|
|
|
(version "6.8.5")
|
2025-12-08 19:51:42 +01:00
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.aquamaniac.de/git/aqbanking")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2026-01-10 13:48:54 +01:00
|
|
|
"1xqhhxhr1azqvdn47389h469d3srl5l3n1nx82jx2djbx9sdzdq9"))
|
2025-12-08 19:51:42 +01:00
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
;; Parallel building fails because aqhbci is required before it's
|
|
|
|
|
;; built.
|
|
|
|
|
#:parallel-build? #f
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'bootstrap 'make-cvs
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "-fMakefile.cvs")))
|
|
|
|
|
;; Embed the package version instead of the build date
|
|
|
|
|
(add-after 'make-cvs 'use-version-instead-of-date
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute*
|
|
|
|
|
"src/libs/plugins/backends/aqhbci/header.xml.in"
|
|
|
|
|
(("@DATETIME@") #$version))))
|
|
|
|
|
(add-before 'build 'build-types
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "typedefs")
|
|
|
|
|
(invoke "make" "typefiles"))))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list gwenhywfar))
|
|
|
|
|
(inputs
|
|
|
|
|
(list gmp xmlsec gnutls))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list autoconf automake gettext-minimal libltdl libtool pkg-config))
|
|
|
|
|
(home-page "https://www.aquamaniac.de")
|
|
|
|
|
(synopsis "Interface for online banking tasks")
|
|
|
|
|
(description
|
|
|
|
|
"AqBanking is a modular and generic interface to online banking tasks,
|
2016-06-06 15:18:16 +02:00
|
|
|
financial file formats (import/export) and bank/country/currency information.
|
|
|
|
|
AqBanking uses backend plugins to actually perform the online tasks. HBCI,
|
|
|
|
|
OFX DirectConnect, YellowNet, GeldKarte, and DTAUS discs are currently
|
|
|
|
|
supported. AqBanking is used by GnuCash, KMyMoney, and QBankManager.")
|
2025-12-08 19:51:42 +01:00
|
|
|
;; AqBanking is licensed under the GPLv2 or GPLv3
|
|
|
|
|
(license (list license:gpl2 license:gpl3))))
|