From 33e0ce57b44905be766e69dcb9554ad77bc8df4b Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Mon, 8 Dec 2025 19:46:54 +0100 Subject: [PATCH] gnu: gwenhywfar: Update to 5.14.1 and change source to git. * gnu/packages/gnucash.scm: (gwenhywfar): Update to 5.14.1. [source]: Change to git-fetch. [arguments]: Change to gexp. [phases]: New phase make-cvs. [native-inputs]: Add autoconf, automake, gettext-minimal, libtool. Change-Id: I7325675cf2a81deb302423d9ecbd97d9d56b5a28 --- gnu/packages/gnucash.scm | 72 +++++++++++++++++++++++----------------- 1 file changed, 41 insertions(+), 31 deletions(-) diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm index bb2b7e7051a0fbf05533b6f018d1b0ba38381f41..91aa56622f0fc85be5b7cdfe368f545e9ee7b980 100644 --- a/gnu/packages/gnucash.scm +++ b/gnu/packages/gnucash.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2020 Prafulla Giri ;;; Copyright © 2020 Christopher Lam ;;; Copyright © 2023, 2024 gemmaro +;;; Copyright © 2025 Hartmut Goebel ;;; ;;; This file is part of GNU Guix. ;;; @@ -57,6 +58,7 @@ #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix utils)) @@ -257,38 +259,46 @@ to be read using the GNOME Yelp program.") (license (list license:fdl1.1+ license:gpl3+))))) (define-public gwenhywfar - (let ((attachid "529")) ;; file attachid changes for each version - (package - (name "gwenhywfar") - (version "5.12.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://www.aquamaniac.de/rdm/attachments/" - "download/" attachid "/gwenhywfar-" version ".tar.gz")) - (sha256 - (base32 "09nnjn1i8nzlkk62wai2lbnvqap8w6y98fh520b1y883fx2g3m8a")))) - (build-system gnu-build-system) - (arguments - `(#:configure-flags - (list "--disable-network-checks" - ;; GTK+3, GTK+2 and QT4 are supported. - "--with-guis=gtk3" - "--enable-system-certs" - "--with-libxml2-code=yes" - "--disable-binreloc"))) - (inputs - (list libgcrypt gnutls openssl gtk+ libxml2)) - (native-inputs - (list 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 + (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 applications and libraries. It is used by AqBanking.") - ;; The license includes an explicit additional permission to compile and - ;; distribute this library with the OpenSSL Toolkit. - (license license:lgpl2.1+)))) + ;; The license includes an explicit additional permission to compile and + ;; distribute this library with the OpenSSL Toolkit. + (license license:lgpl2.1+))) (define-public aqbanking (let ((attachid "531")) ;; file attachid changes for each version