From patchwork Wed Nov 13 15:46:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 70360 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 08F8727BBE9; Wed, 13 Nov 2024 15:50:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8CF4B27BBE2 for ; Wed, 13 Nov 2024 15:50:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBFd6-0002T0-Uw; Wed, 13 Nov 2024 10:50:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBFd5-0002Si-0G for guix-patches@gnu.org; Wed, 13 Nov 2024 10:50:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBFd4-0001Sc-Hm for guix-patches@gnu.org; Wed, 13 Nov 2024 10:50:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=U0lc0/y+w+7W6KUGavt9JwpTmIkib9rjzd/95ybaZNo=; b=RxbrPnkp9fzCAR/CNR2TgmE6i5edyvXIwo0xDs4+GQoUgN2WYYJxoew93lgr90D6deYURfXDkKiQljzoneJ8jKeHkQYZPoc7f8r+jyRhu7GHJZehsLgmcMt9qsYYeJxevlMZPLwP/y/6A3uitt63LhGiAuOUZFQthoNvdZmocIh+ZmbNDdTA6cD/qgogILyjvlso4kMCUaSfKLG2PhXVry71ASbssJtJmkr9pN/BRq9E2vSPwhJCzFXzHQKXJKeTkFt4Lz6mQ7fqppSCqpHoeLFSI3td2xdPSpJjdLvZcdm1R+LiXUtYgu1NOmH+9W3AvMT7lXPNnznJOl9rbh+vkg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBFd4-0005aD-47 for guix-patches@gnu.org; Wed, 13 Nov 2024 10:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74344] [PATCH 1/7] gnu: Add asyncplusplus. References: In-Reply-To: Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Nov 2024 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74344 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74344@debbugs.gnu.org Cc: Sughosha Received: via spool by 74344-submit@debbugs.gnu.org id=B74344.173151297721423 (code B ref 74344); Wed, 13 Nov 2024 15:50:02 +0000 Received: (at 74344) by debbugs.gnu.org; 13 Nov 2024 15:49:37 +0000 Received: from localhost ([127.0.0.1]:43180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBFcf-0005ZS-0r for submit@debbugs.gnu.org; Wed, 13 Nov 2024 10:49:37 -0500 Received: from layka.disroot.org ([178.21.23.139]:33102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBFcd-0005ZH-JQ for 74344@debbugs.gnu.org; Wed, 13 Nov 2024 10:49:36 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6565E2007D; Wed, 13 Nov 2024 16:49:34 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id rRpXg6CRVu6V; Wed, 13 Nov 2024 16:49:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1731512973; bh=KKFE7GS2Fz++wjCqP6cEbpdea1DVD9MZrku3FZ/lkMY=; h=From:To:Cc:Subject:Date; b=UenH9NqN76ZvOcs+TEh36sY0AkBS5PrNpthr3hOR/njK8ziwbpIy1auVwYeiPYNLB SvUkTLBGBXkQneHD1yPq5gVuHlKf1oZsmqz7Jsvlbm02dQ3wbDV8zcjDoqfiFl6N/Q GPliEa4SXvEKTMrwjlOpDKRr9jgYg8JVdcxaLAv+vguEkouxUE5p+2pvCHcwsUhx1A 3eNv559RWcZjvjAmUcyEyPVKEvSZRpsmL2kfVLsA8sbHOTbZP+k203Zr3Wg3J0Yoth 0X3HGG+cODjhZzEsJSY/tNPFnzr7RCCUz0UjgvLHz4mTLG9wLPVsf+GZKFnvV0Aj7Z DNgqr9ykdjIRg== Date: Wed, 13 Nov 2024 21:16:17 +0530 Message-ID: <009f0224022cd4677679737eb01a26142e658152.1731512782.git.sughosha@disroot.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cpp.scm (asyncplusplus): New variable. Change-Id: I6ba1b983ce05a634937d0d972e670ce636df3b94 --- gnu/packages/cpp.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) base-commit: 2a6d96425eea57dc6dd48a2bec16743046e32e06 diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index f8e8557ef1..23d8439d00 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -190,6 +190,33 @@ (define-public asmjit development effort.") (license license:zlib)))) +(define-public asyncplusplus + (package + (name "asyncplusplus") + (version "1.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Amanieu/asyncplusplus") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0iswbh7y46kn412c52af0n8bc4fplm3y94yh10n2lchispzar72j")) + (modules '((guix build utils))) + (snippet + ;; Fix install location of cmake files. + '(substitute* "CMakeLists.txt" + (("DESTINATION cmake") + "DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake"))))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f)) ;no tests + (home-page "https://github.com/Amanieu/asyncplusplus") + (synopsis "Concurrency framework for C++11") + (description "Async++ is a concurrency framework for C++11.") + (license license:expat))) + (define-public biblesync (package (name "biblesync")