From patchwork Sun Aug 11 05:16:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 66937 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 0642A27BBEA; Sun, 11 Aug 2024 06:17:39 +0100 (BST) 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_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham 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 4E80927BBE2 for ; Sun, 11 Aug 2024 06:17:38 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sd0xR-0003I9-Ft; Sun, 11 Aug 2024 01:17:33 -0400 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 1sd0xQ-0003GC-GJ for guix-patches@gnu.org; Sun, 11 Aug 2024 01:17:32 -0400 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 1sd0xQ-0006Gn-0n for guix-patches@gnu.org; Sun, 11 Aug 2024 01:17:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:In-Reply-To:References:Subject; bh=rtdBQBle+wlIPZsUSUgRy8Mj60riHlgUTVlgGlEY7/Y=; b=EelySIky4mV+LA2IoFx9SZdD1qNSTa/piQph+lZOh2WIrI7umXmnrUD1tw+NNgJ1CqETPV5haWO6ABIVsqJ0Bm/hOuiVtfzD3jzv2UI/t+eTc3ZNU+KNWangcw4U+7gMXYBX0nLgp3zIisPFr7/ohzAM6/6DED38iHZsgoXCZN5V/mAY1gr0maQa+W9cXD17Vb/6INgCM/jt6oRR4rJPI46mVOw343/BUQcevnBqyk3OkskszTAAPcNDINu71lH7mj3wkSG7lIfFZ2d/FdcX3pp/G2yKXq2MR9BJhNikzY1elPtKSD0cIk4UjpuerIe1nqT7B00t9c5Ze4DMEBWTJA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sd0xu-0007t9-5u for guix-patches@gnu.org; Sun, 11 Aug 2024 01:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72569] [PATCH 1/4] gnu: Add backward-cpp. References: <59b04394-4737-6da3-cf9e-3f181431afa8@disroot.org> In-Reply-To: <59b04394-4737-6da3-cf9e-3f181431afa8@disroot.org> Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Aug 2024 05:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72569 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72569@debbugs.gnu.org Received: via spool by 72569-submit@debbugs.gnu.org id=B72569.172335342230242 (code B ref 72569); Sun, 11 Aug 2024 05:18:02 +0000 Received: (at 72569) by debbugs.gnu.org; 11 Aug 2024 05:17:02 +0000 Received: from localhost ([127.0.0.1]:40568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sd0wv-0007ra-KV for submit@debbugs.gnu.org; Sun, 11 Aug 2024 01:17:01 -0400 Received: from layka.disroot.org ([178.21.23.139]:55544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sd0wu-0007rP-K6 for 72569@debbugs.gnu.org; Sun, 11 Aug 2024 01:17:01 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5183D42E72 for <72569@debbugs.gnu.org>; Sun, 11 Aug 2024 07:16:29 +0200 (CEST) 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]) (amavisd-new, port 10024) with ESMTP id SF-aUUdjAB4w for <72569@debbugs.gnu.org>; Sun, 11 Aug 2024 07:16:28 +0200 (CEST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1723353388; bh=FIVgm+tsGD52Dy4Z/Xkgoa/vSZOkHPuVYPgMaFJmgtk=; h=Date:To:From:Subject; b=i3Ik9rJmTOIPgTyOhvmmmIuZ8JXT4xjEK26cmBEOTtMghVkzMNn1xn7mfO5yiSVuY fpSFRCWk5747QryywPpc9JpoTkovPR8qWsIExrJfI3F3ZioZRB5uaiOeBvX/CnmQOJ YK74Zohwo9HkVqtmLUTFLJIk+cvDOmkNc0uv/AyEpweufDY0aezRfzt3SJgMPb8UgA Kxn12rywBUt0TIy/NCCqcKTVXJo/lYhmnmTLNIPg2ncJmdbOpBaGuycnT7b5Dfh/K/ 15vGmhGy6kt9BP9eFulRq3ZzhA1oWVCFPOZhyrobK/oxeuhRTKmHjiZ9XnnPa+KFt0 IDZGg+oeNpEWw== Date: Sun, 11 Aug 2024 13:16:04 +0800 MIME-Version: 1.0 Content-Language: en-US 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: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz 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 From edcd1203111fe557c22e4b9053d0dcf6cc690794 Mon Sep 17 00:00:00 2001 Message-ID: In-Reply-To: References: From: AwesomeAdam54321 Date: Sun, 11 Aug 2024 08:40:08 +0800 Subject: [PATCH 1/4] gnu: Add backward-cpp. * gnu/packages/debug.scm (backward-cpp): New variable. --- gnu/packages/debug.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm index 2cdf87e266..4e652ba94d 100644 --- a/gnu/packages/debug.scm +++ b/gnu/packages/debug.scm @@ -513,6 +513,32 @@ (define-public qemu-for-american-fuzzy-lop ;; Several tests fail on MIPS. (supported-systems (delete "mips64el-linux" %supported-systems)))))) +(define-public backward-cpp + (package + (name "backward-cpp") + (version "1.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bombela/backward-cpp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b2h03iwfhcsg8i4f125mlrjf8l1y7qsr2gsbkv0z03i067lykns")))) + (arguments + (list + #:configure-flags + #~(list "-DBACKWARD_SHARED=ON"))) + (build-system cmake-build-system) + (inputs + (list libiberty zlib)) + (synopsis "Stack trace pretty printer for C++") + (description + "Backward-cpp is a stack trace pretty printer for C++.") + (home-page "https://github.com/bombela/backward-cpp") + (license license:expat))) + (define-public aflplusplus (package (inherit american-fuzzy-lop)