From patchwork Mon Sep 2 09:57:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 67494 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 171A827BBEA; Mon, 2 Sep 2024 10:58:13 +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.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,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 44B8027BBE2 for ; Mon, 2 Sep 2024 10:58:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sl3oy-0003Ak-2J; Mon, 02 Sep 2024 05:58:04 -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 1sl3ow-0003AF-2I for guix-patches@gnu.org; Mon, 02 Sep 2024 05:58:02 -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 1sl3ov-00040y-Pk for guix-patches@gnu.org; Mon, 02 Sep 2024 05:58:01 -0400 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:Subject; bh=P8+xJqHJOnEiLIbSPazvjFmCiw0/CgtybLKRT594Iwg=; b=B9+5aOcHv7ZIbYjX1vFYgCtieq+Y+MNk2yK5/lxQ70PbrbOjrg9c7DylUcB3StaranSpri7ZocjuDzFt1cVnadKPoxSqZm3cyNE/sZ7mLihTp/WQytmF9ZRuikpmpxpswLH2kZHRoFwJ0CK4zH6vP423w4x87Kf8OJB4u/tOmYYS1pRKj1IvyvBmv3rpgqc7prwDCIvMQynjhhrAxJ0gkr+k0B1zKotUHu1Uhz1+8PiD7W20jFV47xSxWZiDzlu1kdHn3pr03eX/oPhmAlREWPuRNW8EO0mH9Fhqlh7LYyJ/T01FCx4kz7e5b+XcavaVVGskN8+3p8+KtEFE5gQwbA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sl3pt-0002RF-SQ; Mon, 02 Sep 2024 05:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72957] [PATCH] gnu: Add bin-graph. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, w@wmeyer.eu, guix-patches@gnu.org Resent-Date: Mon, 02 Sep 2024 09:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72957 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72957@debbugs.gnu.org Cc: "Artyom V. Poptsov" , Leo Famulari , Wilko Meyer X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Leo Famulari , Wilko Meyer Received: via spool by submit@debbugs.gnu.org id=B.17252711199291 (code B ref -1); Mon, 02 Sep 2024 09:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Sep 2024 09:58:39 +0000 Received: from localhost ([127.0.0.1]:44532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl3pW-0002Pn-Vw for submit@debbugs.gnu.org; Mon, 02 Sep 2024 05:58:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:42908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sl3pV-0002Pd-9Z for submit@debbugs.gnu.org; Mon, 02 Sep 2024 05:58:37 -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 1sl3oW-00037I-BG for guix-patches@gnu.org; Mon, 02 Sep 2024 05:57:36 -0400 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sl3oU-0003zm-LF for guix-patches@gnu.org; Mon, 02 Sep 2024 05:57:36 -0400 Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2f401c20b48so2498241fa.1 for ; Mon, 02 Sep 2024 02:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725271052; x=1725875852; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=P8+xJqHJOnEiLIbSPazvjFmCiw0/CgtybLKRT594Iwg=; b=cMFX6gPOI5To7gWIcyHb/5GBoe5fGg8MeSelNFfAVzvlsW5z70L4VBkq970a+rR7NQ jzRducjpptC1yddeAeP8cSqf655BfOAgOOF3arQ/YVzIyZUJEX4NOCKX5PrRIB3MyZP0 OMKgUwvV3Olyw3Q5Dbuibci29SIXtAZUzMFxkEF1QctUyvo5dypErz6u1SW19Gru/Nkk ligcdmSRm99YLNb/LVnDtTyb5K3GJc31yA7FPY7iPHMhPo2rHbgunRmgA14PPalrzX5+ dF/Zgge87ucmqwGPDfLlM/g589pv20Y3JFvY9Fdox8SB6mCTOWHjr6BYeri8FDtaNz39 G/wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725271052; x=1725875852; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P8+xJqHJOnEiLIbSPazvjFmCiw0/CgtybLKRT594Iwg=; b=QQdYB0vm0QlajbxOhpoE6jRO1Y62dyg4Ex0zVuNHE1PKfDTGoFp+H962FxnGMzPbrZ jk2+HupuvJj+I9F2Epi6fDlQN26PlFxh9lBmaSt5SBflgTcyHsoyEct72ZKtkRV8b/lp oIYUdHwgbhxrXOv35LBP/17pe4LnvdhqYwH6fGdmyiw93+/Q8tmk5YTH7vQdsL8NCbEa vpQ8lUK6FmtNkvLkfXW9M9WlUS7ySHuj0LVlH0K1XSORh4xzWQ4G0Pu832ZArxTVQrGs gugutfiqT3YfWUkDGHl+ywz72wM2QS8iaPNU7dEEKHqzQo9BzJGKDGIxoqhuWxwAwafl znOQ== X-Gm-Message-State: AOJu0YwsSTCfnD5wTw9qJ/4mf85Wov472tlIMUUTF4yaBiKTCCTKUfoR 9iar9uOw9buFgzpN+CqokFUSB3MFSDXuIYGJKjB9xBqmKRGkyJiItfJQAw== X-Google-Smtp-Source: AGHT+IHzXZhVOBL9K+9MSEUsENvHbEBz2hG7tLcDsBcypgCVgdnCbUVuYTELFeY9XqR8eB95LuyfQw== X-Received: by 2002:a2e:a544:0:b0:2ef:2346:9135 with SMTP id 38308e7fff4ca-2f61e0defafmr38473751fa.9.1725271051379; Mon, 02 Sep 2024 02:57:31 -0700 (PDT) Received: from elephant.. ([5.164.196.227]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2f615181d71sm16081501fa.102.2024.09.02.02.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2024 02:57:30 -0700 (PDT) From: "Artyom V. Poptsov" Date: Mon, 2 Sep 2024 12:57:27 +0300 Message-ID: <1441b8dd251c1fe66966d807a6f663ca2700f9c6.1725271047.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x22a.google.com 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, 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (bin-graph): New variable. Change-Id: I7405cbc00e038d024d035fb100473352c9a7b59d --- gnu/packages/linux.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) base-commit: a977900d76b7585c401222a3ce8bbb82e5f6da45 diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 318c6ccf13..38f3d6fc2f 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1776,6 +1776,43 @@ (define-public bbswitch-module graphics card on Optimus laptops.") (license license:gpl2)))) +(define-public bin-graph + ;; XXX: The upstream does not have tags yet. + (let ((commit "1dd42e3e8e123e993d6c287967502c8d4b36f9ba") + (revision "0")) + (package + (name "bin-graph") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/8dcc/bin-graph") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wjkl789r7iys3nnyk813gsdxwwy2ryxgxirx5xw02lzk790dywl")))) + (arguments + (list #:tests? #f ; no tests + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda _ + (install-file "bin-graph" + (string-append #$output "/bin"))))))) + (build-system gnu-build-system) + (inputs (list libpng)) + (home-page "https://github.com/8dcc/bin-graph") + (synopsis "Visualize binary files") + (description + "@code{bin-graph} provides a simple way of visualizing the different regions +of a binary file.") + (license license:gpl3)))) + (define-public ddcci-driver-linux (package (name "ddcci-driver-linux")