GNU logs - #69635, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#69635] [PATCH] gnu: Add tran.
Resent-From: "Artyom V. Poptsov" <poptsov.artyom@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 08 Mar 2024 12:28:02 +0000
Resent-Message-ID: <handler.69635.B.17099008408270 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 69635
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 69635 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17099008408270
          (code B ref -1); Fri, 08 Mar 2024 12:28:02 +0000
Received: (at submit) by debbugs.gnu.org; 8 Mar 2024 12:27:20 +0000
Received: from localhost ([127.0.0.1]:56983 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1riZJo-00029K-C5
	for submit <at> debbugs.gnu.org; Fri, 08 Mar 2024 07:27:20 -0500
Received: from lists.gnu.org ([209.51.188.17]:50676)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <poptsov.artyom@HIDDEN>) id 1riZJm-00029C-Mg
 for submit <at> debbugs.gnu.org; Fri, 08 Mar 2024 07:27:19 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <poptsov.artyom@HIDDEN>)
 id 1riZJF-0003Tq-7X
 for guix-patches@HIDDEN; Fri, 08 Mar 2024 07:26:45 -0500
Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <poptsov.artyom@HIDDEN>)
 id 1riZJB-0001Kq-4B
 for guix-patches@HIDDEN; Fri, 08 Mar 2024 07:26:44 -0500
Received: by mail-lf1-x129.google.com with SMTP id
 2adb3069b0e04-51380c106d9so918863e87.3
 for <guix-patches@HIDDEN>; Fri, 08 Mar 2024 04:26:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1709900796; x=1710505596; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=xFh76FU4MOSPhkPDup7dpggSHftPYXxitDAf/zlkHLQ=;
 b=Vc10mUUjNBsm4WHDE9ycNmr/19JA/Jv9Vtmz+A9/+Co3tWj75T7XnQvy2l0qjETpPL
 wuN3IVckk67GQYD+iXkirFGEXZGRFjtto4eBLfadh6fZuY4A8n3U8Cgmq8bThInip9+Q
 aMCLhJcR/JWCl7oADN7GRrKiRuhCtGouDS1uAsvouquxAsVMQuseRfwgZjRR6KYw5Dxb
 swIc5wqsMS/fAdOhMpl9FxfvstPL2CwMxwXqBps5BuftjkzhdpdjR9KxfjgFAKyKRXTS
 osKLXRXVl1wd8AvFBH5SvcXAnFYW5pOzMCehLwWcZKl87sS/gJEqVKwRRWjQDK8PQv4f
 WB+Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1709900796; x=1710505596;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=xFh76FU4MOSPhkPDup7dpggSHftPYXxitDAf/zlkHLQ=;
 b=RAVa1hNWeK8RePYdXhMPH9Mo6suLTj3oxFGPr4umYd5gegKohBaPXzTbrnitdjtbml
 myGjtgBhVKCPHFtponPAqdEDXaHFH4ASAJ2g7ZwAp8Yk5DgNn8PFsUQ3Q6rxzuydk7Aw
 /qrgmcy92o2epYFndqG2DhqeSWd3hM0BWaMc0uJK5YkQXfXhWDI0n6dUbgdCE0i+UuBV
 Dw1w0WBgoL1T57/6ooUVmfiG6VlhorMK/D0Bc+KdEeLq6LPzHBe3QwcFgepnqNdI55BV
 V5NuoIukUZeC9GrTsnEPoDjG2pyU0ayh0DWCSSP9muowxTgLV/SgIPErkuy/9+a19iLf
 /5hg==
X-Gm-Message-State: AOJu0Yz+hLuRG8IQsxL9fa9j16sHY8RfmNAyTlFYvSa8DH66KUXta3Dm
 GXC4/7s98I3rgOY2zGGnMqUMEZecS4gKAc6L26+zcMjEELNItIbXApP2rCU+
