From patchwork Wed Dec 5 19:28:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Famulari X-Patchwork-Id: 394 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 3F99E16850; Wed, 5 Dec 2018 19:30:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id BB01016842 for ; Wed, 5 Dec 2018 19:30:14 +0000 (GMT) Received: from localhost ([::1]:36392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUcsA-0000nd-4P for patchwork@mira.cbaines.net; Wed, 05 Dec 2018 14:30:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUcs4-0000nD-1u for guix-patches@gnu.org; Wed, 05 Dec 2018 14:30:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUcry-00085u-Uw for guix-patches@gnu.org; Wed, 05 Dec 2018 14:30:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:58540) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUcry-00085m-QR for guix-patches@gnu.org; Wed, 05 Dec 2018 14:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gUcry-0007JU-JM for guix-patches@gnu.org; Wed, 05 Dec 2018 14:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33633] [PATCH] gnu: Add a C++14 variant of Boost for packages that need it. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Dec 2018 19:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33633 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33633@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154403814628010 (code B ref -1); Wed, 05 Dec 2018 19:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Dec 2018 19:29:06 +0000 Received: from localhost ([127.0.0.1]:34565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUcr3-0007Hh-Uc for submit@debbugs.gnu.org; Wed, 05 Dec 2018 14:29:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUcr2-0007HD-EJ for submit@debbugs.gnu.org; Wed, 05 Dec 2018 14:29:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUcqw-0007Wp-CE for submit@debbugs.gnu.org; Wed, 05 Dec 2018 14:28:59 -0500 Received: from lists.gnu.org ([2001:4830:134:3::11]:47211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUcqw-0007Wc-8Y for submit@debbugs.gnu.org; Wed, 05 Dec 2018 14:28:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUcqv-0000jG-D8 for guix-patches@gnu.org; Wed, 05 Dec 2018 14:28:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUcqp-0007Sn-Kv for guix-patches@gnu.org; Wed, 05 Dec 2018 14:28:56 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:48219) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUcqo-0007S3-JN for guix-patches@gnu.org; Wed, 05 Dec 2018 14:28:51 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 30A7222219; Wed, 5 Dec 2018 14:28:50 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 05 Dec 2018 14:28:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=cNNFu/1gsONI8R7yp7s61DK tV44oXMJ6fn7NxLJiPXk=; b=thqhJun548/QLX2PNoCaciS2gSXEpR1yrjaLS+Z L0SeG0sKK2MGb5czISxZWzvSZanrDh7XnfnZk8o9BPPim2ch6tJl8ItpqUSFPwoa qvctP8/K5UCaipP5ZfDeu9puKERt72L2DkJ0y+6U2sukwLDjiztsQWCRtbJRYHJL Z7to= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=cNNFu/1gsONI8R7yp 7s61DKtV44oXMJ6fn7NxLJiPXk=; b=HeTJkfBrq7RTy6dOmNi8a6D742po+dqMx nYL8+wVW7VQSVQOqbQ3rFXM456tPhb3mg1CO4XUi/WA8OPFudRUjc1qy83tBlC8g tAoW0c84DIRJnT5vQkbxCCFGG9XWB/gPYBvXeQSeDs+rr6Ka3fxy3g25uVBxjoZc aOs44vcPCB8IepO+c96PPbH3+WbtWApzVdrJFIJoqaEefFKEAf0LLt9YTLmsDvGe AL1La5hUSWAzcgVmmO609HWcDnH2g/hHKTmiNoF9kO2EpQyXSTZpWVpatgYXT5wx oFGRAQzJ3bph9DgeF90dTXyxPUSVYSkPy9vwuYO/Tm0tYP334+i2A== X-ME-Sender: X-ME-Proxy: Received: from jasmine.lan (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 78B69E484A for ; Wed, 5 Dec 2018 14:28:49 -0500 (EST) From: Leo Famulari Date: Wed, 5 Dec 2018 14:28:45 -0500 Message-Id: <1f508bd63c902536a3cc8bab67e215364f69a8a7.1544038125.git.leo@famulari.name> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Fixes and . * gnu/packages/boost.scm (boost-cxx14): New variable. * gnu/packages/compression.scm (innoextract)[inputs]: Use it. * gnu/packages/mpd.scm (ncmpcpp)[inputs]: Use it. --- gnu/packages/boost.scm | 9 +++++++++ gnu/packages/compression.scm | 2 +- gnu/packages/mpd.scm | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm index b772781f5..07dce749d 100644 --- a/gnu/packages/boost.scm +++ b/gnu/packages/boost.scm @@ -122,6 +122,15 @@ across a broad spectrum of applications.") (license (license:x11-style "https://www.boost.org/LICENSE_1_0.txt" "Some components have other similar licences.")))) +(define-public boost-cxx14 + (package (inherit boost) + (arguments + (substitute-keyword-arguments (package-arguments boost) + ((#:make-flags flags) + `(append ,flags + '("cxxflags=-std=c++14"))))) + (properties '((hidden? . #t))))) + (define-public boost-for-mysql ;; Older version for MySQL 5.7.23. (package diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 32b92a976..e8a50c676 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -2263,7 +2263,7 @@ single-member files which can't be decompressed in parallel.") (build-system cmake-build-system) (arguments `(#:tests? #f)) ;; No tests available. - (inputs `(("boost" ,boost) + (inputs `(("boost" ,boost-cxx14) ("libiconv" ,libiconv) ("xz" ,xz))) (native-inputs `(("pkg-config" ,pkg-config))) diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index fe8610ab9..0a81a3b8b 100644 --- a/gnu/packages/mpd.scm +++ b/gnu/packages/mpd.scm @@ -244,7 +244,7 @@ terminal using ncurses.") "0m0mjb049sl62vx13h9waavysa30mk0rphacksnvf94n13la62v5")))) (build-system gnu-build-system) (inputs `(("libmpdclient" ,libmpdclient) - ("boost" ,boost) + ("boost" ,boost-cxx14) ("readline" ,readline) ("ncurses" ,ncurses) ("taglib" ,taglib)