Re: [PATCH 3/5] gnu: Add gwenhywfar.
Ludovic Courtèswrites: > Ricardo Wurmus skribis: > >> * gnu/packages/gnucash.scm (gwenhywfar): New variable. > > [...] > >> +(inputs >> + `(("libgcrypt" ,libgcrypt) >> + ("gnutls" ,gnutls) >> + ("openssl" ,openssl) > > Do all three libraries show up in ‘guix gc --references’? In particular > are there programs linked against both OpenSSL and GnuTLS? That seems a > bit crazy to me, but if it needs to be, then that’s fine! References to all three libraries are, in fact, retained and they are reported by “guix gc --references”. ~~ Ricardo
Re: [PATCH 3/5] gnu: Add gwenhywfar.
Ricardo Wurmusskribis: > * gnu/packages/gnucash.scm (gwenhywfar): New variable. [...] > +(inputs > + `(("libgcrypt" ,libgcrypt) > + ("gnutls" ,gnutls) > + ("openssl" ,openssl) Do all three libraries show up in ‘guix gc --references’? In particular are there programs linked against both OpenSSL and GnuTLS? That seems a bit crazy to me, but if it needs to be, then that’s fine! Otherwise the package LGTM. Thank you! Ludo’.
Re: [PATCH 3/5] gnu: Add gwenhywfar.
On Mon, Jun 06, 2016 at 05:19:16PM +0200, Ricardo Wurmus wrote: > > Leo Famulariwrites: > > > On Mon, Jun 06, 2016 at 03:22:59PM +0200, Ricardo Wurmus wrote: > >> * gnu/packages/gnucash.scm (gwenhywfar): New variable. > > > >> +;; The license includes an explicit additional permission to compile > >> and > >> +;; distribute this library with the OpenSSL Toolkit. > >> +(license license:lgpl2.1+))) > > > > Only with OpenSSL, but not any other free software TLS implementations? > > Yes. Here’s the relevant section from COPYING: offlineimap has a similar openssl exception > ~~~ > Gwenhywfar is licensed under the GNU LGPL (see below) with this exception: > > As the copyright holder of Gwenhywfar, Martin Preuss grants the following > license exception: > > Martin Preuss explicitly allows the compilation and distribution of > Gwenhywfar with the OpenSSL Toolkit. > No developer is required to provide this exception in a derived work. > ~~~ > > ~~ Ricardo > > -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted signature.asc Description: PGP signature
Re: [PATCH 3/5] gnu: Add gwenhywfar.
Leo Famulariwrites: > On Mon, Jun 06, 2016 at 03:22:59PM +0200, Ricardo Wurmus wrote: >> * gnu/packages/gnucash.scm (gwenhywfar): New variable. > >> +;; The license includes an explicit additional permission to compile and >> +;; distribute this library with the OpenSSL Toolkit. >> +(license license:lgpl2.1+))) > > Only with OpenSSL, but not any other free software TLS implementations? Yes. Here’s the relevant section from COPYING: ~~~ Gwenhywfar is licensed under the GNU LGPL (see below) with this exception: As the copyright holder of Gwenhywfar, Martin Preuss grants the following license exception: Martin Preuss explicitly allows the compilation and distribution of Gwenhywfar with the OpenSSL Toolkit. No developer is required to provide this exception in a derived work. ~~~ ~~ Ricardo
Re: [PATCH 3/5] gnu: Add gwenhywfar.
On Mon, Jun 06, 2016 at 03:22:59PM +0200, Ricardo Wurmus wrote: > * gnu/packages/gnucash.scm (gwenhywfar): New variable. > +;; The license includes an explicit additional permission to compile and > +;; distribute this library with the OpenSSL Toolkit. > +(license license:lgpl2.1+))) Only with OpenSSL, but not any other free software TLS implementations?
[PATCH 3/5] gnu: Add gwenhywfar.
* gnu/packages/gnucash.scm (gwenhywfar): New variable. --- gnu/packages/gnucash.scm | 43 +++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm index c39324c..25801aa 100644 --- a/gnu/packages/gnucash.scm +++ b/gnu/packages/gnucash.scm @@ -25,12 +25,14 @@ #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages gnome) + #:use-module (gnu packages gnupg) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages icu4c) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages xml)) @@ -107,3 +109,44 @@ the double-entry accounting practice. It includes support for QIF/OFX/HBCI import and transaction matching. It also automates several tasks, such as financial calculations or scheduled transactions.") (license license:gpl3+))) + +(define-public gwenhywfar + (package +(name "gwenhywfar") +(version "4.15.3") +(source + (origin + (method url-fetch) + (uri (string-append "http://www.aquamaniac.de/sites/download/download.php?; + "package=01=201=01=gwenhywfar-" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 +(base32 + "0fp67s932x66xfljb26zbrn8ambbc5y5c3hllr6l284nr63qf3ka" +(build-system gnu-build-system) +(arguments + `(#:configure-flags + (list "--disable-network-checks" + ;; Both GTK+2 and QT4 are supported. + "--with-guis=gtk2" + (string-append "--with-openssl-includes=" +(assoc-ref %build-inputs "openssl") "/include") + (string-append "--with-openssl-libs=" +(assoc-ref %build-inputs "openssl") "/lib" +(inputs + `(("libgcrypt" ,libgcrypt) + ("gnutls" ,gnutls) + ("openssl" ,openssl) + ("gtk+" ,gtk+-2))) +(native-inputs + `(("pkg-config" ,pkg-config))) +(home-page "http://www.aquamaniac.de/sites/aqbanking/index.php;) +(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+))) + -- 2.8.3