From patchwork Fri Nov 8 12:38:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sisiutl X-Patchwork-Id: 70122 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 40B3C27BBEA; Fri, 8 Nov 2024 12:40:24 +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=-5.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI, PDS_OTHER_BAD_TLD,RCVD_IN_DNSWL_BLOCKED,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 E424D27BBE2 for ; Fri, 8 Nov 2024 12:40:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9OHV-00027u-Oj; Fri, 08 Nov 2024 07:40: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 1t9OHT-00026X-6B for guix-patches@gnu.org; Fri, 08 Nov 2024 07:40: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 1t9OHS-0003g8-JT for guix-patches@gnu.org; Fri, 08 Nov 2024 07:40: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:Subject; bh=gLtt5l7NBLT9PFL4bkw5YZmPWWp4fjipP+cPLNjOb9w=; b=lAZVYw84EEvIGOGefeWTpESz0KNNp8QcZQYTDiZeCeC3wGablDArjZzZq91483X58pxJnaPPJdZdcWmZR1JMqfoz1MEW7ivQldmf+cPhTV1iN6xgOI5kohN4VK/p/d801J/797b09YxxkYey9PP6nhSOKFF/V7vjrsCN3r1vDkBBpcRCtBtTPFnGLyW6Ha9tsZ++l3n64HNaXl/4zlw56ecAcCCz48xOsQ5LIaZ8d70OppcSqlz02+nhlF5wUT7iePLQYL/gm+tT5AfJ/TCdXPKU13vDUbi3kRK1eKjVTnz1FgItJE1Ultt5TtX4JJs8OqpTX9y1XHddWirhpwsf7g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9OHR-0004ZI-VR for guix-patches@gnu.org; Fri, 08 Nov 2024 07:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74257] [PATCH] gnu: Add udis86. Resent-From: Sisiutl Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Nov 2024 12:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74257@debbugs.gnu.org Cc: Sisiutl X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173106955617494 (code B ref -1); Fri, 08 Nov 2024 12:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Nov 2024 12:39:16 +0000 Received: from localhost ([127.0.0.1]:51453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9OGh-0004Y5-WD for submit@debbugs.gnu.org; Fri, 08 Nov 2024 07:39:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:53648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9OGf-0004Xm-KF for submit@debbugs.gnu.org; Fri, 08 Nov 2024 07:39:14 -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 1t9OGR-0001NO-8E for guix-patches@gnu.org; Fri, 08 Nov 2024 07:39:00 -0500 Received: from 2a02-8428-4716-0c01-eecc-61c0-3286-ff35.rev.sfr.net ([2a02:8428:4716:c01:eecc:61c0:3286:ff35] helo=fujo.egregore.fun) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9OGO-0003M0-He for guix-patches@gnu.org; Fri, 08 Nov 2024 07:38:58 -0500 Received: from localhost (2a02-8428-4716-0c01-dc30-b7c8-f222-9af4.rev.sfr.net [IPv6:2a02:8428:4716:c01:dc30:b7c8:f222:9af4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) (Authenticated sender: sisiutl@egregore.fun) by fujo.egregore.fun (Postfix) with ESMTPSA id 6F12B6C363; Fri, 8 Nov 2024 13:38:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=egregore.fun; s=fujo; t=1731069534; bh=gLtt5l7NBLT9PFL4bkw5YZmPWWp4fjipP+cPLNjOb9w=; h=From:To:Cc:Subject:Date; b=BTZaIEOJTNz38YTqUZIsW8UCSojXChNFR9pHVi8M2HYmz878OrA4+EK3ULtNjONyD ZhoxWk/vZuk4TMU9fu9Lr9cexp9F7YvpiQMm8KsRUS5/klHYX9bzKFOdV1AvpSSQxk c8NTM48ZOK3ky/ROr7uNA0IWJrPvSeIATvsBaCic= From: Sisiutl Date: Fri, 8 Nov 2024 13:38:00 +0100 Message-ID: <20241108123845.3185-1-sisiutl@egregore.fun> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a02:8428:4716:c01:eecc:61c0:3286:ff35; envelope-from=sisiutl@egregore.fun; helo=fujo.egregore.fun X-Spam_score_int: 67 X-Spam_score: 6.7 X-Spam_bar: ++++++ X-Spam_report: (6.7 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.999, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_PBL=3.335, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: reject 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/assembly.scm (udis86): New variable. Change-Id: I63dd160b704428536cf1282616a6615658a39e22 --- gnu/packages/assembly.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/assembly.scm b/gnu/packages/assembly.scm index 75cb7de999..3ffd0e8042 100644 --- a/gnu/packages/assembly.scm +++ b/gnu/packages/assembly.scm @@ -787,3 +787,35 @@ (define-public blinkenlights software changes memory. It can emulate statically-linked i8086 and x86_64-pc-linux-gnu programs.") (license license:isc))) + +(define-public udis86 + (let ((commit "5336633af70f3917760a6d441ff02d93477b0c86") + (revision "1")) + (package + (name "udis86") + (version (git-version "1.7.2" revision commit)) + (home-page "http://udis86.sourceforge.net/") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/canihavesomecoffee/udis86.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0y5z1169wff578jylpafsww4px4y6gickhcs885a9c660d8xs9qy")))) + (build-system gnu-build-system) + (native-inputs (list pkg-config + autoconf + automake + libtool + python)) + (arguments + (list #:configure-flags + #~(list "--enable-shared" + (string-append "--with-python=" + #$(file-append python "/bin/python3"))))) + (synopsis "Disassembler Library for x86 and x86-64") + (description "Udis86 is a disassembler for the x86 and x86-64 class of +instruction set architectures.") + (license license:bsd-2))))