From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4AaBOPeVvWHKnwAAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 09:04:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GB9ONPeVvWEwGQAA1q6Kng (envelope-from ) for ; Sat, 18 Dec 2021 08:04:07 +0000 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 9565C356B6 for ; Sat, 18 Dec 2021 09:04:07 +0100 (CET) Received: from localhost ([::1]:37230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myUhK-0008Lo-EN for larch@yhetil.org; Sat, 18 Dec 2021 03:04:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myUhG-0008Le-0m for guix-patches@gnu.org; Sat, 18 Dec 2021 03:04:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57903) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myUhF-0006bG-Oy for guix-patches@gnu.org; Sat, 18 Dec 2021 03:04:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myUhF-00012n-JN for guix-patches@gnu.org; Sat, 18 Dec 2021 03:04:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52472] [PATCH] gnu: Add libtree Resent-From: poptsov.artyom@gmail.com (Artyom V. Poptsov) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Dec 2021 08:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52472 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52472@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16398145903953 (code B ref -1); Sat, 18 Dec 2021 08:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2021 08:03:10 +0000 Received: from localhost ([127.0.0.1]:41216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myUgM-00011d-0e for submit@debbugs.gnu.org; Sat, 18 Dec 2021 03:03:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:38880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myUgK-00011V-Ms for submit@debbugs.gnu.org; Sat, 18 Dec 2021 03:03:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myUgK-0008J1-HA for guix-patches@gnu.org; Sat, 18 Dec 2021 03:03:04 -0500 Received: from [2a00:1450:4864:20::12c] (port=44651 helo=mail-lf1-x12c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myUgI-0006Ut-OS for guix-patches@gnu.org; Sat, 18 Dec 2021 03:03:04 -0500 Received: by mail-lf1-x12c.google.com with SMTP id z7so9354761lfi.11 for ; Sat, 18 Dec 2021 00:03:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=nYNlllWldna1CcWMvJLjjvK6vduhEz23q7JfVJYxkXA=; b=PUfFTUFwhZd6JL0ug60DXudE7baBdWwgVmEkSCKMWL8HZyAosRHCrJ4QG3zkvcKHdG ivLWgwLbtBO8+w/dK91i3mUaOdItomVjrurJ/leAQH+wWgqjhPCGs04B3p2FwK7uBEr6 nB7q2E3nLHE0N3pik/IPLhCQYagNfrC1vZh/nr26LmG7ZXFK1l4kGZcO5lKLeRBllUhZ SGdKHlOq6LF3vxss8Fs08i7NyDj6PvT9xWKObQaHGPZnbNdXtXBmZgr2Wu1oR1MPQv03 a495fCSeOfyAo30JdLmjJKcoX4oZw5ntAecYIrGvm8sXHK38lVa5YW/Bz4U9iCLM6Mly BHbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=nYNlllWldna1CcWMvJLjjvK6vduhEz23q7JfVJYxkXA=; b=4YUAtvtZ/aQi2k2Li1ARSws4P99nG1Os5KuZByXNZYYUSUgP1i5EJFUl2MUuoY9A+7 1gBUDwymUK3/NC2rtnKog01MjmnJ+H+uB3IWyJRMR0TjvRS8Ioxu9FX5bZURZa61r83i lWNkLjxg7jkHjfiBHbv3GqYWGm2gw0vddL0JD0S1RXKzXAn6saIyQk5PUhIkC4THbnLj HhVxbCsnrTYgX3Qnc491Rht+5KI98SVg6NKs6gHjpmGvnFMXoSVoCEcixinOWV2LCNpg S3UWPtAOXShwwxe9Vq3jE2v7IlS/gA0H4PZVgoGGm69vpe7qFDH+EDNi1rqqXBcufmru HbYQ== X-Gm-Message-State: AOAM530ZteCesjgs40wEsrNnAnBVfF8vaSFwONr7omfTQ3Y4zqrdIiv5 mvppFDfWmi57N8oL4vm9ZzzHHACs1I0= X-Google-Smtp-Source: ABdhPJzs/aPC73DFAt3PEJnyN5W60nngB+bqFKL/JpiXetv0vvEdGGq2uvRTX8b6TnVzKB0L/6Nxmw== X-Received: by 2002:ac2:5e85:: with SMTP id b5mr1481731lfq.33.1639814579953; Sat, 18 Dec 2021 00:02:59 -0800 (PST) Received: from elephant ([5.164.193.196]) by smtp.gmail.com with ESMTPSA id b6sm1877730ljr.103.2021.12.18.00.02.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Dec 2021 00:02:59 -0800 (PST) From: poptsov.artyom@gmail.com (Artyom V. Poptsov) References: <87fsqw5j9h.fsf@gmail.com> Date: Sat, 18 Dec 2021 11:02:55 +0300 In-Reply-To: <87fsqw5j9h.fsf@gmail.com> (Artyom V. Poptsov's message of "Mon, 13 Dec 2021 23:42:34 +0300") Message-ID: <87pmpu5oi8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x12c.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639814647; 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: dkim-signature; bh=nYNlllWldna1CcWMvJLjjvK6vduhEz23q7JfVJYxkXA=; b=jmAG8+IaQCBbq44rkYw4l6RFDcXCBgq+RfajoM1GDcrpzIs8EHFLFJ5n9Rg6wonwFV4tjP Ez8kPhwLzOok5s5ZuKfVG6AsCd0zO/j3VPrQo1qMaiWIk6pnwtLXDAXmBTnr+QUTNlThvx +jrPsQy99UYN5gTps85+PZXnNXVpf3jcUvjzC3lpJC8FBwLnReloZ74o2l4QNx1vn/UvTq 53DN2Aj4EAlpKJ5rW2DKMkLwsYBCSIxfwBPoFr/vE6/UpUgX9cpW7zmGjqAYxDiGiF+Hln JlxbuDyBYca19kMRatxE1DEUwWlX08YpbezALMpjlrtuavgPoKpO10ti0IQVlQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639814647; a=rsa-sha256; cv=none; b=Ic7OKQF7sB4FOGvgq78ZFlm+xEiiphpiyOLm/RRc8mTZ1qQiMwsf5HBHBQ3jcfppTW71AV La5zm/cVsXrEODNqkXgdSbb9Ch6EStTowDk0GyQRhYHyTi1fbeh1575a86W3aCb3w+gYdP EjVD3H70d8vw8V7qy6gVUzmhl/1A+GO0Axdxv04b9PG18/KGaZepSsFhe0rES5XbNjYoxR dx624471C9qWUrSCMsoqx3RbVy+EGsiQ9h0nBJjtazzKuaJRESFguUQmyUh4UXkFrckCAz w03krQeWvdxzSbYvALWBMvMV+J6RtL9N7EO/Y5r+KCmmvsBQx4mCxTOu+Z+GiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PUfFTUFw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Spam-Score: -5.50 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=PUfFTUFw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Queue-Id: 9565C356B6 X-Spam-Score: -5.50 X-Migadu-Scanner: scn0.migadu.com X-TUID: s2zhAJ2WKLVe --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain I've updated libtree to v3.0.1. - Artyom --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-libtree.patch Content-Transfer-Encoding: quoted-printable From=204deebbcc8be0352121b7cf42e6a39949601faa0f Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Mon, 13 Dec 2021 23:34:29 +0300 Subject: [PATCH] gnu: Add libtree * gnu/packages/linux.scm (libtree): New variable. =2D-- gnu/packages/linux.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 055a37cb79..7503b10800 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -59,6 +59,8 @@ ;;; Copyright =C2=A9 2021 Josselin Poiret ;;; Copyright =C2=A9 2021 Olivier Dion ;;; Copyright =C2=A9 2021 Solene Rapenne +;;; Copyright =C2=A9 2021 Artyom V. Poptsov + ;;; ;;; This file is part of GNU Guix. ;;; @@ -8754,3 +8756,41 @@ older system-wide @file{/sys} interface.") (license (list license:lgpl2.1+ ;; libgpiod license:gpl2+ ;; gpio-tools license:lgpl3+)))) ;; C++ bindings + +(define-public libtree + (package + (name "libtree") + (version "3.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/haampie/libtree") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1j56j1k4rlm0wi6jvdmk7j7nf4wrmc5gyhgp6vjf180hpgwlqz92")))) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'check) + (delete 'configure) + (add-before 'build 'patch + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" + (("\\$\\(DESTDIR\\)\\$\\(BINDIR\\)") + (format #f "~a/bin/" (assoc-ref outputs "out"))) + (("\\$\\(DESTDIR\\)\\$\\(SHAREDIR\\)") + (format #f "~a/share/" (assoc-ref outputs "out")))))) + (replace 'build + (lambda _ + (setenv "CC" "gcc") + (setenv "LDFLAGS" "-static") + (invoke "make")))))) + (build-system gnu-build-system) + (home-page "https://github.com/haampie/libtree") + (synopsis "@command{ldd} as a tree") + (description + "This tool turns @command{ldd} into a tree and explains how shared +libraries are found or why they cannot be located.") + (license license:expat))) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmG9la8ACgkQ6cWi2QiY oC+0mAf+IkotJf57qW3huyHieYgpJeLUwfbJ02C+ey27tt/m0vVQAkW2zMpWXp78 wGZCyHnM+Mn+WahOZOFAmZIgWZ/EuYUSEEZFNIh4I8GUrxep3846sbxlBG94R0ca TLqTDM6y1CJitA3YOXIE6whmp3+awL46JsiFdgztoIrtcZ0Ty5zJzQ2Dhhv8b1E9 42b3ehsXFiLj1WPRuYfPwE/4gFh9OPu1Uv4fpeBkfaA75LIeRRMsXOWQ0G7QAt3Y 4qLQKqeicR6NQuD6j6k6ZOfq24su6bLF36Ykn1ajp5NjCCwVTKYP/+5f3+RLFCxn 7wY0LJNZSVq6Zp2+6SS3Hr8/oSiwEQ== =P9rc -----END PGP SIGNATURE----- --==-=-=--