From unknown Wed Jun 18 23:13:47 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44176 <44176@debbugs.gnu.org> To: bug#44176 <44176@debbugs.gnu.org> Subject: Status: gnu: Add bash-ctypes Reply-To: bug#44176 <44176@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:13:47 +0000 retitle 44176 gnu: Add bash-ctypes reassign 44176 guix-patches submitter 44176 Zhu Zihao severity 44176 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 09:08:19 2020 Received: (at submit) by debbugs.gnu.org; 23 Oct 2020 13:08:19 +0000 Received: from localhost ([127.0.0.1]:56314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVwnq-0003bH-PL for submit@debbugs.gnu.org; Fri, 23 Oct 2020 09:08:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:45138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVwno-0003b9-H6 for submit@debbugs.gnu.org; Fri, 23 Oct 2020 09:08:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVwno-0003h7-Cg for guix-patches@gnu.org; Fri, 23 Oct 2020 09:08:16 -0400 Received: from mail-m975.mail.163.com ([123.126.97.5]:54002) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kVwng-0007jb-VG for guix-patches@gnu.org; Fri, 23 Oct 2020 09:08:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=RKmTV U1rOttMwHU2LpFACtoDeT95DuatgTxIV2+GCa4=; b=bnlYLFxPZWMu2NBkyZiGy D1FHF8K4HnyclYCtnHB1ljk3+sn9gtRtayn7ZP9n3SW4dG0ccLnh8c+7DiiFnpoY bGUQXl7HtS/tzLCvqTZa5PZt5Y/Rf2rovvta2BoeQ+B0hG43eCM5CZ5M1SD9R1nt GfL4GeIamxF4BmSSMzUsgk= Received: from asus-laptop (unknown [27.39.88.45]) by smtp5 (Coremail) with SMTP id HdxpCgDHwAIY0pJfGpJFAQ--.27302S2; Fri, 23 Oct 2020 20:52:41 +0800 (CST) User-agent: mu4e 1.4.13; emacs 27.1 From: Zhu Zihao To: guix-patches@gnu.org Subject: gnu: Add bash-ctypes Date: Fri, 23 Oct 2020 20:52:37 +0800 Message-ID: <86wnzhm7e2.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: HdxpCgDHwAIY0pJfGpJFAQ--.27302S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxU-NtxDUUUU X-Originating-IP: [27.39.88.45] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbCChHGr12MYdDPAwAAse Received-SPF: pass client-ip=123.126.97.5; envelope-from=all_but_last@163.com; helo=mail-m975.mail.163.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/23 08:52:45 X-ACL-Warn: Detected OS = Linux 3.1-3.10 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit 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: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEE7NCVzXX6efyusptG1SOVn+xGFqYFAl+S0hUVHGFsbF9idXRf bGFzdEAxNjMuY29tAAoJENUjlZ/sRhamAqcH/0sx9CDr6hiyKX/nAfhoBHBxRjCx +yrQqJj/XblPHYz+8GVnSbBctPuDVNDThg4FXOsNgU/oirJPyshd7uKAh+nBwZiT FhfthqzMs/FPayO9MFKxWrKziHq5pgGVF9ZBw37JJ2JSlnkFGuxqxxldvyfnZu5H PWYfMcg9w0KnuIkVDBnNO9tdDgzVcp49DSYLgdJO+VmPMm0bidgl+UbjrxJKnQ4E 0Wj1qyasYlItXfHhW92prBe908uaPiIxmUBkZHxBo/UivE832uUhb8xKmV6H4nmD hyb18FfsWRj1tKR1pVgQOf4JrvL6CDmHFU3bITz2A6V0nWRzxMga3HRIvJ0= =MSfD -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-bash-ctypes.patch >From 5a85c09398cfe96ba244eac7dec45366a139188e Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 23 Oct 2020 20:47:04 +0800 Subject: [PATCH] gnu: Add bash-ctypes * gnu/packages/bash.scm(bash-ctypes): New variable. --- gnu/packages/bash.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index 47ca625d9a..356d0f82d6 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -26,6 +26,7 @@ #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages bootstrap) + #:use-module (gnu packages elf) #:use-module (gnu packages ncurses) #:use-module (gnu packages readline) #:use-module (gnu packages bison) @@ -415,3 +416,25 @@ framework for Bash. It provides a simple way to verify that the UNIX programs you write behave as expected. Bats is most useful when testing software written in Bash, but you can use it to test any UNIX program.") (license expat))) + +(define-public bash-ctypes + (package + (name "bash-ctypes") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/taviso/ctypes.sh/releases/download/" + version "/ctypes-sh-" version ".tar.gz")) + (sha256 + (base32 "0s1sifqzqmr0dnciv06yqrpzgj11d7n0gy5zaxh6b3x8bx7k75l8")))) + (build-system gnu-build-system) + (inputs + `(("libelf" ,libelf) + ("elfutils" ,elfutils))) + (home-page "https://github.com/taviso/ctypes.sh") + (synopsis "FFI for Bash") + (description "Bash-ctypes is a bash plugin that provides a foreign function +interface directly in your shell. In other words, it allows you to call routines +in shared libraries from within bash.") + (license expat))) -- 2.28.0 --=-=-= Content-Type: text/plain -- Retrieve my public GPG key: https://meta.sr.ht/~citreu.pgp Zihao --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 09:19:41 2020 Received: (at 44176) by debbugs.gnu.org; 23 Oct 2020 13:19:42 +0000 Received: from localhost ([127.0.0.1]:56345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVwyr-0003vV-IE for submit@debbugs.gnu.org; Fri, 23 Oct 2020 09:19:41 -0400 Received: from mail-m973.mail.163.com ([123.126.97.3]:60206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVwyo-0003vC-AH for 44176@debbugs.gnu.org; Fri, 23 Oct 2020 09:19:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=sZAyd swDBnrlQ1hLJ63oT8XOx/ULAP01H73kEvHcPmM=; b=d6P/lWrDjb72sPIzjgeUx H4rDT2/AnYlRfBk/TPSvY0EHN0uRAFLYhWJertThwCMNEoxW4gZ8yHqlrCW+coRQ XBsQNdzVRnr0Mpn30mGOqDpXJlzJix7zNvLwcp4gMQWT+Mgpg94OzJZ5nDslUyMU +YBxuB9kguurCiQbgEBLi0= Received: from asus-laptop (unknown [27.39.88.45]) by smtp3 (Coremail) with SMTP id G9xpCgDX6uBh2JJfvfjTIQ--.18307S2; Fri, 23 Oct 2020 21:19:29 +0800 (CST) References: <86wnzhm7e2.fsf@163.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Zhu Zihao To: 44176@debbugs.gnu.org Subject: Re: bug#44176: Acknowledgement (gnu: Add bash-ctypes) In-reply-to: Date: Fri, 23 Oct 2020 21:19:28 +0800 Message-ID: <86mu0dm65b.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: G9xpCgDX6uBh2JJfvfjTIQ--.18307S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUj7KVUUUUU X-Originating-IP: [27.39.88.45] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbCCgjGr12MYdEMxAABsD X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44176 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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Patches updated here. --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEE7NCVzXX6efyusptG1SOVn+xGFqYFAl+S2GAVHGFsbF9idXRf bGFzdEAxNjMuY29tAAoJENUjlZ/sRhamugkH+gPmItv1KOHuPB4/DntB4/cHFY/F qRQbeCioUSL6cXa2KMS5FlvW0K/qThVI2ocP4DT11WAEDKma0cnsyST0VlF0E8ga Z0Kb6F9HShQi/xHpxkrivljlNq7GexvSSlaxwL4OmqVOhZuatLMIY8nMQ1EhS1vJ vbhBIsXeozhNCNUZx6MkjV/lOxcMjnxeGE6OX0e/Og7WM/A7dC7pw9BAsryfvBS7 IFc88RbzS8BIoRUhRMzjqJe6wuPa5k+mNZkKjUixLi8EX35XW3mfv0fJVH4Q5zyE Ytv9wf9ARipjsC6ECtaL2ISWsqt+/c3moPnHSSqXjxAuT+p12AYfVFEMv0Q= =0Ugg -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-bash-ctypes.patch Content-Transfer-Encoding: quoted-printable >From a41329a6df93b4b7e8ca65e62755e55ba74c6301 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 23 Oct 2020 20:47:04 +0800 Subject: [PATCH] gnu: Add bash-ctypes * gnu/packages/bash.scm(bash-ctypes): New variable. --- gnu/packages/bash.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index 47ca625d9a..f9185ac519 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2016, 2017, 2018, 2019 Efraim Flashner ;;; Copyright =C2=A9 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2019 Mathieu Othacehe +;;; Copyright =C2=A9 2020 Zhu Zihao ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,10 +27,14 @@ #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages bootstrap) + #:use-module (gnu packages compression) + #:use-module (gnu packages elf) #:use-module (gnu packages ncurses) #:use-module (gnu packages readline) #:use-module (gnu packages bison) #:use-module (gnu packages linux) + #:use-module (gnu packages libffi) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages guile) #:use-module (guix packages) #:use-module (guix download) @@ -415,3 +420,31 @@ framework for Bash. It provides a simple way to verif= y that the UNIX programs you write behave as expected. Bats is most useful when testing software w= ritten in Bash, but you can use it to test any UNIX program.") (license expat))) + +(define-public bash-ctypes + (package + (name "bash-ctypes") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/taviso/ctypes.sh/releases/d= ownload/" + version "/ctypes-sh-" version ".tar.gz")) + (sha256 + (base32 "0s1sifqzqmr0dnciv06yqrpzgj11d7n0gy5zaxh6b3x8bx7k75l8")))) + (build-system gnu-build-system) + (inputs + `(("elfutils" ,elfutils) + ("libelf" ,libelf) + ("libffi" ,libffi) + ("zlib" ,zlib) + ;; Require a bash with C plugin support to build. + ("bash" ,bash))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/taviso/ctypes.sh") + (synopsis "FFI for Bash") + (description "Bash-ctypes is a bash plugin that provides a foreign fun= ction +interface directly in your shell. In other words, it allows you to call ro= utines +in shared libraries from within bash.") + (license expat))) --=20 2.28.0 --=-=-= Content-Type: text/plain -- Retrieve my public GPG key: https://meta.sr.ht/~citreu.pgp Zihao --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 11:39:25 2020 Received: (at 44176) by debbugs.gnu.org; 23 Oct 2020 15:39:25 +0000 Received: from localhost ([127.0.0.1]:58043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVzA4-0005rj-KI for submit@debbugs.gnu.org; Fri, 23 Oct 2020 11:39:24 -0400 Received: from mail-m974.mail.163.com ([123.126.97.4]:53232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVzA1-0005rQ-AS for 44176@debbugs.gnu.org; Fri, 23 Oct 2020 11:39:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=m/j1f /p+A9Uf0P0hpv9e3Q5r15bSMY8zLnyVnHSJp4c=; b=Y93IUXAWTbxoh2htjDvcz ThBdXKhudgdL677CIMjN6kBoU2d3fAbMVouXE7hnhRofv0HszA7XV9EzsRw2ESxs O2nTFKhXuUn/YHdmQJx0pAaV2z1dWEA5V0UQ7VoI8PkUAfJVMwa7wqRmM8041/hQ vdSvPu49tjtlqisobP65Uw= Received: from asus-laptop (unknown [27.39.88.45]) by smtp4 (Coremail) with SMTP id HNxpCgBH7wge+ZJf3RaHVg--.20322S2; Fri, 23 Oct 2020 23:39:11 +0800 (CST) References: <86wnzhm7e2.fsf@163.com> <86mu0dm65b.fsf@163.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Zhu Zihao To: 44176@debbugs.gnu.org Subject: Re: bug#44176: Acknowledgement (gnu: Add bash-ctypes) In-reply-to: <86mu0dm65b.fsf@163.com> Date: Fri, 23 Oct 2020 23:39:07 +0800 Message-ID: <861rhpdk9w.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: HNxpCgBH7wge+ZJf3RaHVg--.20322S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvj4RGD7aDUUUU X-Originating-IP: [27.39.88.45] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbCCgDGr12MYdJrAAAAsq X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44176 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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Add missing v in download url --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEE7NCVzXX6efyusptG1SOVn+xGFqYFAl+S+RsVHGFsbF9idXRf bGFzdEAxNjMuY29tAAoJENUjlZ/sRham7rQH/3KC4mAkm1oBnwlVzx5R2fIecZww kYFvUPok2n6KVPuzj7+ZeVLRgDVuJwMu/gMzJUyrrcG76l6nWZ9d3/hLJxLjZ5F/ +pk67j88Cf5d/8aHNT3dFlBGsjNAPK7TICQyKzL/P3JPhYRwwMnDYL64tGkGEhxt 1qK+A/S3wOEEpDdDozSZ5xFBw8UAja/gff218qEVR0jHGWUCp4FxaE9q4BUU3zyx cWyVfTsoabKzUmhOiz0Qa1T/z4GK3qOii+q46QUVfkl005t6neFceVqtzt86TkWV 9IEGCmxGgYIrEGkhU9ehZ+4A46Gm6PdLSeODHWoYeJqHjhMy+Y5Y1vhiK7s= =yIuH -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-bash-ctypes.patch Content-Transfer-Encoding: quoted-printable >From 8210f5f95ca4f33dce35ed0c9bb20c8f615ab079 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 23 Oct 2020 20:47:04 +0800 Subject: [PATCH] gnu: Add bash-ctypes * gnu/packages/bash.scm(bash-ctypes): New variable. --- gnu/packages/bash.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index 47ca625d9a..f7d3cd2892 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2016, 2017, 2018, 2019 Efraim Flashner ;;; Copyright =C2=A9 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2019 Mathieu Othacehe +;;; Copyright =C2=A9 2020 Zhu Zihao ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,10 +27,14 @@ #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages bootstrap) + #:use-module (gnu packages compression) + #:use-module (gnu packages elf) #:use-module (gnu packages ncurses) #:use-module (gnu packages readline) #:use-module (gnu packages bison) #:use-module (gnu packages linux) + #:use-module (gnu packages libffi) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages guile) #:use-module (guix packages) #:use-module (guix download) @@ -415,3 +420,31 @@ framework for Bash. It provides a simple way to verif= y that the UNIX programs you write behave as expected. Bats is most useful when testing software w= ritten in Bash, but you can use it to test any UNIX program.") (license expat))) + +(define-public bash-ctypes + (package + (name "bash-ctypes") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/taviso/ctypes.sh/releases/d= ownload/v" + version "/ctypes-sh-" version ".tar.gz")) + (sha256 + (base32 "0s1sifqzqmr0dnciv06yqrpzgj11d7n0gy5zaxh6b3x8bx7k75l8")))) + (build-system gnu-build-system) + (inputs + `(("elfutils" ,elfutils) + ("libelf" ,libelf) + ("libffi" ,libffi) + ("zlib" ,zlib) + ;; Require a bash with C plugin support to build. + ("bash" ,bash))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/taviso/ctypes.sh") + (synopsis "FFI for Bash") + (description "Bash-ctypes is a bash plugin that provides a foreign fun= ction +interface directly in your shell. In other words, it allows you to call ro= utines +in shared libraries from within bash.") + (license expat))) --=20 2.28.0 --=-=-= Content-Type: text/plain -- Retrieve my public GPG key: https://meta.sr.ht/~citreu.pgp Zihao --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 11:49:44 2020 Received: (at 44176) by debbugs.gnu.org; 23 Oct 2020 15:49:44 +0000 Received: from localhost ([127.0.0.1]:58059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVzK4-00068V-7t for submit@debbugs.gnu.org; Fri, 23 Oct 2020 11:49:44 -0400 Received: from mail-m974.mail.163.com ([123.126.97.4]:55440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVzJz-00068C-7T for 44176@debbugs.gnu.org; Fri, 23 Oct 2020 11:49:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=O6D93 Nd8fC5+pHahJvTUeSBv5hGIekzlsuGNdV/NH5s=; b=pegomGKVVZTgg/rhIZqpB jrDomz1XpIok+dtIBM5Tg3b+Rmf84y/K01Gt2omceldcu9Dym3d9UbQpmEi8pxDR JdQ3Lzz3kMaj8AmEDrgPjUYWG6cR6oZKbmVywZ3ilm+nz/0HNB/iW3IASG802nMc VUf2iggSVNynE/wooR86p4= Received: from asus-laptop (unknown [27.39.88.45]) by smtp4 (Coremail) with SMTP id HNxpCgB3ff+K+5Jf_UmIVg--.20702S2; Fri, 23 Oct 2020 23:49:31 +0800 (CST) References: <86wnzhm7e2.fsf@163.com> <86mu0dm65b.fsf@163.com> <861rhpdk9w.fsf@163.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Zhu Zihao To: 44176@debbugs.gnu.org Subject: Re: bug#44176: Acknowledgement (gnu: Add bash-ctypes) In-reply-to: <861rhpdk9w.fsf@163.com> Date: Fri, 23 Oct 2020 23:49:30 +0800 Message-ID: <86mu0dc585.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: HNxpCgB3ff+K+5Jf_UmIVg--.20702S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvj4RJEfoUUUUU X-Originating-IP: [27.39.88.45] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/1tbiTwvGr1sGWMH-ggAAsU X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44176 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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Push another commit to fix import conflict of name "zlib" --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEE7NCVzXX6efyusptG1SOVn+xGFqYFAl+S+4oVHGFsbF9idXRf bGFzdEAxNjMuY29tAAoJENUjlZ/sRham9D4IAKiL2ws+TyQ9MClSp2E8lj0zKy3w MvnsbhZcxeYhNuF7DuOOI2E9nlQAjCx+h6p5cV2vaTvtATebjDA8esvIv4XcHkld UNTejgeg7MxQ177AebrGVTCCtO74QEjWkkoxLJF+xUuBDdXAxPjotCMW23/90PSt aXRfAL+vF/AlO4R85e98O7e0gMFkKLKIldxmWvLk5oZsZZEMRUcvPtyex6ftDvGo ip6O80QhbRQgMxc27Z3oROZblWXj3wIthDoYPyfnqP9t45cXxI4OjxE8aEjGkIBv Zm3p+mp2CWP+ciC+yRhOLjLDWR885EfoRXGLeS+OSeFaqtgrhYNTyDpR0AA= =UyhT -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-bash-ctypes.patch Content-Transfer-Encoding: quoted-printable >From 8210f5f95ca4f33dce35ed0c9bb20c8f615ab079 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 23 Oct 2020 20:47:04 +0800 Subject: [PATCH 1/2] gnu: Add bash-ctypes * gnu/packages/bash.scm(bash-ctypes): New variable. --- gnu/packages/bash.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index 47ca625d9a..f7d3cd2892 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2016, 2017, 2018, 2019 Efraim Flashner ;;; Copyright =C2=A9 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2019 Mathieu Othacehe +;;; Copyright =C2=A9 2020 Zhu Zihao ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,10 +27,14 @@ #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages bootstrap) + #:use-module (gnu packages compression) + #:use-module (gnu packages elf) #:use-module (gnu packages ncurses) #:use-module (gnu packages readline) #:use-module (gnu packages bison) #:use-module (gnu packages linux) + #:use-module (gnu packages libffi) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages guile) #:use-module (guix packages) #:use-module (guix download) @@ -415,3 +420,31 @@ framework for Bash. It provides a simple way to verif= y that the UNIX programs you write behave as expected. Bats is most useful when testing software w= ritten in Bash, but you can use it to test any UNIX program.") (license expat))) + +(define-public bash-ctypes + (package + (name "bash-ctypes") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/taviso/ctypes.sh/releases/d= ownload/v" + version "/ctypes-sh-" version ".tar.gz")) + (sha256 + (base32 "0s1sifqzqmr0dnciv06yqrpzgj11d7n0gy5zaxh6b3x8bx7k75l8")))) + (build-system gnu-build-system) + (inputs + `(("elfutils" ,elfutils) + ("libelf" ,libelf) + ("libffi" ,libffi) + ("zlib" ,zlib) + ;; Require a bash with C plugin support to build. + ("bash" ,bash))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/taviso/ctypes.sh") + (synopsis "FFI for Bash") + (description "Bash-ctypes is a bash plugin that provides a foreign fun= ction +interface directly in your shell. In other words, it allows you to call ro= utines +in shared libraries from within bash.") + (license expat))) --=20 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-Use-prefix-license-to-import-guix-licenses.patch >From 663104a3945696323d893443a3ab0c96c17e07e3 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 23 Oct 2020 23:43:05 +0800 Subject: [PATCH 2/2] gnu: Use prefix "license:" to import (guix licenses) * gnu/packages/bash.scm (bash, bash-completion, bash-tap, bats, bash-ctypes)[license]: Rename with prefix "license:". --- gnu/packages/bash.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index f7d3cd2892..59f6e7fc69 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -23,7 +23,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages bash) - #:use-module (guix licenses) + #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages bootstrap) @@ -215,7 +215,7 @@ from the Korn Shell and the C Shell and new improvements of its own. It allows command-line editing, unlimited command history, shell functions and aliases, and job control while still allowing most sh scripts to be run without modification.") - (license gpl3+) + (license license:gpl3+) (home-page "https://www.gnu.org/software/bash/")))) (define-public bash-minimal @@ -325,7 +325,7 @@ without modification.") "This package provides extensions that allow Bash to provide adapted completion for many common commands.") (home-page "https://github.com/scop/bash-completion") - (license gpl2+))) + (license license:gpl2+))) (define-public bash-tap (package @@ -369,7 +369,7 @@ test library") for Bash shell scripts and functions. Along with the Test::More-style testing helpers it provides helper functions for mocking commands and in-process output capturing.") - (license expat))) + (license license:expat))) (define-public bats (package @@ -419,7 +419,7 @@ capturing.") framework for Bash. It provides a simple way to verify that the UNIX programs you write behave as expected. Bats is most useful when testing software written in Bash, but you can use it to test any UNIX program.") - (license expat))) + (license license:expat))) (define-public bash-ctypes (package @@ -447,4 +447,4 @@ in Bash, but you can use it to test any UNIX program.") (description "Bash-ctypes is a bash plugin that provides a foreign function interface directly in your shell. In other words, it allows you to call routines in shared libraries from within bash.") - (license expat))) + (license license:expat))) -- 2.28.0 --=-=-= Content-Type: text/plain -- Retrieve my public GPG key: https://meta.sr.ht/~citreu.pgp Zihao --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 24 03:22:23 2020 Received: (at 44176) by debbugs.gnu.org; 24 Oct 2020 07:22:23 +0000 Received: from localhost ([127.0.0.1]:58931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWDsc-0006lq-Uk for submit@debbugs.gnu.org; Sat, 24 Oct 2020 03:22:23 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:54660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWDsZ-0006lV-Oo for 44176@debbugs.gnu.org; Sat, 24 Oct 2020 03:22:21 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1603524133; bh=kK/qC7PDyR1dsBgknO3yRsbKdwrucc+m2sp2LeVyRls=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=YPc+AvrTAp7TiDmjKOXcza+e/UYca3Yi/XctPtBspB4ZBiHwN2AuUWxK36ZQcfyR+ 1qwsUCOe48I4zg9PRiMZA7ZCKSB3Mdgmsk/B2i8S0KXS/KmUw6tGOpxm/MBV0FBgqO eVt7YKKuZ5Qk+ZhZTCvglnnAweU2/8oyeDXPZ0ziFVR77FtuUUNyf6rbS7w2x4ZTmt fz5p18EVGFTPm34XE9TIwhfr/eZP95PAQcoJZaTpMDHyp3J9USKSb0eV9GG4V/b4K4 RSIPIcwo1znbFqJujAWMAMHM6oRv4StE18+BLnv6lXEfoquL7dUtJCdPD2AfD4GOQx HNy2IOaWq5dig== X-Fuglu-Suspect: 5d0ce36569714203bf27a15489892754 X-Fuglu-Spamstatus: NO Received: from [127.0.0.1] (localhost [127.0.0.1]) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 24 Oct 2020 07:22:06 +0000 From: david larsson To: Zhu Zihao Subject: Re: [bug#44176] Acknowledgement (gnu: Add bash-ctypes) In-Reply-To: <86mu0dc585.fsf@163.com> References: <86wnzhm7e2.fsf@163.com> <86mu0dm65b.fsf@163.com> <861rhpdk9w.fsf@163.com> <86mu0dc585.fsf@163.com> Message-ID: X-Sender: david.larsson@selfhosted.xyz X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 44176 Cc: Guix-patches , 44176@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: 0.2 (/) On 2020-10-23 15:49, Zhu Zihao wrote: > Push another commit to fix import conflict of name "zlib" Thanks for adding this package! Though, if you'd rather add a git-fetch version of it, which I think is generally preferred over a url-fetch of a tarball so you can more easily inherit the package and just update the commit, you could perhaps edit from this old version: https://gitlab.com/methuselah-0/bash-coding-utils.sh/-/blob/master/guix-channel/bash-coding-utils.scm#L81 Best regards, David From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 24 06:13:05 2020 Received: (at 44176) by debbugs.gnu.org; 24 Oct 2020 10:13:05 +0000 Received: from localhost ([127.0.0.1]:32785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWGXo-000089-Pl for submit@debbugs.gnu.org; Sat, 24 Oct 2020 06:13:05 -0400 Received: from mail-m972.mail.163.com ([123.126.97.2]:42676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWGXc-00007P-NY for 44176@debbugs.gnu.org; Sat, 24 Oct 2020 06:13:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=QHUMk 3wUTmVhsNiQdxunjN59nLuSbcpY24ShnJEPHOc=; b=PRhy5jBFY996uOWymyHVa WryuO0qFK6GqdGywkloehuE6xGeHWwA/XVqLWh7s15HEdhprFcDJ5X1UOUqHBOn9 mn3oR2V7WP7utRuSCXuwermkmC4fCiniJ9aruAO4Ij2VqRhGMHy5dEeVDgWOkIRT J82zz0k3/ORqzBbQ6fanwE= Received: from asus-laptop (unknown [27.39.89.5]) by smtp2 (Coremail) with SMTP id GtxpCgD3yXsb_pNflZbJVQ--.34919S2; Sat, 24 Oct 2020 18:12:44 +0800 (CST) References: <86wnzhm7e2.fsf@163.com> <86mu0dm65b.fsf@163.com> <861rhpdk9w.fsf@163.com> <86mu0dc585.fsf@163.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Zhu Zihao To: david larsson Subject: Re: [bug#44176] Acknowledgement (gnu: Add bash-ctypes) In-reply-to: Date: Sat, 24 Oct 2020 18:12:43 +0800 Message-ID: <86imb0c4pw.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-CM-TRANSID: GtxpCgD3yXsb_pNflZbJVQ--.34919S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxU1xhLDUUUU X-Originating-IP: [27.39.89.5] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/1tbiTwXHr1sGWMxEcAABse X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44176 Cc: Guix-patches , 44176@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 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain The git version lacks configure script, so we have to generate it first. That means we need to add autoconf, automake and libtool to native-inputs. And IIUC Guix's distributing strategy is distribute a release rather than rolling on Git. Do you think it's worth to change to git-fetch? I move bash from inputs to native-inputs because we just need it for test. --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEE7NCVzXX6efyusptG1SOVn+xGFqYFAl+T/hsVHGFsbF9idXRf bGFzdEAxNjMuY29tAAoJENUjlZ/sRhamVQ0IAL+s68gHXcmBrLDjxgvC4yaqyOmv fpYSR7D04iI6NySztusM/1dHwBWcpc/42UGVk5Sug2L7K7AwEBrpVE8P+Iop22yH bObMRfBdLzjRkAX6UDGsg5GhrRgkK+Rnq014+oqxunqpyPmEOkXhW6umtxV2ifM4 F8GjeDVcckcLPu/Kx8umFPtYO1wr58VcwUon2d24HmdcubGxNSd9W9L8JTxEuATy ncf8ofe3+LYb3ilMDO3nGROhciiemUTSKmobZFmaiYWVeP3p3c0sA/lR0Tq+gQ3z Fn2jU0Od5JBd0j6EpZEAdAPkqGaPNRvfbkaPgdWvO4SU1jDE9ZGuGWEbuRs= =pOJz -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-bash-ctypes.patch Content-Transfer-Encoding: quoted-printable >From 8210f5f95ca4f33dce35ed0c9bb20c8f615ab079 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 23 Oct 2020 20:47:04 +0800 Subject: [PATCH 1/2] gnu: Add bash-ctypes * gnu/packages/bash.scm(bash-ctypes): New variable. --- gnu/packages/bash.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index 47ca625d9a..f7d3cd2892 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2016, 2017, 2018, 2019 Efraim Flashner ;;; Copyright =C2=A9 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2019 Mathieu Othacehe +;;; Copyright =C2=A9 2020 Zhu Zihao ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,10 +27,14 @@ #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages bootstrap) + #:use-module (gnu packages compression) + #:use-module (gnu packages elf) #:use-module (gnu packages ncurses) #:use-module (gnu packages readline) #:use-module (gnu packages bison) #:use-module (gnu packages linux) + #:use-module (gnu packages libffi) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages guile) #:use-module (guix packages) #:use-module (guix download) @@ -415,3 +420,31 @@ framework for Bash. It provides a simple way to verif= y that the UNIX programs you write behave as expected. Bats is most useful when testing software w= ritten in Bash, but you can use it to test any UNIX program.") (license expat))) + +(define-public bash-ctypes + (package + (name "bash-ctypes") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/taviso/ctypes.sh/releases/d= ownload/v" + version "/ctypes-sh-" version ".tar.gz")) + (sha256 + (base32 "0s1sifqzqmr0dnciv06yqrpzgj11d7n0gy5zaxh6b3x8bx7k75l8")))) + (build-system gnu-build-system) + (inputs + `(("elfutils" ,elfutils) + ("libelf" ,libelf) + ("libffi" ,libffi) + ("zlib" ,zlib) + ;; Require a bash with C plugin support to build. + ("bash" ,bash))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/taviso/ctypes.sh") + (synopsis "FFI for Bash") + (description "Bash-ctypes is a bash plugin that provides a foreign fun= ction +interface directly in your shell. In other words, it allows you to call ro= utines +in shared libraries from within bash.") + (license expat))) --=20 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-Use-prefix-license-to-import-guix-licenses.patch >From 663104a3945696323d893443a3ab0c96c17e07e3 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 23 Oct 2020 23:43:05 +0800 Subject: [PATCH 2/2] gnu: Use prefix "license:" to import (guix licenses) * gnu/packages/bash.scm (bash, bash-completion, bash-tap, bats, bash-ctypes)[license]: Rename with prefix "license:". --- gnu/packages/bash.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index f7d3cd2892..59f6e7fc69 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -23,7 +23,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages bash) - #:use-module (guix licenses) + #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages bootstrap) @@ -215,7 +215,7 @@ from the Korn Shell and the C Shell and new improvements of its own. It allows command-line editing, unlimited command history, shell functions and aliases, and job control while still allowing most sh scripts to be run without modification.") - (license gpl3+) + (license license:gpl3+) (home-page "https://www.gnu.org/software/bash/")))) (define-public bash-minimal @@ -325,7 +325,7 @@ without modification.") "This package provides extensions that allow Bash to provide adapted completion for many common commands.") (home-page "https://github.com/scop/bash-completion") - (license gpl2+))) + (license license:gpl2+))) (define-public bash-tap (package @@ -369,7 +369,7 @@ test library") for Bash shell scripts and functions. Along with the Test::More-style testing helpers it provides helper functions for mocking commands and in-process output capturing.") - (license expat))) + (license license:expat))) (define-public bats (package @@ -419,7 +419,7 @@ capturing.") framework for Bash. It provides a simple way to verify that the UNIX programs you write behave as expected. Bats is most useful when testing software written in Bash, but you can use it to test any UNIX program.") - (license expat))) + (license license:expat))) (define-public bash-ctypes (package @@ -447,4 +447,4 @@ in Bash, but you can use it to test any UNIX program.") (description "Bash-ctypes is a bash plugin that provides a foreign function interface directly in your shell. In other words, it allows you to call routines in shared libraries from within bash.") - (license expat))) + (license license:expat))) -- 2.28.0 --=-=-= Content-Type: text/plain david larsson writes: > On 2020-10-23 15:49, Zhu Zihao wrote: >> Push another commit to fix import conflict of name "zlib" > > Thanks for adding this package! > > Though, if you'd rather add a git-fetch version of it, which I think is > generally preferred over a url-fetch of a tarball so you can more easily > inherit the package and just update the commit, you could perhaps edit from this > old version: > > https://gitlab.com/methuselah-0/bash-coding-utils.sh/-/blob/master/guix-channel/bash-coding-utils.scm#L81 > > Best regards, > David -- Retrieve my PGP public key: https://meta.sr.ht/~citreu.pgp Zihao --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 26 17:28:16 2020 Received: (at 44176-done) by debbugs.gnu.org; 26 Oct 2020 21:28:16 +0000 Received: from localhost ([127.0.0.1]:41717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXA2K-0000Tz-7m for submit@debbugs.gnu.org; Mon, 26 Oct 2020 17:28:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXA2I-0000Tk-UW for 44176-done@debbugs.gnu.org; Mon, 26 Oct 2020 17:28:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35510) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXA27-0000UM-Sm; Mon, 26 Oct 2020 17:28:04 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34952 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kXA24-0002BX-KX; Mon, 26 Oct 2020 17:28:01 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Zhu Zihao Subject: Re: [bug#44176] Acknowledgement (gnu: Add bash-ctypes) References: <86wnzhm7e2.fsf@163.com> <86mu0dm65b.fsf@163.com> <861rhpdk9w.fsf@163.com> <86mu0dc585.fsf@163.com> <86imb0c4pw.fsf@163.com> Date: Mon, 26 Oct 2020 22:27:58 +0100 In-Reply-To: <86imb0c4pw.fsf@163.com> (Zhu Zihao's message of "Sat, 24 Oct 2020 18:12:43 +0800") Message-ID: <87mu08ad9d.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44176-done Cc: david larsson , 44176-done@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: -3.3 (---) Hi, Zhu Zihao skribis: > The git version lacks configure script, so we have to generate it first. > That means we need to add autoconf, automake and libtool to > native-inputs. > > And IIUC Guix's distributing strategy is distribute a release rather > than rolling on Git. Do you think it's worth to change to git-fetch? For Autotools-based project, we build from =E2=80=9Cmake dist=E2=80=9D tarb= alls like you did, so I think it=E2=80=99s fine (we should discuss changing that in the future.) >>>From 8210f5f95ca4f33dce35ed0c9bb20c8f615ab079 Mon Sep 17 00:00:00 2001 > From: Zhu Zihao > Date: Fri, 23 Oct 2020 20:47:04 +0800 > Subject: [PATCH 1/2] gnu: Add bash-ctypes > > * gnu/packages/bash.scm(bash-ctypes): New variable. [...] >>>From 663104a3945696323d893443a3ab0c96c17e07e3 Mon Sep 17 00:00:00 2001 > From: Zhu Zihao > Date: Fri, 23 Oct 2020 23:43:05 +0800 > Subject: [PATCH 2/2] gnu: Use prefix "license:" to import (guix licenses) > > * gnu/packages/bash.scm > (bash, bash-completion, bash-tap, bats, bash-ctypes)[license]: > > Rename with prefix "license:". I tweaked the synopsis/description and applied both. Thanks! Ludo=E2=80=99. From unknown Wed Jun 18 23:13: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: Tue, 24 Nov 2020 12:24:14 +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