From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UEppH5iqrWMBNgAAbAwnHQ (envelope-from ) for ; Thu, 29 Dec 2022 15:56:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0KdPH5iqrWPqpgAAauVa8A (envelope-from ) for ; Thu, 29 Dec 2022 15:56:24 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 08FDD33F18 for ; Thu, 29 Dec 2022 15:56:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAuKB-0004bJ-W6; Thu, 29 Dec 2022 09:56:04 -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 1pAuKA-0004aq-MY for guix-patches@gnu.org; Thu, 29 Dec 2022 09:56:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAuKA-0006J7-Dl for guix-patches@gnu.org; Thu, 29 Dec 2022 09:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAuKA-00085S-8O for guix-patches@gnu.org; Thu, 29 Dec 2022 09:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60406] [PATCH 1/2] gnu: Add libdwarf. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Dec 2022 14:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60406 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60406@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Cc: 60406@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167232571330241 (code B ref -1); Thu, 29 Dec 2022 14:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Dec 2022 14:55:13 +0000 Received: from localhost ([127.0.0.1]:59660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAuJM-0007rg-S6 for submit@debbugs.gnu.org; Thu, 29 Dec 2022 09:55:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:46864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAuJK-0007rS-QW for submit@debbugs.gnu.org; Thu, 29 Dec 2022 09:55:11 -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 1pAuJK-0004XM-Jz for guix-patches@gnu.org; Thu, 29 Dec 2022 09:55:10 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAuJI-000610-Jp for guix-patches@gnu.org; Thu, 29 Dec 2022 09:55:10 -0500 Received: (Authenticated sender: mail@ambrevar.xyz) by mail.gandi.net (Postfix) with ESMTPSA id 77B25E0002; Thu, 29 Dec 2022 14:55:05 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <874jteqn67.fsf@ambrevar.xyz> References: <874jteqn67.fsf@ambrevar.xyz> Date: Thu, 29 Dec 2022 15:55:04 +0100 Message-ID: <87y1qqp8dz.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:4b98:dc4:8::224; envelope-from=mail@ambrevar.xyz; helo=relay4-d.mail.gandi.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.498, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672325784; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=/qKRxh6uNJaT4d7zBICIYd9vutRttI0+1+xGiY94s2o=; b=to589H11vqAC/OlttSjoVntlepyN1Rf/oVGq3rj7JNy9a5/et2zU8dBlCcV5eQtCklh/0A b6TehoTYgmZtKpM29aJcdCGpA1Mm3JT/Vn4ZdL0G7nQmIgUNmRW0TrdSvqZlN6gAkW1p65 4s/Kg2X/X7hCxUwkWISyCkeUeaXpArOvykIQyq3cGF2xOCFt9Sds6KqpD/tX5qKyzuXfdv roVHHIIx9TsL42Ky7KXUfkn2nLmWU9KRbzO90B6mvwhGEkfu0UfdodDkOF0uzJwUu1plt4 2eOr/2Judla+lCo0Y0XYNdlHG6NKR2RbXgPElug96WH3JG4dctsH0UWC+0aBoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672325784; a=rsa-sha256; cv=none; b=UfDfeFS/ZAkx2TxqQUijmwbPQ+8xem5Mxj3q3W2pc90+3K1xOTUDMoMDjFerk6anh6+CsU TVxV8Wnjz85lFTNBEDKtUxrHJcMlSESccb2JcFhQV/FHGR/z1zCXAZqtyMIxpLV+sokIY0 p0NumY3utJqNwON/jf15Ar9ps3pnko34H4icEMw0J2QzfEOzZJsEodKhH2EadhBJBzXqMd SHtz2HOQRwxnQdDaLcYMAzXpYXbv72Jctv1CmC+MEe5dfCqPPAFkWIb+rLgu1RmpHJ1nto ciXhJFWjq5binBvDdtxcAC6P4bsxM+w6QMm+TLDYPM4mUsd0rWiYmEI/YApxRw== X-Spam-Score: -3.43 X-Migadu-Queue-Id: 08FDD33F18 Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.43 X-TUID: yMgMdYfEuNii --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * gnu/packages/elf.scm (libdwarf): New variable. =2D-- gnu/packages/elf.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index 8cc2ff3637..7f2865f17f 100644 =2D-- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm @@ -31,7 +31,7 @@ (define-module (gnu packages elf) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) =2D #:use-module ((guix licenses) #:select (gpl3+ lgpl3+ lgpl2.0+)) + #:use-module ((guix licenses) #:select (gpl3+ lgpl3+ lgpl2.0+ lgpl2.1 gp= l2 bsd-2)) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages compression) @@ -282,3 +282,26 @@ (define-public patchelf (properties '((release-monitoring-url . "https://github.com/NixOS/patchelf/releas= es"))) (license gpl3+))) + +(define-public libdwarf + (package + (name "libdwarf") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (string-append "https://www.prevanders.net/libdwarf-" + version ".tar.xz")) + (sha256 + (base32 + "1a8j05z0rxf5ab9p5av2hqz6kxl8hfgar8h1387a0zric0n85yhi")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags '("--enable-shared"))) + (native-inputs (list python)) + (inputs (list elfutils)) + (home-page "https://www.prevanders.net/dwarf.html") + (synopsis "Handle DWARF debugging information") + (description "@code{libdwarf} is a library that handles the DWARF +debugging information format.") + ;; See https://www.prevanders.net/dwarflicense.html: + (license (list lgpl2.1 gpl2 bsd-2)))) =2D-=20 2.38.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAmOtqkgSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/bi4H/0oie7L2EzONOdOthtRClAcZPY71NTGc g5kWXtVH6wBPJhB+A57qkGWIs2o+YVsESVgv0o9u733HCqVZkW5jEqDA0kgXDDtg N/TsNA3dW47pUbdNmsj8XOP2vR7fdS7kWmuSzM76mQYoN3+7WEgMHYCP9LuI2uDc 4YnOsjemJFLGlVXup8i/+9ClTR71KarVINeo9PqAb9Epex4vTQrVAH+JVqebPq+i sbAyFV59iIIVW/K4kVAU8up9mlMxwmHAncysDVSl/wzDsglU48QZl41u/CDYPijA 5ItWKiw53+2NGbpLbbCx8LS/FV3yuO+u/OYdcdhg2SC9rdUFnClYG6Y= =0pTB -----END PGP SIGNATURE----- --=-=-=--