From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id dLxyCX963WDELwEAgWs5BA (envelope-from ) for ; Thu, 01 Jul 2021 10:19:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id EPyABH963WBtOAAAbx9fmQ (envelope-from ) for ; Thu, 01 Jul 2021 08:19:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B230A246A0 for ; Thu, 1 Jul 2021 10:19:10 +0200 (CEST) Received: from localhost ([::1]:55872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyruf-0005GT-MY for larch@yhetil.org; Thu, 01 Jul 2021 04:19:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyruY-0005Fl-ER for guix-patches@gnu.org; Thu, 01 Jul 2021 04:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyruY-0002WH-74 for guix-patches@gnu.org; Thu, 01 Jul 2021 04:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyruX-0001XA-Un for guix-patches@gnu.org; Thu, 01 Jul 2021 04:19:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48325] [PATCH 1/4] gnu: Add utf8proc-2.6.1. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Jul 2021 08:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48325 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Jean-Baptiste Volatier , zimoun , 48325@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 48325-submit@debbugs.gnu.org id=B48325.16251275345881 (code B ref 48325); Thu, 01 Jul 2021 08:19:01 +0000 Received: (at 48325) by debbugs.gnu.org; 1 Jul 2021 08:18:54 +0000 Received: from localhost ([127.0.0.1]:59501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyruP-0001Wn-VO for submit@debbugs.gnu.org; Thu, 01 Jul 2021 04:18:54 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:60520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyruN-0001We-IT for 48325@debbugs.gnu.org; Thu, 01 Jul 2021 04:18:52 -0400 Received: from butterfly.local ([188.189.253.4]) by xavier.telenet-ops.be with bizsmtp id PkJo2500Y06Tga401kJp38; Thu, 01 Jul 2021 10:18:49 +0200 Message-ID: <8938340ea306095f3e2a92ff7230de3ff3f255a0.camel@telenet.be> From: Maxime Devos Date: Thu, 01 Jul 2021 10:18:43 +0200 In-Reply-To: <20210629132128.22249-2-jbv@pm.me> References: <20210513140818.10217-1-zimon.toutoune@gmail.com> <87mtsy67rv.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> <87pmx0kn5p.fsf_-_@gnu.org> <87zgw2znuf.fsf@guix.i-did-not-set--mail-host-address--so-tickle-me> <86v96ejt4s.fsf@gmail.com> <20210629132128.22249-1-jbv@pm.me> <20210629132128.22249-2-jbv@pm.me> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-PsM9j003xkvFAAzDhyLn" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1625127530; bh=QLNbrYOqVKF0IRyf4kfONR/UywZoPW+v/97xohGh7yw=; h=Subject:From:To:Date:In-Reply-To:References; b=G1J3dW6wc7RShbpyEtIws0exggG4T6zkzMs6uw/PnaSgfiTEv63iyjz+1gQZJe+nW UDZKxL8AFYKJofcJBn27q8ED+L9M5pN/eJsQDcOL319uVozlCIMrxiL9SBgbEiZf6q Hkdf9BvBLM0pi09/f6yE3qlx+3c3to3S4x7qcK76kGL/YQYQ4uRrsk5SImzSc1biS1 tiXIkk7YWYdu9u0WGr1jHdMewBtde4BW3aXGFS/vFwofUsnEPUgDT9eQwOQp32lJYG E7I+X1nqJVJbVmEMUBXBowU99gbno5cgs1A3cpRrW8lkWsiDsRmwp0tXux7TvRigAR /i/9tYV4yrzQg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625127550; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=QLNbrYOqVKF0IRyf4kfONR/UywZoPW+v/97xohGh7yw=; b=Q/m7Ujf0a/D8lTy4EPFAbp5IR21YMceOJiAQAms9suFPnqgvW7n2nhcsdZF1wv8O4btVwS /zIH2ZcJlDRTWtKR56MO5A3Hmsp9xQwRh+4qybH+cm1JIfXNQ3kOyeaoKybeoTctkcaFwu baGyTgMIdSRMdAn1DNcHop+PjDMuXVI1OBBLTYW74AJGpDTdoJIgYtdStAHRgXDOIH6oFe WNMz7F4ZeNQhU9Qv4KKycltAJmUCwiyRoIo0c7uqG1fLAXvGNmDbbpGMA7KMxZxUhkHAXO sm464RuRYMI/Jhq2FmfT3uMSNumixgWkXwMkyFKwOATqf3vNCKEAi7Ew2o6RCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625127550; a=rsa-sha256; cv=none; b=a3YoZGKPTab0T8wzBPYRMK+5C37OWM9Hgqi0+iq2wXIqdMx+n1bbMIWrT5ACEmnkbrRWT2 fhCJRmXduNFcq2QGjF1jnnT/kQe2H5HVAJV2L/eZ03YOROKpDyvYYOh46IML3pC/KD1OJ5 2YOEehfzC+SWMIj0JTx8blPOZQf76HV7NCA3QXI98C8QXW4FYJr/pv45PiKNKXzXEACPYY BHGijWiuWShFpGcQqXhq2H6kqs8OfJm/nd8vn5d9GMsHhuKEswgWy6bGoapAoQ8Gp5WHUL KYtyBy7g24RnkLRQKZyLgdSRV7VbNmaaNOKEcQinzpx9859oxdgzCAb8qVbPfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=G1J3dW6w; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=G1J3dW6w; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: B230A246A0 X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2hgOUa7BeEpW --=-PsM9j003xkvFAAzDhyLn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Jean-Baptiste Volatier via Guix-patches via schreef op di 29-06-2021 om 13:= 23 [+0000]: > * gnu/packages/textutils.scm (utf8proc-2.6.1): New variable. >=20 > Co-Authored-By: zimoun . > --- > gnu/packages/textutils.scm | 41 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 41 insertions(+) >=20 > diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm > index ab34373705..dbd6dce283 100644 > --- a/gnu/packages/textutils.scm > +++ b/gnu/packages/textutils.scm > @@ -20,6 +20,7 @@ > ;;; Copyright =C2=A9 2019 M=C4=83d=C4=83lin Ionel Patra=C8=99cu > ;;; Copyright =C2=A9 2019 Wiktor =C5=BBelazny > ;;; Copyright =C2=A9 2020 Maxim Cournoyer > +;;; Copyright =C2=A9 2021 Simon Tournier > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -63,6 +64,7 @@ > #:use-module (gnu packages python-build) > #:use-module (gnu packages python-xyz) > #:use-module (gnu packages readline) > + #:use-module (gnu packages ruby) > #:use-module (gnu packages slang) > #:use-module (gnu packages web)) >=20 > @@ -201,6 +203,45 @@ normalization, case-folding, and other operations fo= r data in the UTF-8 > encoding, supporting Unicode version 9.0.0.") > (license license:expat))) >=20 > +(define-public utf8proc-2.6.1 > + (package > + (inherit utf8proc) > + (name "utf8proc") > + (version "2.6.1") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/JuliaStrings/utf8proc") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "1zqc6airkzkssbjxanx5v8blfk90180gc9id0dx8ncs54f1ib8w7"))= )) > + (arguments > + (substitute-keyword-arguments (package-arguments utf8proc) > + ((#:phases phases) > + `(modify-phases ,phases > + (replace 'check-data > + (lambda* (#:key inputs #:allow-other-keys) > + (for-each (lambda (i) > + (copy-file (assoc-ref inputs i) > + (string-append "data/" i))) 'DerivedCoreProperties.txt" is in 'native-inputs', so you need to do (assoc-ref (or native-inputs inputs) (string-append "data= /" i)) to make sure it will be found when cross-compiling. (When compiling natively, 'inputs' is merged into 'native-inputs') > + '("NormalizationTest.txt" "GraphemeBreakTest.tx= t" > + "DerivedCoreProperties.txt")))))))) > + (native-inputs > + (append > + (package-native-inputs utf8proc) > + (let ((UNICODE_VERSION "13.0.0")) > + `(("DerivedCoreProperties.txt" Alternatively, you could move "DerivedCoreProperties.txt" to 'inputs'. It isn't something that is compiled, so it doesn't really matter if it is in 'inputs' or 'native-inputs', except for =E2=80=98style=E2=80=99 I suppose. Greetings, Maxime. --=-PsM9j003xkvFAAzDhyLn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYN16YxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7h3bAQDMJERrc87pFSLMAPrZnpIXbe/N N6Y6C3+H8l6i2oBlfwD/Tq1LxoOgR9up9KQLvQz95sG2pWM3tqvf6G0KziWvBgA= =AJ/h -----END PGP SIGNATURE----- --=-PsM9j003xkvFAAzDhyLn--