unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33051] Add wiredtiger-3.1.0
@ 2018-10-15 19:05 Amirouche Boubekki
  2018-10-16 18:47 ` Amirouche Boubekki
  2018-10-19 16:39 ` bug#33051: " Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Amirouche Boubekki @ 2018-10-15 19:05 UTC (permalink / raw)
  To: 33051


[-- Attachment #1.1: Type: text/plain, Size: 338 bytes --]

I created a new variable because, I think we don't want to loose wiredtiger
2.9.x which is used by mongodb 3.4.
wiredtiger 2.9 aka. wiredtiger variable is also used by guile-wiredtiger. I
am going to update guile-wiredtiger
soon enough in another patch to use wiredtiger-3.

I don't know if mongodb 3.4 can be built with wiredtiger-3.1.0

[-- Attachment #1.2: Type: text/html, Size: 432 bytes --]

[-- Attachment #2: 0001-gnu-Add-wiredtiger-3.1.0.patch --]
[-- Type: text/x-patch, Size: 1300 bytes --]

From 773fc608c776905dedb879785a2e38b424b44a5a Mon Sep 17 00:00:00 2001
From: Amirouche <amirouche@hypermove.net>
Date: Mon, 15 Oct 2018 20:54:45 +0200
Subject: [PATCH] gnu: Add wiredtiger 3.1.0

* gnu/packages/databases.scm (wiredtiger-3): New variable that inherits from
  wiredtiger
---
 gnu/packages/databases.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 7b056eb13..14f4b7628 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1626,6 +1626,19 @@ trees (LSM), for sustained throughput under random insert workloads.")
     ;; configure.ac: WiredTiger requires a 64-bit build.
     (supported-systems '("x86_64-linux" "mips64el-linux" "aarch64-linux"))))
 
+(define-public wiredtiger-3
+  (package
+    (inherit wiredtiger)
+    (name "wiredtiger")
+    (version "3.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://source.wiredtiger.com/releases/wiredtiger-"
+                                  version ".tar.bz2"))
+              (sha256
+               (base32
+                "014awypv579ascg4jbx4pndj2wld337m79yyzrzyr7hxrff139jx"))))))
+
 (define-public guile-wiredtiger
   (package
     (name "guile-wiredtiger")
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#33051] Add wiredtiger-3.1.0
  2018-10-15 19:05 [bug#33051] Add wiredtiger-3.1.0 Amirouche Boubekki
@ 2018-10-16 18:47 ` Amirouche Boubekki
  2018-10-19 16:39 ` bug#33051: " Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Amirouche Boubekki @ 2018-10-16 18:47 UTC (permalink / raw)
  To: 33051


[-- Attachment #1.1: Type: text/plain, Size: 503 bytes --]

Here a follow up to bump guile-wiredtiger

Le lun. 15 oct. 2018 à 21:05, Amirouche Boubekki <
amirouche.boubekki@gmail.com> a écrit :

> I created a new variable because, I think we don't want to loose
> wiredtiger 2.9.x which is used by mongodb 3.4.
> wiredtiger 2.9 aka. wiredtiger variable is also used by guile-wiredtiger.
> I am going to update guile-wiredtiger
> soon enough in another patch to use wiredtiger-3.
>
> I don't know if mongodb 3.4 can be built with wiredtiger-3.1.0
>

[-- Attachment #1.2: Type: text/html, Size: 836 bytes --]

[-- Attachment #2: 0001-gnu-guile-wiredtiger-Update-to-0.7.0.patch --]
[-- Type: text/x-patch, Size: 2688 bytes --]

From b8e4b81be7804028149560dcbd2ee7625f238d6f Mon Sep 17 00:00:00 2001
From: Amirouche <amirouche@hypermove.net>
Date: Tue, 16 Oct 2018 20:45:28 +0200
Subject: [PATCH] gnu: guile-wiredtiger: Update to 0.7.0.

* gnu/packages/databases.scm (guile-wiredtiger): Update to 0.7.0.
[inputs]: Replace wiredtiger with wiredtiger-3
[propagated-inputs]: Remove guile-lib, add guile-bytestructures
[description]: Update it.
---
 gnu/packages/databases.scm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 14f4b7628..a3228bbc9 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1642,16 +1642,16 @@ trees (LSM), for sustained throughput under random insert workloads.")
 (define-public guile-wiredtiger
   (package
     (name "guile-wiredtiger")
-    (version "0.6.3")
+    (version "0.7.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
                     (url "https://framagit.org/a-guile-mind/guile-wiredtiger.git")
-                    (commit "070ed68139d99c279f058a6c293f00292d35dbd7")))
+                    (commit "340ad4bc2ff4dcc6216a2f5c6f9172ca320ac66b")))
               (file-name (string-append name "-" version "-checkout"))
               (sha256
                (base32
-                "14rna97wsylajzxfif95wnblq85csgcfc666gh5dl0ssgd7x8llh"))))
+                "15j36bvxxzil7qpwlmh1rffqpva3ynvrcpqhhqbj2c9208ayz595"))))
     (build-system gnu-build-system)
     (arguments
      '(#:parallel-tests? #f  ;; tests can't be run in parallel, yet.
@@ -1659,21 +1659,19 @@ trees (LSM), for sustained throughput under random insert workloads.")
        (list (string-append "--with-libwiredtiger-prefix="
                             (assoc-ref %build-inputs "wiredtiger")))
        #:make-flags '("GUILE_AUTO_COMPILE=0")))
-    ;; TODO: Remove microkanren.scm when we have a separate package
-    ;; for it.
     (native-inputs
      `(("autoconf" ,autoconf)
        ("automake" ,automake)
        ("pkg-config" ,pkg-config)))
     (inputs
-     `(("wiredtiger" ,wiredtiger)
+     `(("wiredtiger" ,wiredtiger-3)
        ("guile" ,guile-2.2)))
     (propagated-inputs
-     `(("guile-lib" ,guile-lib)))                 ;for (htmlprag)
+     `(("guile-bytestructures" ,guile-bytestructures)))
     (synopsis "WiredTiger bindings for GNU Guile")
     (description
      "This package provides Guile bindings to the WiredTiger ``NoSQL''
-database.  Various higher level database abstractions.")
+database.")
     (home-page "https://framagit.org/a-guile-mind/guile-wiredtiger")
     (license license:gpl3+)))
 
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#33051: Add wiredtiger-3.1.0
  2018-10-15 19:05 [bug#33051] Add wiredtiger-3.1.0 Amirouche Boubekki
  2018-10-16 18:47 ` Amirouche Boubekki
@ 2018-10-19 16:39 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2018-10-19 16:39 UTC (permalink / raw)
  To: Amirouche Boubekki; +Cc: 33051-done

Hi Amirouche,

Amirouche Boubekki <amirouche.boubekki@gmail.com> skribis:

> I created a new variable because, I think we don't want to loose wiredtiger
> 2.9.x which is used by mongodb 3.4.
> wiredtiger 2.9 aka. wiredtiger variable is also used by guile-wiredtiger. I
> am going to update guile-wiredtiger
> soon enough in another patch to use wiredtiger-3.

[...]

> Here a follow up to bump guile-wiredtiger

Applied both patches, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-19 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-15 19:05 [bug#33051] Add wiredtiger-3.1.0 Amirouche Boubekki
2018-10-16 18:47 ` Amirouche Boubekki
2018-10-19 16:39 ` bug#33051: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).