Subject: [PATCH] gnu: virtuoso-ose: Unbundle zlib and build with readline
From: Roel Janssen <[email-masked]>
To: guix-patches <[email-masked]>
Date: Wed, 28 Mar 2018 18:17:27 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

From 80b26cfcc3d64588738e5fecc92f3eabc214ed4c Mon Sep 17 00:00:00 2001
From: Roel Janssen <[email-masked]>
Date: Wed, 28 Mar 2018 18:13:23 +0200
Subject: [PATCH] gnu: virtuoso-ose: Unbundle zlib and build with readline
 support.

* gnu/packages/databases.scm (virtuoso-ose): Unbundle zlib and build with
  readline support.
---
 gnu/packages/databases.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 0622b5f37..d66fdb957 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2016 Christopher Allan Webber <[email-masked]>
 ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2016, 2017 Nils Gillmann <[email-masked]>
-;;; Copyright © 2016, 2017 Roel Janssen <[email-masked]>
+;;; Copyright © 2016, 2017, 2018 Roel Janssen <[email-masked]>
 ;;; Copyright © 2016 David Craven <[email-masked]>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <[email-masked]>
 ;;; Copyright © 2016 Andy Patterson <[email-masked]>
@@ -2040,10 +2040,14 @@ implementation for Python.")
         (base32 "12dqam1gc1v93l0bj0vlpvjqppki6y1hqrlznywxnw0rrz9pb002"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f)) ; Tests require a network connection.
+     `(#:tests? #f ; Tests require a network connection.
+       #:configure-flags '("--without-internal-zlib"
+                           "--with-readline")))
     (inputs
      `(("openssl" ,openssl)
-       ("net-tools" ,net-tools)))
+       ("net-tools" ,net-tools)
+       ("readline" ,readline)
+       ("zlib" ,zlib)))
     (home-page "http://vos.openlinksw.com/owiki/wiki/VOS/")
     (synopsis "Multi-model database system")
     (description "Virtuoso is a scalable cross-platform server that combines
-- 
2.16.2

Dear Guix,

I'd like to change the Virtuoso recipe to use readline so that we can go
to previous commands in the “isql” command-line program.  And I'd like
to unbundle zlib.

Kind regards,
Roel Janssen