From patchwork Thu Jul 18 09:20:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 14718 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DB9DD17231; Thu, 18 Jul 2019 10:21:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 93C87171E8 for ; Thu, 18 Jul 2019 10:21:07 +0100 (BST) Received: from localhost ([::1]:35774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho2b5-0002r5-7v for patchwork@mira.cbaines.net; Thu, 18 Jul 2019 05:21:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39784) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho2b1-0002qn-ON for guix-patches@gnu.org; Thu, 18 Jul 2019 05:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ho2b0-0001T3-Na for guix-patches@gnu.org; Thu, 18 Jul 2019 05:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44609) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ho2b0-0001Sq-KL for guix-patches@gnu.org; Thu, 18 Jul 2019 05:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ho2b0-0004vh-FX for guix-patches@gnu.org; Thu, 18 Jul 2019 05:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36638] [PATCH v2 1/2] gnu: Add websocketpp. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 Jul 2019 09:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36638 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) Received: via spool by 36638-submit@debbugs.gnu.org id=B36638.156344164218894 (code B ref 36638); Thu, 18 Jul 2019 09:21:02 +0000 Received: (at 36638) by debbugs.gnu.org; 18 Jul 2019 09:20:42 +0000 Received: from localhost ([127.0.0.1]:53429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ho2ag-0004ug-DQ for submit@debbugs.gnu.org; Thu, 18 Jul 2019 05:20:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ho2ae-0004uV-Ke for 36638@debbugs.gnu.org; Thu, 18 Jul 2019 05:20:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ho2aZ-00018o-Hd; Thu, 18 Jul 2019 05:20:35 -0400 Received: from nat-eduroam-36-gw-01-bso.bordeaux.inria.fr ([194.199.1.36]:58634 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ho2aO-0001UU-HF; Thu, 18 Jul 2019 05:20:35 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= In-Reply-To: <87tvbkpm4b.fsf_-_@sdf.lonestar.org> (Jakob L. Kreuze's message of "Wed, 17 Jul 2019 14:11:16 -0400") References: <87o91xbz4p.fsf@sdf.lonestar.org> <87k1clbz2i.fsf@sdf.lonestar.org> <8736j7l155.fsf@gnu.org> <87r26rjm3q.fsf@gnu.org> <87y30wpm68.fsf_-_@sdf.lonestar.org> <87tvbkpm4b.fsf_-_@sdf.lonestar.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Messidor an 227 de la =?utf-8?q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 18 Jul 2019 11:20:10 +0200 Message-ID: <87sgr3g0mt.fsf@gnu.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 36638@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi! zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) skribis: > * gnu/packages/web.scm (websocketpp): New variable. Applied with the minor changes below, in particular returning #t from the build phase. Thanks, Ludo’. diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index e61bbba695..f1083505ee 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -872,16 +872,15 @@ for efficient socket-like bidirectional reliable communication channels.") (build-system cmake-build-system) (inputs `(("boost" ,boost) ("openssl" ,openssl))) - (arguments '(#:configure-flags - '("-DBUILD_TESTS=ON") + (arguments '(#:configure-flags '("-DBUILD_TESTS=ON") #:phases (modify-phases %standard-phases (add-after 'install 'remove-tests - (lambda* (#:key outputs - #:allow-other-keys) + (lambda* (#:key outputs #:allow-other-keys) (let* ((install-dir (assoc-ref outputs "out")) (bin-dir (string-append install-dir "/bin"))) - (delete-file-recursively bin-dir))))))) + (delete-file-recursively bin-dir) + #t)))))) (home-page "https://www.zaphoyd.com/websocketpp/") (synopsis "C++ library implementing the WebSocket protocol") (description "WebSocket++ is a C++ library that can be used to implement