unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 33308@debbugs.gnu.org
Subject: [bug#33308] [PATCH 2/2] gnu: capnproto: Update to 0.7.0.
Date: Wed,  7 Nov 2018 19:56:54 +0000	[thread overview]
Message-ID: <20181107195654.22832-2-mail@cbaines.net> (raw)
In-Reply-To: <20181107195654.22832-1-mail@cbaines.net>

* gnu/packages/serialization.scm (capnproto)[version]: Change to 0.7.0.
[source]: Update sha256 hash.
[arguments]: Add new 'use-tmp-for-tempory-files phase, to patch some tests to
use /tmp for tempory files, as the default /var/tmp directory doesn't exist.
---
 gnu/packages/serialization.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 40b3d1bae0..77fd070bc7 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -314,7 +314,7 @@ it a convenient format to store user input files.")
 (define-public capnproto
   (package
     (name "capnproto")
-    (version "0.6.1")
+    (version "0.7.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -322,7 +322,7 @@ it a convenient format to store user input files.")
                     version ".tar.gz"))
               (sha256
                (base32
-                "010s9yhq4531wvdfrdf2477zswhck6cjfby79w73rff3v06090l0"))))
+                "0hfdnhlbskagzgvby8wy6lrxj53zfzpfqimbhga68c0ji2yw1969"))))
     (build-system gnu-build-system)
     (arguments
      `(#:phases
@@ -332,6 +332,12 @@ it a convenient format to store user input files.")
              ;; Workaround for test that tries to resolve port name from
              ;; /etc/services, which is not present in build environment.
              (substitute* "src/kj/async-io-test.c++" ((":http") ":80"))
+             #t))
+         (add-before 'check 'use-tmp-for-tempory-files
+           (lambda _
+             (substitute* "src/kj/filesystem-disk-test.c++"
+               (("VAR\\_TMP \"/var/tmp\"")
+                "VAR_TMP \"/tmp\""))
              #t)))))
     (home-page "https://capnproto.org")
     (synopsis "Capability-based RPC and serialization system")
-- 
2.19.1

  reply	other threads:[~2018-11-07 19:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-07 19:45 [bug#33308] [PATCH 0/2] Update mosh and capnproto Christopher Baines
2018-11-07 19:56 ` [bug#33308] [PATCH 1/2] gnu: mash: Update to 2.1 Christopher Baines
2018-11-07 19:56   ` Christopher Baines [this message]
2018-11-10 22:22     ` [bug#33308] [PATCH 2/2] gnu: capnproto: Update to 0.7.0 Ludovic Courtès
2018-11-26 19:27       ` Christopher Baines
2018-11-08  3:23   ` [bug#33308] [PATCH 1/2] gnu: mash: Update to 2.1 Eric Bavier
2018-11-26 19:35     ` Christopher Baines
2018-11-07 20:19 ` [bug#33308] [PATCH 0/2] Update mosh and capnproto Leo Famulari
2018-11-26 19:25   ` Christopher Baines
2018-11-26 19:04 ` [bug#33308] [PATCH v2 1/2] gnu: mash: Fix build with capnproto 0.7 Christopher Baines
2018-11-26 19:04   ` [bug#33308] [PATCH v2 2/2] gnu: capnproto: Update to 0.7.0 Christopher Baines
2018-12-05 20:34     ` bug#33308: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181107195654.22832-2-mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=33308@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).