From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 31 06:12:42 2024 Received: (at submit) by debbugs.gnu.org; 31 Jul 2024 10:12:42 +0000 Received: from localhost ([127.0.0.1]:49211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ6K2-0003US-8N for submit@debbugs.gnu.org; Wed, 31 Jul 2024 06:12:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:47580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ6K0-0003UK-EI for submit@debbugs.gnu.org; Wed, 31 Jul 2024 06:12:41 -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 1sZ6Jk-0006J7-Q4 for guix-patches@gnu.org; Wed, 31 Jul 2024 06:12:24 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sZ6Ji-0003UZ-JK for guix-patches@gnu.org; Wed, 31 Jul 2024 06:12:24 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4353A40F18; Wed, 31 Jul 2024 12:12:19 +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 y3yiUrPwSZds; Wed, 31 Jul 2024 12:12:18 +0200 (CEST) From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1722420738; bh=vqOTkT0p0DfnhvrsdwmAUc9/9nm5gAEd1vBL5UoPrD8=; h=From:To:Cc:Subject:Date; b=Yu/eU80wpvg8YDJEOm4RV71wCHwSl4QqySZ18MzxxQwyrGsglBLIapVo/mevTu2MA BAef4klV9m1Er5QSzo6JMPVB3p/ZwSf1sXdun8ZKO0DmuiA51I5XdXEwB/ZHt96GFe qFBeqCpuX4qqDHzZmGOPq0thiMscZ5ct7kMyRbkvGcJ6h+NgNHrs6+moQ0uMHBmG/S a5g6A9IcH0nf5+9LrofI4PoORkO5rZZsLm//zTg6io7kDUKakEobZO+6KgECc6ye+M 9PLjAKkRHWaUgDfP/s2XKzjHRRDrLJ4Xl/62sm6JUnPYbWW0ZuTPCE/y7aMqOq8UrN N7LrVe+6lcf7A== To: guix-patches@gnu.org Subject: [PATCH 0/2] gnu: Add zydis. Date: Wed, 31 Jul 2024 19:12:03 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=mcsinyx@disroot.org; helo=layka.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Zydis is a library for x86 and amd64 disassembly and decoding. My goal is to package E9Patch (amd64 binary patching tool) which depends on it but upstream needs a bit of clean up. Nguyễn Gia Phong (2): gnu: Add zycore. gnu: Add zydis. gnu/packages/engineering.scm | 55 ++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) base-commit: f59c4126827af3d2041d49f1d0a8ce12b41470cf -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 31 06:15:32 2024 Received: (at 72396) by debbugs.gnu.org; 31 Jul 2024 10:15:32 +0000 Received: from localhost ([127.0.0.1]:49223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ6Mm-0003a1-Dr for submit@debbugs.gnu.org; Wed, 31 Jul 2024 06:15:32 -0400 Received: from layka.disroot.org ([178.21.23.139]:39534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ6Mj-0003Zr-Lt for 72396@debbugs.gnu.org; Wed, 31 Jul 2024 06:15:30 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id CB5AE4118D; Wed, 31 Jul 2024 12:15:13 +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 ZtKei81TDU1e; Wed, 31 Jul 2024 12:15:12 +0200 (CEST) From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1722420912; bh=8RMR4v1nwIO/vnRQ0A0Zqy8qQr+hRoehQDVmHqrbZ9U=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QI/kHAmYOI5U8h65joN8ZIu1rgrNIUPT/sI4qlB3lPbhcARsBHrNU0ul6ZHEDdxcc AWzK7ygnmZvK4xujnKaIXA/vxkyK0byZx4e7D5SxapjOA8IH7EoZCBLce2o28Lk8kv QN3mrYRBFzXf4V/hHP4hWsNzW2wAAJ9XUsf5YOw0Z37ZW1L6WW9V4MmMwM3okMWFjB gmM1TQRqBbXrM82yK7Bq8JRXyPxcW4MqZpvHgJFTmqupuvft+uxsuG9ubKwiLa0JmW ILNahgRvr9tiz1VYNP44SVntV1TnH1ZhJY2vwECMgQSzjAHU/AnjWLaGtT/JGfpyJT p/Jhh5lKfqO3g== To: 72396@debbugs.gnu.org Subject: [PATCH 1/2] gnu: Add zycore. Date: Wed, 31 Jul 2024 19:14:34 +0900 Message-ID: <254535bd95290fdd6aca4bb5eb1b2e17330a91e3.1722420324.git.mcsinyx@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72396 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/engineering.scm (zycore): New variable. Change-Id: Ia38413f43bc667a9a12916d3f0e786e06f6d358f --- gnu/packages/engineering.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index f411d4ac1ed6..b6ae19101b42 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -40,6 +40,7 @@ ;;; Copyright © 2023 Sharlatan Hellseher ;;; Copyright © 2023 pinoaffe ;;; Copyright © 2024 Juliana Sims +;;; Copyright © 2024 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; @@ -1926,6 +1927,29 @@ (define-public radare2 it suitable for security research and analysis.") (license license:lgpl3))) +(define-public zycore + (package + (name "zycore") + (version "1.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zyantific/zycore-c") + (commit (string-append "v" version)))) + (sha256 + (base32 "0s962pkqybh1xbs75y4jb4bqc9qnq0sviqd570mirqdhhq87agib")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (native-inputs (list googletest)) + (arguments `(#:configure-flags '("-DZYCORE_BUILD_SHARED_LIBS=ON" + "-DZYCORE_BUILD_TESTS=ON"))) + (home-page "https://github.com/zyantific/zycore-c") + (synopsis "Internal library for Zydis.") + (description + "This package provides platfrom-independent types, macros +and a fallback for environments without libc for Zydis.") + (license license:expat))) + (define-public asco (package (name "asco") -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 31 06:15:40 2024 Received: (at 72396) by debbugs.gnu.org; 31 Jul 2024 10:15:40 +0000 Received: from localhost ([127.0.0.1]:49226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ6Mt-0003aL-Pc for submit@debbugs.gnu.org; Wed, 31 Jul 2024 06:15:40 -0400 Received: from layka.disroot.org ([178.21.23.139]:36484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZ6Mr-0003aC-8B for 72396@debbugs.gnu.org; Wed, 31 Jul 2024 06:15:37 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3B99841175; Wed, 31 Jul 2024 12:15:20 +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 70lL560DXS4v; Wed, 31 Jul 2024 12:15:19 +0200 (CEST) From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1722420919; bh=7e+r6e21pQHfhu2it0oA+NpgkwneMbc4swQYyktJdgg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=HiCurtmo7saWnWKWdEhwVRY12k8R5o0NoZoe0n3c9pJDiKBBlZJ73diTvp2WO/VQ+ z5HLj422ejgrCnxE74DAU2yRGlakfivEZPWPgFpSb9Bk9uR4dOUUXwMN4+jdixBGSE olFpYnCV1TIHBaXaxUCxzsAQ851/f+nkWao0H6oEufu/MDSFIUQiCuhjICHV/D69VU f5qArp4Svs/D7j+CuEOli9/u+GkarMYO4mu5r8D3DRS7peI4UkES97E/RzaNdIqRGC 3XPEuh9ZVujrDTy863+t7d7A7ZWM56kEZgc3D8Ee5OiMxToeJUh2TdYWnvOd3ZbpS9 kolvwIcpDyHXQ== To: 72396@debbugs.gnu.org Subject: [PATCH 2/2] gnu: Add zydis. Date: Wed, 31 Jul 2024 19:14:36 +0900 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72396 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/engineering.scm (zydis): New variable. Change-Id: I6e0b04e1d957f8c172e81177f6669415beeaf20a --- gnu/packages/engineering.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index b6ae19101b42..4eb0e6cb6b9a 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1950,6 +1950,37 @@ (define-public zycore and a fallback for environments without libc for Zydis.") (license license:expat))) +(define-public zydis + (package + (name "zydis") + (version "4.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zyantific/zydis") + (commit (string-append "v" version)))) + (sha256 + (base32 "15iw6wcg2van8pw54xs15zk5cniqm8d8vbd1w1br9azv8jxsqjva")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments `(#:configure-flags '("-DZYAN_SYSTEM_ZYCORE=ON" + "-DZYDIS_BUILD_SHARED_LIB=ON" + "-DZYDIS_BUILD_MAN=ON"))) + (native-inputs (list python ronn-ng)) + (inputs (list zycore)) + (home-page "https://zydis.re") + (synopsis "Disassembler and code generation library for x86 and AMD64") + (description + "Zydis is a decoder and disassembler library with the following features: +@itemize +@item Support for all x86 and AMD64 instructions and extensions +@item Optimization for high performance +@item No dynamic memory allocation +@item Thread-safe by design +@item Smaller file-size overhead compared to other common disassembler libraries +@end itemize") + (license license:expat))) + (define-public asco (package (name "asco") -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 15 10:20:11 2024 Received: (at 72396) by debbugs.gnu.org; 15 Aug 2024 14:20:11 +0000 Received: from localhost ([127.0.0.1]:49482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sebKk-0007WF-Vd for submit@debbugs.gnu.org; Thu, 15 Aug 2024 10:20:11 -0400 Received: from 7.mo576.mail-out.ovh.net ([46.105.50.32]:38865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sebKh-0007W4-Lp for 72396@debbugs.gnu.org; Thu, 15 Aug 2024 10:20:09 -0400 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.176.51]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Wl6h12xH4z1nNW for <72396@debbugs.gnu.org>; Thu, 15 Aug 2024 14:19:29 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-5z7mk (unknown [10.110.101.145]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D8FEB1FD63; Thu, 15 Aug 2024 14:19:28 +0000 (UTC) Received: from ngraves.fr ([37.59.142.107]) by ghost-submission-6684bf9d7b-5z7mk with ESMTPSA id icgZMnAOvmZglhYADTvHUQ (envelope-from ); Thu, 15 Aug 2024 14:19:28 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-107S0012ae53efe-1c04-4568-832d-12ce8004e477, F32C19C47665EA1857B9600CE3BE07B773229FBC) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 From: Nicolas Graves To: 72396@debbugs.gnu.org Subject: Re: [bug#72396] [PATCH 1/2] gnu: Add zycore. In-Reply-To: <254535bd95290fdd6aca4bb5eb1b2e17330a91e3.1722420324.git.mcsinyx@disroot.org> References: <254535bd95290fdd6aca4bb5eb1b2e17330a91e3.1722420324.git.mcsinyx@disroot.org> Date: Thu, 15 Aug 2024 16:19:28 +0200 Message-ID: <87sev5eumn.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 1040612992306963012 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddruddtiedgjeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufgjfhffkfggtgfgsehtqhertddttdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepffduleekjeevteelueffjeefffethffhffeutdettefhleeuleevffejvdfftdffnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugeeirddvtdekpdefjedrheelrddugedvrddutdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejvdefleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=cyascBMz0gXOdvDKyhx/IDV8H/HeOYmTaoFFMLNe688=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1723731569; v=1; b=Hmziu5WdZAUqr6pMBgdFGvDjUA6gBCInE126jJjDHlZOR7UjH8y99y9m1DHZ13hw3GSv5Icv S6R0BRZcQPoSfmRldnB/0KXf3GYEO1pU5VrnPtabUkDl0cWD6X1+xpLx+t/524ver8g90K3fwcb gUjbd40XqVssLH15CdZChM9jn2T7Lmw4lHpE0kQycnxSEjR1i9DAVFhS4Sc/vlFEAN2GGxDCIbR ZwkReoLlB72CreV030z+i6bfXyeTOEuzjVDgfE1dbxBrfCaeUO1pPaJkwA0ioYN9EoTlaH/gXEn /BtCGIyZcTGg1xwWxSQkAXQRJ7gmN740rpdN17rfiE0kQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72396 Cc: =?utf-8?Q?Nguy=E1=BB=85n?= Gia Phong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2024-07-31 19:14, guix-patches--- via wrote: > * gnu/packages/engineering.scm (zycore): New variable. > > + (synopsis "Internal library for Zydis.") Hi Nguy=E1=BB=85n Gia Phong, A minor nitpick: zycore@1.5.0: no period allowed at the end of the synopsis Checking `guix lint` would have told you ;) Otherwise LGTM, built and rebuilt deterministically. --=20 Best regards, Nicolas Graves From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 17 22:27:21 2024 Received: (at 72396) by debbugs.gnu.org; 18 Aug 2024 02:27:21 +0000 Received: from localhost ([127.0.0.1]:55151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfVdZ-0004lA-16 for submit@debbugs.gnu.org; Sat, 17 Aug 2024 22:27:21 -0400 Received: from layka.disroot.org ([178.21.23.139]:39482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfVdX-0004kr-8R for 72396@debbugs.gnu.org; Sat, 17 Aug 2024 22:27:19 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 012AD41AB8; Sun, 18 Aug 2024 04:26:39 +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 6eLYcpiEYPAU; Sun, 18 Aug 2024 04:26:38 +0200 (CEST) From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1723947997; bh=a2qP1rX4/1KRm6ZW/Axgx9NUKHA6/7G2wnSfGh5qbS0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kKIzQUl5k5cXnVVuW+O3sXTAffQNAdOUNrkg25xdzYiUZk4jihm+jIEE+uWmWB2jh hfZun03//2PA/79GpB+p7cKAvYqktIVcMDDyom8g9R6n9ciE0grLZ48GS692nhezio GPLXhLtra9sjzhQo9Omno+Gc/P0JyP4VHY4uO9pVXfjLUOW/LdQH6scARE/GEunH+E 2GrFtyhVh2lq1YehHz+oKHwvqjFwC/JDps8uGVBBhaa/rCaUSy03geNaHrrtFWOa8i KVprNKPXFBoXvS4ltNm4clJHC6k4FzKeb3E0w+2jPpjpshQzNRUbiVket0SA2nAhOU +rcTDqZG4H+cA== To: 72396@debbugs.gnu.org Subject: [PATCH v2 2/2] gnu: Add zydis. Date: Sun, 18 Aug 2024 11:23:00 +0900 Message-ID: <6c2035f759a89750900eafc23f7ab943649d8e28.1723947780.git.mcsinyx@disroot.org> In-Reply-To: <64a3c8b8813df7ab161a485080cd04c75ce70022.1723947780.git.mcsinyx@disroot.org> References: <64a3c8b8813df7ab161a485080cd04c75ce70022.1723947780.git.mcsinyx@disroot.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72396 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/engineering.scm (zydis): New variable. Change-Id: I6e0b04e1d957f8c172e81177f6669415beeaf20a --- This patch is identical to the one in v1. gnu/packages/engineering.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 24dc4f0197c7..fba30809e18b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1951,6 +1951,37 @@ (define-public zycore and a fallback for environments without libc for Zydis.") (license license:expat))) +(define-public zydis + (package + (name "zydis") + (version "4.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zyantific/zydis") + (commit (string-append "v" version)))) + (sha256 + (base32 "15iw6wcg2van8pw54xs15zk5cniqm8d8vbd1w1br9azv8jxsqjva")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments `(#:configure-flags '("-DZYAN_SYSTEM_ZYCORE=ON" + "-DZYDIS_BUILD_SHARED_LIB=ON" + "-DZYDIS_BUILD_MAN=ON"))) + (native-inputs (list python ronn-ng)) + (inputs (list zycore)) + (home-page "https://zydis.re") + (synopsis "Disassembler and code generation library for x86 and AMD64") + (description + "Zydis is a decoder and disassembler library with the following features: +@itemize +@item Support for all x86 and AMD64 instructions and extensions +@item Optimization for high performance +@item No dynamic memory allocation +@item Thread-safe by design +@item Smaller file-size overhead compared to other common disassembler libraries +@end itemize") + (license license:expat))) + (define-public asco (package (name "asco") -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 17 22:27:21 2024 Received: (at 72396) by debbugs.gnu.org; 18 Aug 2024 02:27:21 +0000 Received: from localhost ([127.0.0.1]:55153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfVdZ-0004lE-Eg for submit@debbugs.gnu.org; Sat, 17 Aug 2024 22:27:21 -0400 Received: from layka.disroot.org ([178.21.23.139]:56192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfVdT-0004kX-G3 for 72396@debbugs.gnu.org; Sat, 17 Aug 2024 22:27:20 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 39BE541AB2; Sun, 18 Aug 2024 04:26:34 +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 dVDOQpO5yrTN; Sun, 18 Aug 2024 04:26:33 +0200 (CEST) From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1723947993; bh=rPtDK+vhVOdwQefdBBOkcLw9M/ymT5oS2F4NNdp5zI4=; h=From:To:Cc:Subject:Date; b=mcWH9yY+YuVrGE2XmEkyHsXxjAI+75ZWdIgCv5qnvj5WES++fldXtkHaWOiIRh9ee yTJY51BKJckMpfsOCY2sKce5cjlvrBpyUj3KGmpRv/9tTZLj8gNyv7dEKY2RMHLBuZ wGv5OA0PtG1h+OTeCRWswLXNeEU30fWS41D8GWf41jakokDcqQVFcF/b8i2jmLlfzh n+4bDnSNGDEsIPtMMW/JqV14ZMoLelGjxa9VS3W2ZcFptC7obnpR5WVQTmFGXIfzr5 l5yEcJZYu/D38KgSajjHpTMpes1vbHFZDhMN8aU43ZaJuogja1IneJ/zKbdPNCmYZY 1y7W8GmTWJWNA== To: 72396@debbugs.gnu.org Subject: [PATCH v2 1/2] gnu: Add zycore. Date: Sun, 18 Aug 2024 11:22:59 +0900 Message-ID: <64a3c8b8813df7ab161a485080cd04c75ce70022.1723947780.git.mcsinyx@disroot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72396 Cc: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/engineering.scm (zycore): New variable. Change-Id: Ia38413f43bc667a9a12916d3f0e786e06f6d358f --- On 2024-08-15 at 16:19+02:00, Nicolas Graves wrote: > On 2024-07-31 19:14, Nguyễn Gia Phong via wrote: > > > * gnu/packages/engineering.scm (zycore): New variable. > > > > + (synopsis "Internal library for Zydis.") > A minor nitpick: > zycore@1.5.0: no period allowed at the end of the synopsis > > Checking `guix lint` would have told you ;) > > Otherwise LGTM, built and rebuilt deterministically. Thanks, this revision fixes that. I cannot get guix lint to tell that to me however (I ran `./pre-inst-env guix lint zycore`). gnu/packages/engineering.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 7a9c0bc436f7..24dc4f0197c7 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -40,6 +40,7 @@ ;;; Copyright © 2023 Sharlatan Hellseher ;;; Copyright © 2023 pinoaffe ;;; Copyright © 2024 Juliana Sims +;;; Copyright © 2024 Nguyễn Gia Phong ;;; ;;; This file is part of GNU Guix. ;;; @@ -1927,6 +1928,29 @@ (define-public radare2 it suitable for security research and analysis.") (license license:lgpl3))) +(define-public zycore + (package + (name "zycore") + (version "1.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zyantific/zycore-c") + (commit (string-append "v" version)))) + (sha256 + (base32 "0s962pkqybh1xbs75y4jb4bqc9qnq0sviqd570mirqdhhq87agib")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (native-inputs (list googletest)) + (arguments `(#:configure-flags '("-DZYCORE_BUILD_SHARED_LIBS=ON" + "-DZYCORE_BUILD_TESTS=ON"))) + (home-page "https://github.com/zyantific/zycore-c") + (synopsis "Internal library for Zydis") + (description + "This package provides platfrom-independent types, macros +and a fallback for environments without libc for Zydis.") + (license license:expat))) + (define-public asco (package (name "asco") base-commit: 41c44ffd5659d13f5c1edb78d92ad27275ead78a -- 2.45.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 19 02:18:37 2024 Received: (at submit) by debbugs.gnu.org; 19 Aug 2024 06:18:37 +0000 Received: from localhost ([127.0.0.1]:57497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfviu-0000t9-Uf for submit@debbugs.gnu.org; Mon, 19 Aug 2024 02:18:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:57044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfvit-0000t1-8k for submit@debbugs.gnu.org; Mon, 19 Aug 2024 02:18:35 -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 1sfviD-0008Ny-Lh for guix-patches@gnu.org; Mon, 19 Aug 2024 02:17:53 -0400 Received: from smtp81.cstnet.cn ([159.226.251.81] helo=cstnet.cn) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1sfviA-0002Yc-Ve for guix-patches@gnu.org; Mon, 19 Aug 2024 02:17:53 -0400 Received: from m (unknown [107.174.64.25]) by APP-03 (Coremail) with SMTP id rQCowADX30eA48JmCHMJCA--.3368S2; Mon, 19 Aug 2024 14:17:40 +0800 (CST) From: Zheng Junjie To: guix-patches--- via Subject: Re: [bug#72396] [PATCH v2 1/2] gnu: Add zycore. In-Reply-To: <64a3c8b8813df7ab161a485080cd04c75ce70022.1723947780.git.mcsinyx@disroot.org> (guix-patches@gnu.org's message of "Sun, 18 Aug 2024 11:22:59 +0900") References: <64a3c8b8813df7ab161a485080cd04c75ce70022.1723947780.git.mcsinyx@disroot.org> Date: Mon, 19 Aug 2024 14:17:33 +0800 Message-ID: <87sev1aveq.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-CM-TRANSID: rQCowADX30eA48JmCHMJCA--.3368S2 X-Coremail-Antispam: 1UD129KBjvJXoWxGr1fXw1fAFyUuw1Duw17ZFb_yoW5GFW3pr WFg3WakFyvgw4IkwsxZ3WUKw4Yq3yfGr1Uuas3Zw4UKF4qgFyxGrWjyF45WF17Ar40yw43 ZFWa93ZxuFyDJaDanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvGb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Xr0_Ar1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwV C2z280aVCY1x0267AKxVWxJr0_GcWlnx0Ee4C267I2x7xF54xIwI0E7I0Y6sxI4wAS0I0E 0xvYzxvE52x082IY62kv0487M2AExVA0xI801c8C04v7Mc02F40EFcxC0VAKzVAqx4xG6I 80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCj c4AY6r1j6r4UM4x0Y48IcVAKI48JMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r 1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CE b7AF67AKxVWUXVWUAwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0x vE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAI cVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa 73UjIFyTuYvjxUh_OzDUUUU X-Originating-IP: [107.174.64.25] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ Received-SPF: pass client-ip=159.226.251.81; envelope-from=zhengjunjie@iscas.ac.cn; helo=cstnet.cn X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 72396-done@debbugs.gnu.org, =?utf-8?Q?Nguy=E1=BB=85n?= Gia Phong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable guix-patches--- via writes: > * gnu/packages/engineering.scm (zycore): New variable. > > Change-Id: Ia38413f43bc667a9a12916d3f0e786e06f6d358f > --- > On 2024-08-15 at 16:19+02:00, Nicolas Graves wrote: >> On 2024-07-31 19:14, Nguy=E1=BB=85n Gia Phong via wrote: >> >> > * gnu/packages/engineering.scm (zycore): New variable. >> > >> > + (synopsis "Internal library for Zydis.") >> A minor nitpick: >> zycore@1.5.0: no period allowed at the end of the synopsis >> >> Checking `guix lint` would have told you ;) >> >> Otherwise LGTM, built and rebuilt deterministically. > > Thanks, this revision fixes that. > > I cannot get guix lint to tell that to me however > (I ran `./pre-inst-env guix lint zycore`). > > gnu/packages/engineering.scm | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm > index 7a9c0bc436f7..24dc4f0197c7 100644 > --- a/gnu/packages/engineering.scm > +++ b/gnu/packages/engineering.scm > @@ -40,6 +40,7 @@ > ;;; Copyright =C2=A9 2023 Sharlatan Hellseher > ;;; Copyright =C2=A9 2023 pinoaffe > ;;; Copyright =C2=A9 2024 Juliana Sims > +;;; Copyright =C2=A9 2024 Nguy=E1=BB=85n Gia Phong > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -1927,6 +1928,29 @@ (define-public radare2 > it suitable for security research and analysis.") > (license license:lgpl3))) >=20=20 > +(define-public zycore > + (package > + (name "zycore") > + (version "1.5.0") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/zyantific/zycore-c") > + (commit (string-append "v" version)))) > + (sha256 > + (base32 "0s962pkqybh1xbs75y4jb4bqc9qnq0sviqd570mirqdhhq87= agib")) > + (file-name (git-file-name name version)))) i move file-name before sha256. > + (build-system cmake-build-system) > + (native-inputs (list googletest)) > + (arguments `(#:configure-flags '("-DZYCORE_BUILD_SHARED_LIBS=3DON" is ZYCORE_BUILD_SHARED_LIB=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > + "-DZYCORE_BUILD_TESTS=3DON"))) =20 i adjust to use gexp, and disable ZYCORE_BUILD_TESTS on cross-compilation. > + (home-page "https://github.com/zyantific/zycore-c") > + (synopsis "Internal library for Zydis") > + (description > + "This package provides platfrom-independent types, macros > +and a fallback for environments without libc for Zydis.") > + (license license:expat))) > + > (define-public asco > (package > (name "asco") > > base-commit: 41c44ffd5659d13f5c1edb78d92ad27275ead78a --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmbC430ACgkQO1qpk+Gi 3/BN3hAAuHDTHrbl3mTrljiLEKulOyIAgqMa15a4/wvByM2cvd0dzeWxsPEx4DvZ iV1sIb6xiVRaAPglx9NLaoIDhvGCd0I2SdUvCV7sFl6zCrZmiQx9aXzhqpTL/7dm ATiTQ6yu1E1RQJfad/cY4n57gI37hzUFjivBNqgDj+eJUOJCs5amg1ZRO8Qm+hkS K/yvHWfQ+puuvyPZ9fCXMh1JrGz6RqcSKLyu/LzR/fydd6ZPH2qnfZc819Uahaq+ q2Z99sb0FiruG6nb5MTUAop4tIHCtuLf5S6hDokWRaf+OpY7soZNZs7vO2QRZlec WLZlUOtn6/l723GqLAU+wXpngwF7o5Pfq3jijiC1VD63Bt8An43B595tJWOJD7tB Fi87mRDp9qExfE4lpugFBAwM0hv7hqUZ0d8SZUUAlaUHmIWIc9r+fdWvENSicipq CR3k9rmrfEvOdtfCWO/Fb5fUVXjiAxj/Axd7b5pL0hCqTCKa2AzPuI6pOmCLGhEd 3t0nPW19wqpCN9a9VvVSAZzJWHy6Bqkd33UARVrb40oIxGjYBzXTSkE04oonnHDD iLehlpurahyUzL0YzBJ/N2kJOjoYIL3GCUVDKMWIz0i4T+Idkneql3HjUlt2g+Wh YFtxMwe9impJG6RF67XeB8FrOyKy4Ip/wYp+qq6HL9g3dHLzL8o= =OEkw -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 19 02:20:05 2024 Received: (at submit) by debbugs.gnu.org; 19 Aug 2024 06:20:05 +0000 Received: from localhost ([127.0.0.1]:57507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfvkL-0000wn-FH for submit@debbugs.gnu.org; Mon, 19 Aug 2024 02:20:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:42578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfvkJ-0000wY-78 for submit@debbugs.gnu.org; Mon, 19 Aug 2024 02:20:03 -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 1sfvjd-0000e3-1R for guix-patches@gnu.org; Mon, 19 Aug 2024 02:19:21 -0400 Received: from smtp81.cstnet.cn ([159.226.251.81] helo=cstnet.cn) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1sfvja-0002f6-Q8 for guix-patches@gnu.org; Mon, 19 Aug 2024 02:19:20 -0400 Received: from m (unknown [107.174.64.25]) by APP-03 (Coremail) with SMTP id rQCowAAnTgHd48JmW4YJCA--.2975S2; Mon, 19 Aug 2024 14:19:13 +0800 (CST) From: Zheng Junjie To: guix-patches--- via Subject: Re: [bug#72396] [PATCH v2 2/2] gnu: Add zydis. In-Reply-To: <6c2035f759a89750900eafc23f7ab943649d8e28.1723947780.git.mcsinyx@disroot.org> (guix-patches@gnu.org's message of "Sun, 18 Aug 2024 11:23:00 +0900") References: <64a3c8b8813df7ab161a485080cd04c75ce70022.1723947780.git.mcsinyx@disroot.org> <6c2035f759a89750900eafc23f7ab943649d8e28.1723947780.git.mcsinyx@disroot.org> Date: Mon, 19 Aug 2024 14:19:04 +0800 Message-ID: <87o75pavc7.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-CM-TRANSID: rQCowAAnTgHd48JmW4YJCA--.2975S2 X-Coremail-Antispam: 1UD129KBjvJXoW7ur4rJFWkArW8ZFykGFyrCrg_yoW8Zry5pr WF9w4Y9r97Gw1Ikw4SgF1DKw15Xrs5Kr45Cwn7Zw1jkF4j9F18XrWxtF4fur17A3yfJw17 WF4xAFW3WFW5GrJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvGb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Xr0_Ar1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwV C2z280aVCY1x0267AKxVWxJr0_GcWlnx0Ee4C267I2x7xF54xIwI0E7I0Y6sxI4wAS0I0E 0xvYzxvE52x082IY62kv0487M2AExVA0xI801c8C04v7Mc02F40EFcxC0VAKzVAqx4xG6I 80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCj c4AY6r1j6r4UM4x0Y48IcVAKI48JMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r 1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CE b7AF67AKxVWUXVWUAwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0x vE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAI cVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa 73UjIFyTuYvjxUh_OzDUUUU X-Originating-IP: [107.174.64.25] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ Received-SPF: pass client-ip=159.226.251.81; envelope-from=zhengjunjie@iscas.ac.cn; helo=cstnet.cn X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 72396@debbugs.gnu.org, =?utf-8?Q?Nguy=E1=BB=85n?= Gia Phong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable guix-patches--- via writes: > * gnu/packages/engineering.scm (zydis): New variable. > > Change-Id: I6e0b04e1d957f8c172e81177f6669415beeaf20a > --- > This patch is identical to the one in v1. > > gnu/packages/engineering.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm > index 24dc4f0197c7..fba30809e18b 100644 > --- a/gnu/packages/engineering.scm > +++ b/gnu/packages/engineering.scm > @@ -1951,6 +1951,37 @@ (define-public zycore > and a fallback for environments without libc for Zydis.") > (license license:expat))) >=20=20 > +(define-public zydis > + (package > + (name "zydis") > + (version "4.1.0") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/zyantific/zydis") > + (commit (string-append "v" version)))) > + (sha256 > + (base32 "15iw6wcg2van8pw54xs15zk5cniqm8d8vbd1w1br9azv8jxs= qjva")) > + (file-name (git-file-name name version)))) move file-name before sha256. > + (build-system cmake-build-system) > + (arguments `(#:configure-flags '("-DZYAN_SYSTEM_ZYCORE=3DON" > + "-DZYDIS_BUILD_SHARED_LIB=3DON" > + "-DZYDIS_BUILD_MAN=3DON"))) use gexp. > + (native-inputs (list python ronn-ng)) > + (inputs (list zycore)) > + (home-page "https://zydis.re") > + (synopsis "Disassembler and code generation library for x86 and AMD6= 4") > + (description > + "Zydis is a decoder and disassembler library with the following fea= tures: > +@itemize > +@item Support for all x86 and AMD64 instructions and extensions > +@item Optimization for high performance > +@item No dynamic memory allocation > +@item Thread-safe by design > +@item Smaller file-size overhead compared to other common disassembler l= ibraries > +@end itemize") > + (license license:expat))) > + > (define-public asco > (package > (name "asco") --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmbC49kACgkQO1qpk+Gi 3/ArNA//fx25AFc9kT23XFrOurjYEBd8GYTTgZSabYTExEIPXb4kigcQFwcorwr/ MEPqP7c0irMAsxEJxXG6UjtUnagU//dQlM1IMd/hBnsn5yItPL611ba5rHnQTpFM /CGJCSBzF2y4ToQgAI+zglWfFqWXJeIPImKeFHFEmXWzVkxszgsJ4JZZ1CSMsVCB bA4/81qty9vJsspuA17tc+5Lhay8fhKZFQDXzohaNZpdq5oF3mqIpJgzawIfhgIC VNgAtN3brJOqO3fxbV0bc5qzHLD86/eRw/akKOe4QDIsWfJRGQFgh2bh2lr4m4Iq V068045/0Ori58NsDsoEzA5/3yuPHf0Z5EA5OlHIcDOqC5Pic19OO8PBxDcnQAFO 4FfL99Ruobau4i6vbZMS92QVfNQYqnCi9RPrYYYjl9X8bxrW8NtCYs9+nKE4hWnp OahhZcUTBrLVRKEdpidoMkrhh/eG9aLZ6HlIG6MdWoosqZNeFLXVznHC5rQQ4jpf YS3z/WQ6Gs1NzkIGfszeXfYgiQuepqCZtZ50LbZr6gPT6MbIuUOw/k49jjN7NNiM a7Pxm8TfKOPOqN/vHMS1QDWa5w2tEg2HwexJYaHi0UsfqWL03qA0t7e2cUfZdaeM 56lADQhdz08FrppG4g9ISfe2M3FhhjLq8mQWHXW30ox0Lx03Ras= =fMXq -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 19 03:55:48 2024 Received: (at 72396) by debbugs.gnu.org; 19 Aug 2024 07:55:48 +0000 Received: from localhost ([127.0.0.1]:57550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfxEx-0003Sq-PY for submit@debbugs.gnu.org; Mon, 19 Aug 2024 03:55:48 -0400 Received: from layka.disroot.org ([178.21.23.139]:37594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfxEv-0003Sb-9r for 72396@debbugs.gnu.org; Mon, 19 Aug 2024 03:55:46 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0B2F141377; Mon, 19 Aug 2024 09:55:02 +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 h2NaWLSunKr8; Mon, 19 Aug 2024 09:55:01 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1724054101; bh=e9jAeJ76EeN0EKhpGOQuXywxQUGWHSLojZbxZAeDbgE=; h=Date:Cc:Subject:To:From:References:In-Reply-To; b=CMaZe4CAc9u5VQ8Ws8zapW0uNIkRGvSt5gtvdF4sNruaG3scX51UFle4w78KVndv6 gSQuhxNyA+QW+CB/Tmr+22/rHeOpi3ulB4t2QXPoPqZVPy2Pgjfy1enqie02JDpIle VunFPcmCnRytVgSR7ijZAeDuvd9oegl0mBx2BLk3AQsiR8Xg8sW782tk1rCIcfJ4Zg fFg6UdPvKpe03bRyAzWMl4pcE8g4IoMkkiTTTJLCupcJeU43DtZ2zjazyyjUKQl2Eb BLijZqDCsz7qbZMag6eiMKJyZBW4ZzGI2CFrMgCsO3G8hJywo0lvlsIqVl62C/gOQa Lqh0w4j8u9LyQ== Content-Type: multipart/signed; boundary=06ad2a3bdb902783d76f1f9832537ec9bc70c8aeec48fd2ce32d48d412a5; micalg=pgp-sha256; protocol="application/pgp-signature" Date: Mon, 19 Aug 2024 16:54:50 +0900 Message-Id: Subject: Re: [bug#72396] [PATCH v2 2/2] gnu: Add zydis. To: "Zheng Junjie" From: =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong?= References: <64a3c8b8813df7ab161a485080cd04c75ce70022.1723947780.git.mcsinyx@disroot.org> <6c2035f759a89750900eafc23f7ab943649d8e28.1723947780.git.mcsinyx@disroot.org> <87o75pavc7.fsf@iscas.ac.cn> In-Reply-To: <87o75pavc7.fsf@iscas.ac.cn> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72396 Cc: 72396@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --06ad2a3bdb902783d76f1f9832537ec9bc70c8aeec48fd2ce32d48d412a5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On 2024-08-19 at 14:17+08:00, Zheng Junjie wrote: > Nguyễn Gia Phong writes: > > + (source (origin > > + (method git-fetch) > > + (uri (git-reference > > + (url "https://github.com/zyantific/zycore-c") > > + (commit (string-append "v" version)))) > > + (sha256 > > + (base32 "0s962pkqybh1xbs75y4jb4bqc9qnq0sviqd570mirqdhhq87agib")) > > + (file-name (git-file-name name version)))) > > i move file-name before sha256. > > Nguyễn Gia Phong writes: > > + (build-system cmake-build-system) > > + (native-inputs (list googletest)) > > + (arguments `(#:configure-flags '("-DZYCORE_BUILD_SHARED_LIBS=ON" > is ZYCORE_BUILD_SHARED_LIB > > + "-DZYCORE_BUILD_TESTS=ON"))) > > i adjust to use gexp, and disable ZYCORE_BUILD_TESTS on cross-compilation. On 2024-08-19 at 14:19+08:00, Zheng Junjie wrote: > Nguyễn Gia Phong writes: > > + (source (origin > > + (method git-fetch) > > + (uri (git-reference > > + (url "https://github.com/zyantific/zydis") > > + (commit (string-append "v" version)))) > > + (sha256 > > + (base32 "15iw6wcg2van8pw54xs15zk5cniqm8d8vbd1w1br9azv8jxsqjva")) > > + (file-name (git-file-name name version)))) > > move file-name before sha256. > > Nguyễn Gia Phong writes: > > + (build-system cmake-build-system) > > + (arguments `(#:configure-flags '("-DZYAN_SYSTEM_ZYCORE=ON" > > + "-DZYDIS_BUILD_SHARED_LIB=ON" > > + "-DZYDIS_BUILD_MAN=ON"))) > > use gexp. Thanks for the nits and application to master! --06ad2a3bdb902783d76f1f9832537ec9bc70c8aeec48fd2ce32d48d412a5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHIBAABCAAyFiEE6Q4RuASTNDthMuOUJxSLLAaiIksFAmbC+k8UHG1jc2lueXhA ZGlzcm9vdC5vcmcACgkQJxSLLAaiIkuqogv9HN6cGTJZ6/MJ/BBghkYWsh7pJofZ QeKdZ9G/Inc02/NLBM6UbhQ/6ixhrgGmml2tlrcg0PKHRhc2bD7TtYkTE4gF/Fdw Qhk79zpSQCloPYr3tMyJsQ6GlyG4lqAC2+7SaK6ROgkVQq1qnyPn2Vi/TsadgMSN RJc35LKhgWwu5dxmrO0uAQGR8q4yO4jyHYk72jCWFkwhti43yE6ugMYv9Jq4veSn 2uGNE9YuRNnizSeBVP2AGDOLVHn9b8Y8bazkMoViuiRzazd+mR82iTLQT4mz92E1 wiJlJO7ow6NHIqrt2rMJssTOwxp3kz2pGz+Hr3MS3ERZoRYddO1aKU4r1jaOOif+ lHilDiDo97HmPrkr+8DegChVtMlkBHoCgvzAuUq5pqk/myDSTDPCsmkRpHC4IPg9 uVSwnszEtdJ25yMl/eeo9imUmAkEty0StIb5uaBmxlNC9HbbxSDUh6lvKWOen9Xp WpA9R/Lk0r0YfAPRlwLWb1iWMi1Tn5xNId1W =A/Gy -----END PGP SIGNATURE----- --06ad2a3bdb902783d76f1f9832537ec9bc70c8aeec48fd2ce32d48d412a5-- From unknown Tue Jun 17 01:46:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 16 Sep 2024 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator