GNU bug report logs - #53248
[PATCH] gnu: Add utf-8-lineseparator.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: jgart <jgart@HIDDEN>; Keywords: patch; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 53248-done <at> debbugs.gnu.org:


Received: (at 53248-done) by debbugs.gnu.org; 23 Jan 2022 22:19:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 23 17:19:38 2022
Received: from localhost ([127.0.0.1]:41463 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nBlD0-0001gm-KY
	for submit <at> debbugs.gnu.org; Sun, 23 Jan 2022 17:19:38 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:60830)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1nBlCz-0001gV-6Y
 for 53248-done <at> debbugs.gnu.org; Sun, 23 Jan 2022 17:19:37 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 8137531F;
 Sun, 23 Jan 2022 23:19:31 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 8WgZrAGoRLg1; Sun, 23 Jan 2022 23:19:31 +0100 (CET)
Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id AD3062F;
 Sun, 23 Jan 2022 23:19:30 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: jgart <jgart@HIDDEN>
Subject: Re: bug#53248: [PATCH] gnu: Add utf-8-lineseparator.
References: <20220114075035.1580-1-jgart@HIDDEN>
 <20220114083309.2766-1-jgart@HIDDEN>
Date: Sun, 23 Jan 2022 23:19:30 +0100
In-Reply-To: <20220114083309.2766-1-jgart@HIDDEN> (jgart@HIDDEN's
 message of "Fri, 14 Jan 2022 03:33:10 -0500")
Message-ID: <87v8yaxfgt.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spamd-Bar: /
Authentication-Results: hera.aquilenet.fr;
	none
X-Rspamd-Server: hera
X-Rspamd-Queue-Id: 8137531F
X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[];
 MID_RHS_MATCH_FROM(0.00)[]
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 53248-done
Cc: 53248-done <at> debbugs.gnu.org
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: -0.0 (/)

Hi,

jgart <jgart@HIDDEN> skribis:

> * gnu/packages/textutils.scm (utf-8-lineseparator): New variable.

Applied, thanks!

Ludo=E2=80=99.




Notification sent to jgart <jgart@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 53248 <at> debbugs.gnu.org:


Received: (at 53248) by debbugs.gnu.org; 14 Jan 2022 08:34:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 14 03:34:05 2022
Received: from localhost ([127.0.0.1]:35488 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8I24-0000vd-9G
	for submit <at> debbugs.gnu.org; Fri, 14 Jan 2022 03:34:05 -0500
Received: from mx1.dismail.de ([78.46.223.134]:33444)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jgart@HIDDEN>) id 1n8I22-0000vM-TK
 for 53248 <at> debbugs.gnu.org; Fri, 14 Jan 2022 03:33:59 -0500
Received: from mx1.dismail.de (localhost [127.0.0.1])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 4338d8d6
 for <53248 <at> debbugs.gnu.org>; Fri, 14 Jan 2022 09:33:51 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc
 :subject:date:message-id:mime-version:content-transfer-encoding;
 s=20190914; bh=pPGBsvpwaOqIlaNvlcg6Go61RKBE+G5wCpTVeSxgJmQ=; b=
 nhGq0UC3xRJIOkFrIRpLBolcFU+QTER9XqjjpRjmKCaqd62o0efE+DcyTAGRpDbO
 MfyDjAto+vHi5+W/D3MSbxQAbqSb7cWKf+WXt6lyPfMS/JDZCN8JXtCpBhUX96O2
 hTx1io6FJSu5jVeHTP4wype8ueyk/6UzAEjtZvqB0JA/DcT5ToQU1qaRZjJKUKzD
 maPxvYE1XzUNPjm+6pCevA4QadwHKOmy85jJG9y6Pa+fEZn2LQ0pWVJtun/cwLlq
 GV5LFxYZZuj4TPEfiJbuMU5D1mXMuUaBr+TfeNaq976E4fNdiwaN3N6oYy/ZIjrH
 4LHJMVMte3GWbqE2zqJGNQ==
Received: from smtp2.dismail.de (<unknown> [10.240.26.12])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 73a7afae
 for <53248 <at> debbugs.gnu.org>; Fri, 14 Jan 2022 09:33:51 +0100 (CET)
Received: from smtp2.dismail.de (localhost [127.0.0.1])
 by smtp2.dismail.de (OpenSMTPD) with ESMTP id 0686fa8b
 for <53248 <at> debbugs.gnu.org>; Fri, 14 Jan 2022 09:33:51 +0100 (CET)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id 78227e7e
 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); 
 Fri, 14 Jan 2022 09:33:45 +0100 (CET)
From: jgart <jgart@HIDDEN>
To: 53248 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add utf-8-lineseparator.
Date: Fri, 14 Jan 2022 03:33:10 -0500
Message-Id: <20220114083309.2766-1-jgart@HIDDEN>
X-Mailer: git-send-email 2.34.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53248
Cc: jgart <jgart@HIDDEN>
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: -1.7 (-)

* gnu/packages/textutils.scm (utf-8-lineseparator): New variable.
---

Small fix in the description.

 gnu/packages/textutils.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 3a90fc8da7..12e3d3b3c8 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1374,6 +1374,39 @@ (define-public go-github-com-errata-ai-vale
 @url{https://github.com/errata-ai/styles, their styles repo}.")
     (license license:expat)))
 
+(define-public utf-8-lineseparator
+  (package
+    (name "utf-8-lineseparator")
+    (version "cj3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/pflanze/utf-8-lineseparator")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1xnbcanqn5jr965gw9195ij6hz04clfm77m5776dysn9nykn20w1"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       (list
+         (string-append "CC=" ,(cc-for-target)))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'install
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin")))
+               (install-file "utf-8-lineseparator" bin)))))))
+    (home-page "https://github.com/pflanze/utf-8-lineseparator")
+    (synopsis "Line ending detection library")
+    (description
+"@code{utf-8-lineseparator} provides a tool to efficiently check text
+files for valid UTF-8 use and to report which line endings they use.")
+    (license license:expat)))
+
 (define-public csvdiff
   (package
     (name "csvdiff")
-- 
2.34.1





Information forwarded to guix-patches@HIDDEN:
bug#53248; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Jan 2022 07:51:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 14 02:51:21 2022
Received: from localhost ([127.0.0.1]:35341 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8HMm-0001Ju-On
	for submit <at> debbugs.gnu.org; Fri, 14 Jan 2022 02:51:20 -0500
Received: from lists.gnu.org ([209.51.188.17]:41292)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jgart@HIDDEN>) id 1n8HMk-0001Jm-0P
 for submit <at> debbugs.gnu.org; Fri, 14 Jan 2022 02:51:19 -0500
Received: from eggs.gnu.org ([209.51.188.92]:58694)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jgart@HIDDEN>) id 1n8HMh-0003Xs-Kb
 for guix-patches@HIDDEN; Fri, 14 Jan 2022 02:51:17 -0500
Received: from mx1.dismail.de ([78.46.223.134]:18835)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jgart@HIDDEN>) id 1n8HMd-0006xb-Hg
 for guix-patches@HIDDEN; Fri, 14 Jan 2022 02:51:15 -0500
Received: from mx1.dismail.de (localhost [127.0.0.1])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id df17919e
 for <guix-patches@HIDDEN>; Fri, 14 Jan 2022 08:50:55 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc
 :subject:date:message-id:mime-version:content-transfer-encoding;
 s=20190914; bh=OJsUKmkZbuvSo0yu6Kn4DUNXxP+44akkQwLxTG8a1cY=; b=
 SwHS7FChYWy7jUNhyBL2V44JVxSgz2djzqLmkKLU1d0tJMAajTW/sC/wnNtQwli5
 u/c+OYmNcXlWJ27ymCVgS18QblS9z5Z+XTfGEGKNjrDyRHny4CF250yshG07Ivj8
 F1j+j4qE4drPIJr2dJqL5ufux4nOz7Lr/W2HDM2YVvD5q6W8wFo287Psd9uLRnQS
 CAeZfI3MetnSRHTRm92j/ClYyRoIdBtBjxLQTmFr4co4vpUN2I3mQ14yLP7IK1eU
 1sZspbP6o7JwMkoCiikZiqm4OLglWZpmQPjcb9ejuJbUoWJFv2E/06qwsEvc61mV
 Phn/8CPH69oOgfIcqZ3jGg==
Received: from smtp2.dismail.de (<unknown> [10.240.26.12])
 by mx1.dismail.de (OpenSMTPD) with ESMTP id 9a8fbb5a
 for <guix-patches@HIDDEN>; Fri, 14 Jan 2022 08:50:55 +0100 (CET)
Received: from smtp2.dismail.de (localhost [127.0.0.1])
 by smtp2.dismail.de (OpenSMTPD) with ESMTP id ddf2694c
 for <guix-patches@HIDDEN>; Fri, 14 Jan 2022 08:50:55 +0100 (CET)
Received: by dismail.de (OpenSMTPD) with ESMTPSA id af397fe2
 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); 
 Fri, 14 Jan 2022 08:50:55 +0100 (CET)
From: jgart <jgart@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add utf-8-lineseparator.
Date: Fri, 14 Jan 2022 02:50:35 -0500
Message-Id: <20220114075035.1580-1-jgart@HIDDEN>
X-Mailer: git-send-email 2.34.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@HIDDEN;
 helo=mx1.dismail.de
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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,
 RCVD_IN_DNSWL_LOW=-0.7, 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: jgart <jgart@HIDDEN>
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.4 (--)

* gnu/packages/textutils.scm (utf-8-lineseparator): New variable.
---
 gnu/packages/textutils.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 3a90fc8da7..5b1ebfdd9d 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1374,6 +1374,40 @@ (define-public go-github-com-errata-ai-vale
 @url{https://github.com/errata-ai/styles, their styles repo}.")
     (license license:expat)))
 
+(define-public utf-8-lineseparator
+  (package
+    (name "utf-8-lineseparator")
+    (version "cj3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/pflanze/utf-8-lineseparator")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1xnbcanqn5jr965gw9195ij6hz04clfm77m5776dysn9nykn20w1"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       (list
+         (string-append "CC=" ,(cc-for-target)))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'install
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin")))
+               (install-file "utf-8-lineseparator" bin)))))))
+    (home-page "https://github.com/pflanze/utf-8-lineseparator")
+    (synopsis "Line ending detection library")
+    (description
+     "@code{utf-8-lineseparator} provides a tool to efficiently check text
+(CSV) files for valid UTF-8 use, and to report which line endings
+they use.")
+    (license license:expat)))
+
 (define-public csvdiff
   (package
     (name "csvdiff")
-- 
2.34.1





Acknowledgement sent to jgart <jgart@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#53248; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 23 Jan 2022 22:30:01 UTC

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