X-Google-Smtp-Source: AGHT+IGebLBCFs4GMPhDiatVqPu8ATGNwBazIBDxpNJKzTa00sFFCAp9P9Zw7M8gQ8+PpxTG0aeaTQ==
X-Received: by 2002:ac2:59da:0:b0:513:3d25:d2ed with SMTP id
 x26-20020ac259da000000b005133d25d2edmr3262242lfn.34.1709900795693; 
 Fri, 08 Mar 2024 04:26:35 -0800 (PST)
Received: from elephant.. ([5.164.220.172]) by smtp.gmail.com with ESMTPSA id
 t28-20020a195f1c000000b005135e695f8asm1113995lfb.111.2024.03.08.04.26.34
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 08 Mar 2024 04:26:35 -0800 (PST)
From: "Artyom V. Poptsov" <poptsov.artyom@HIDDEN>
Date: Fri,  8 Mar 2024 15:26:30 +0300
Message-ID: <fb4f7103567cda74efc9854bfd24e519fe175aab.1709900790.git.poptsov.artyom@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a00:1450:4864:20::129;
 envelope-from=poptsov.artyom@HIDDEN; helo=mail-lf1-x129.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

* gnu/packages/shellutils.scm (tran): New variable.

Change-Id: I861be63cf773dbc67d929c86f50c4d50bdb9b41e
---
 gnu/packages/shellutils.scm | 50 +++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index e58e9e61fc..1f32c4725b 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -55,6 +55,7 @@ (define-module (gnu packages shellutils)
   #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages libunistring)
   #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages perl)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
@@ -483,6 +484,55 @@ (define-public trash-cli
 are already there.")
     (license license:gpl2+)))
 
+(define-public tran
+  (let ((commit "039df9529d5dfb8283edfb3c8b3cc16c01f0bfce")
+        (revision "0"))
+    (package
+      (name "tran")
+      ;; The latest upstream version seems to be "v5".
+      (version (git-version "5.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/kilobyte/tran")
+               (commit commit)))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32 "1kzr3lfhi5f8wpwjzrzlwkxjv9rasdr9ndjdns9kd16vsh0gl2rd"))))
+      (build-system gnu-build-system)
+      (inputs (list perl))
+      (arguments
+       `(#:tests? #f ;no tests
+         #:phases (modify-phases %standard-phases
+                    (delete 'configure)
+                    (add-after 'unpack 'patch
+                      (lambda* (#:key outputs #:allow-other-keys)
+                        (let ((out (assoc-ref outputs "out")))
+                          (substitute* "tran"
+                            (("my \\$DATA=\"data\"")
+                             (format #f "my $DATA=\"~a/share/tran/data\"" out))))))
+                    (replace 'build
+                      (lambda* (#:key outputs #:allow-other-keys)
+                        (invoke "make" "all")))
+                    (delete 'strip)
+                    (replace 'install
+                      (lambda* (#:key outputs #:allow-other-keys)
+                        (let ((out (assoc-ref outputs "out")))
+                          (install-file "tran"
+                                        (string-append out "/bin/"))
+                          (install-file "tran.1"
+                                        (string-append out "/share/man/man1/"))
+                          (copy-recursively "data"
+                                            (string-append out
+                                             "/share/tran/data/"))))))))
+      (home-page "https://github.com/kilobyte/tran")
+      (synopsis "Transcription between character scripts")
+      (description
+       "This tool can transliterate/transcribe text both ways between the Latin script
+and other languages.")
+      (license license:expat))))
+
 (define-public direnv
   (package
     (name "direnv")

base-commit: 7f2f1bcddae64c48f793cde15c21617fa706c157
-- 
2.41.0





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: "Artyom V. Poptsov" <poptsov.artyom@HIDDEN>
Subject: bug#69635: Acknowledgement ([PATCH] gnu: Add tran.)
Message-ID: <handler.69635.B.17099008408270.ack <at> debbugs.gnu.org>
References: <fb4f7103567cda74efc9854bfd24e519fe175aab.1709900790.git.poptsov.artyom@HIDDEN>
X-Gnu-PR-Message: ack 69635
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 69635 <at> debbugs.gnu.org
Date: Fri, 08 Mar 2024 12:28:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 69635 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
69635: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D69635
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Fri, 8 Mar 2024 12:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.