From unknown Fri Aug 15 20:57:42 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#63795] [PATCH] gnu: blesh: Update to 0.4.0-devel3. Resent-From: kiasoc5 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 May 2023 23:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63795 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63795@debbugs.gnu.org Cc: kiasoc5 X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168540408818728 (code B ref -1); Mon, 29 May 2023 23:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 May 2023 23:48:08 +0000 Received: from localhost ([127.0.0.1]:59450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3mat-0004ry-Jk for submit@debbugs.gnu.org; Mon, 29 May 2023 19:48:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:58692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3mar-0004rh-Of for submit@debbugs.gnu.org; Mon, 29 May 2023 19:48:06 -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 1q3mar-0001YG-Hb for guix-patches@gnu.org; Mon, 29 May 2023 19:48:05 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3mam-0005lM-58 for guix-patches@gnu.org; Mon, 29 May 2023 19:48:05 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3FB2D451CC; Tue, 30 May 2023 01:47:57 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id do2YfT1YNbVw; Tue, 30 May 2023 01:47:55 +0200 (CEST) From: kiasoc5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1685404075; bh=WkQyv4smQP2o/2tHtbxW6a318mOkA3te6cXQKsHLKCQ=; h=From:To:Cc:Subject:Date; b=YbPPL9yW3Ux0pTWrDboNULUVlOrLqeUd/p4udikYxDxIPL/K7lGcZEIRhdHWQSNWR MwhIoFOxxMI3FF9mFniRExlqME1TKOqMXI3IGOQL3O+f9xJFe/VPa88h8KZ/ALheax Kw7kMARQSkMrn/7aXZT/oy10FbCElQslSIl4aBMsFtDhEzcBidoDjHJuSZSAioK2Qs 8sHVdg983aI6bBIqd8ghvfIRGFR3Cg76VkzSvaLywkxcVxEU44LDNn/6p+a1PVo14z uA0MI96yx+WATKiQEIqNIEf040iVWuiU0nTE2yZuPxeYEEuHFdlXyIZy29ksdrxWc9 VYyn14d2XQpdA== Date: Mon, 29 May 2023 19:46:53 -0400 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=knopi.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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 (--) I couldn't figure out how to get the commit hash of the git repo, as git-fetch doesn't make .git available in the build directory. For now I use #$version instead. * gnu/packages/bash.scm (blesh): Update to 0.4.0-devel3. [source]: Use recursive checkout. [phases]: Remove 'make-readlink-work. Rename 'pretend-contrib-.git-exists to 'pretend-.git-exists. Substitute commit_hash for package version. [native-inputs]: Add git. --- gnu/packages/bash.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index 43f38303f7..bb3359d5d1 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -445,28 +445,27 @@ (define-public bash-ctypes (define-public blesh (package (name "blesh") - (version "0.4.0-devel2") + (version "0.4.0-devel3") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/akinomyoga/ble.sh") - (commit (string-append "v" version)))) + (commit (string-append "v" version)) + (recursive? #t))) (file-name (git-file-name name version)) (sha256 (base32 - "02fdjyh4x6wr5hg3i86nsxhz8ysgjrvvxdmk6pqr0lm8ngw9p3sh")))) + "19y9rmj9srl7akx33gl34l5qgz2ww0vlmi4j2r11029p8sn4s418")))) (arguments (list #:make-flags #~(list (string-append "PREFIX=" #$output)) #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'pretend-contrib-.git-exists - (lambda _ - (mkdir-p "contrib/.git"))) - (add-after 'unpack 'make-readlink-work + (add-after 'unpack 'pretend-.git-exists (lambda _ (substitute* "ble.pp" - (("PATH=/bin:/usr/bin readlink") - "readlink")))) + (("#%\\[commit_hash =.*") + (string-append "#%[commit_hash = " #$version "]\n"))) + (mkdir-p ".git"))) (delete 'configure) ;no configure (add-before 'check 'use-LANG-for-tests (lambda _ @@ -474,7 +473,7 @@ (define-public blesh (getenv "LC_ALL")) (unsetenv "LC_ALL")))))) (build-system gnu-build-system) - (native-inputs (list less)) + (native-inputs (list git less)) (home-page "https://github.com/akinomyoga/ble.sh") (synopsis "Bash Line Editor") (description base-commit: b96b82bcd4bc24529941ff74a91432481f1a71b5 -- 2.40.1 From unknown Fri Aug 15 20:57:42 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: kiasoc5 Subject: bug#63795: closed (Re: bug#63795: [PATCH] gnu: blesh: Update to 0.4.0-devel3.) Message-ID: References: <87r0q0zynb.fsf@gnu.org> X-Gnu-PR-Message: they-closed 63795 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 63795@debbugs.gnu.org Date: Sat, 24 Jun 2023 15:09:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1687619342-30317-1" This is a multi-part message in MIME format... ------------=_1687619342-30317-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #63795: [PATCH] gnu: blesh: Update to 0.4.0-devel3. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 63795@debbugs.gnu.org. --=20 63795: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63795 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1687619342-30317-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 63795-done) by debbugs.gnu.org; 24 Jun 2023 15:08:20 +0000 Received: from localhost ([127.0.0.1]:41292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD4s8-0007re-Ds for submit@debbugs.gnu.org; Sat, 24 Jun 2023 11:08:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qD4s7-0007rS-3S for 63795-done@debbugs.gnu.org; Sat, 24 Jun 2023 11:08:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qD4s1-0007BT-T8; Sat, 24 Jun 2023 11:08:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=SYUmW3YVMkHfWJyCR/apsCqB4qDKyOZ2glG+DUMEnBg=; b=AKNgaqIcnYlm5aTXEZlJ ztgBU2UPCsuQ+gxt1cbQXeFYOD6kRhRhEw82waS3ekQaqOjycvg2kY7XHM3qqqpjiTTMbfjA2Bc9Q 7Ol7Dx1P7XU6NU3M9K0YsGQIf+zgtT9hR6gRravR1bUBoRaZL1/MZ9oCzPqMbSuFRzzzRjWX5HUkh ONimQLIi9HH2CVpJxgiTV3QkqhwGa2NI3hPTABUlXgsJjajFfATLQlf8phNa/eplpTx7A2SKx4ORi kkM8x459XTBSuCAzKvfzoh/wIceqZqeOTY1P8+AJA0p4lCopGoBK4fZEhuRGAI7AqFcSIoQnDVBGC SbQZouMtV22MHQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qD4s1-0003IX-Jp; Sat, 24 Jun 2023 11:08:13 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: kiasoc5 Subject: Re: bug#63795: [PATCH] gnu: blesh: Update to 0.4.0-devel3. References: Date: Sat, 24 Jun 2023 17:08:08 +0200 In-Reply-To: (kiasoc5@disroot.org's message of "Mon, 29 May 2023 19:46:53 -0400") Message-ID: <87r0q0zynb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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: 63795-done Cc: 63795-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, kiasoc5 skribis: > I couldn't figure out how to get the commit hash of the git repo, as git-= fetch doesn't make .git available in the build directory. For now I use #$v= ersion instead. Good idea. > * gnu/packages/bash.scm (blesh): Update to 0.4.0-devel3. > [source]: Use recursive checkout. > [phases]: Remove 'make-readlink-work. Rename 'pretend-contrib-.git-exists > to 'pretend-.git-exists. Substitute commit_hash for package version. > [native-inputs]: Add git. Applied, thanks! Ludo=E2=80=99. ------------=_1687619342-30317-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 May 2023 23:48:08 +0000 Received: from localhost ([127.0.0.1]:59450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3mat-0004ry-Jk for submit@debbugs.gnu.org; Mon, 29 May 2023 19:48:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:58692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3mar-0004rh-Of for submit@debbugs.gnu.org; Mon, 29 May 2023 19:48:06 -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 1q3mar-0001YG-Hb for guix-patches@gnu.org; Mon, 29 May 2023 19:48:05 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3mam-0005lM-58 for guix-patches@gnu.org; Mon, 29 May 2023 19:48:05 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3FB2D451CC; Tue, 30 May 2023 01:47:57 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id do2YfT1YNbVw; Tue, 30 May 2023 01:47:55 +0200 (CEST) From: kiasoc5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1685404075; bh=WkQyv4smQP2o/2tHtbxW6a318mOkA3te6cXQKsHLKCQ=; h=From:To:Cc:Subject:Date; b=YbPPL9yW3Ux0pTWrDboNULUVlOrLqeUd/p4udikYxDxIPL/K7lGcZEIRhdHWQSNWR MwhIoFOxxMI3FF9mFniRExlqME1TKOqMXI3IGOQL3O+f9xJFe/VPa88h8KZ/ALheax Kw7kMARQSkMrn/7aXZT/oy10FbCElQslSIl4aBMsFtDhEzcBidoDjHJuSZSAioK2Qs 8sHVdg983aI6bBIqd8ghvfIRGFR3Cg76VkzSvaLywkxcVxEU44LDNn/6p+a1PVo14z uA0MI96yx+WATKiQEIqNIEf040iVWuiU0nTE2yZuPxeYEEuHFdlXyIZy29ksdrxWc9 VYyn14d2XQpdA== To: guix-patches@gnu.org Subject: [PATCH] gnu: blesh: Update to 0.4.0-devel3. Date: Mon, 29 May 2023 19:46:53 -0400 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=kiasoc5@disroot.org; helo=knopi.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, 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: kiasoc5 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 (--) I couldn't figure out how to get the commit hash of the git repo, as git-fetch doesn't make .git available in the build directory. For now I use #$version instead. * gnu/packages/bash.scm (blesh): Update to 0.4.0-devel3. [source]: Use recursive checkout. [phases]: Remove 'make-readlink-work. Rename 'pretend-contrib-.git-exists to 'pretend-.git-exists. Substitute commit_hash for package version. [native-inputs]: Add git. --- gnu/packages/bash.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index 43f38303f7..bb3359d5d1 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -445,28 +445,27 @@ (define-public bash-ctypes (define-public blesh (package (name "blesh") - (version "0.4.0-devel2") + (version "0.4.0-devel3") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/akinomyoga/ble.sh") - (commit (string-append "v" version)))) + (commit (string-append "v" version)) + (recursive? #t))) (file-name (git-file-name name version)) (sha256 (base32 - "02fdjyh4x6wr5hg3i86nsxhz8ysgjrvvxdmk6pqr0lm8ngw9p3sh")))) + "19y9rmj9srl7akx33gl34l5qgz2ww0vlmi4j2r11029p8sn4s418")))) (arguments (list #:make-flags #~(list (string-append "PREFIX=" #$output)) #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'pretend-contrib-.git-exists - (lambda _ - (mkdir-p "contrib/.git"))) - (add-after 'unpack 'make-readlink-work + (add-after 'unpack 'pretend-.git-exists (lambda _ (substitute* "ble.pp" - (("PATH=/bin:/usr/bin readlink") - "readlink")))) + (("#%\\[commit_hash =.*") + (string-append "#%[commit_hash = " #$version "]\n"))) + (mkdir-p ".git"))) (delete 'configure) ;no configure (add-before 'check 'use-LANG-for-tests (lambda _ @@ -474,7 +473,7 @@ (define-public blesh (getenv "LC_ALL")) (unsetenv "LC_ALL")))))) (build-system gnu-build-system) - (native-inputs (list less)) + (native-inputs (list git less)) (home-page "https://github.com/akinomyoga/ble.sh") (synopsis "Bash Line Editor") (description base-commit: b96b82bcd4bc24529941ff74a91432481f1a71b5 -- 2.40.1 ------------=_1687619342-30317-1--