From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wPsNMYSh4GBY0wAAgWs5BA (envelope-from ) for ; Sat, 03 Jul 2021 19:42:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OFmrLISh4GC1FAAAbx9fmQ (envelope-from ) for ; Sat, 03 Jul 2021 17:42:28 +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 40F421E4F3 for ; Sat, 3 Jul 2021 19:42:28 +0200 (CEST) Received: from localhost ([::1]:42774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzjet-0003FN-9V for larch@yhetil.org; Sat, 03 Jul 2021 13:42:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzjeU-0002xb-QW for guix-patches@gnu.org; Sat, 03 Jul 2021 13:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56494) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzjeU-0004io-Iw for guix-patches@gnu.org; Sat, 03 Jul 2021 13:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzjeU-0007tM-H9 for guix-patches@gnu.org; Sat, 03 Jul 2021 13:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48325] [PATCH v5 1/5] gnu: Add utf8proc-2.6.1. Resent-From: Jean-Baptiste Volatier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Jul 2021 17:42:02 +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: Maxime Devos , 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.162533410730279 (code B ref 48325); Sat, 03 Jul 2021 17:42:02 +0000 Received: (at 48325) by debbugs.gnu.org; 3 Jul 2021 17:41:47 +0000 Received: from localhost ([127.0.0.1]:39798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzjeE-0007sJ-Ku for submit@debbugs.gnu.org; Sat, 03 Jul 2021 13:41:47 -0400 Received: from mail-40136.protonmail.ch ([185.70.40.136]:35531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzjeB-0007s1-JR for 48325@debbugs.gnu.org; Sat, 03 Jul 2021 13:41:44 -0400 Date: Sat, 03 Jul 2021 17:41:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1625334097; bh=A2DCF7GxXkHtq5P6Q8jBaHQZhc/dDZUGdIXpLBbWFNw=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=KnSkeFJSBNwB8xIpyZIeDj9D9piJi9U0tGvK9q2u8rC+Sm69Wo8ccj6i0/tZrM5S2 q+0qULPJxdqJNUDS9rMd3o2KCTp2Q3Br4cup4rfTFyVILH/wVFFbQgfRMx8XY3lPnw SNhcNaCVYHb7ZHoZODvfnOZYkYo2E2cXBmBXtCdrfHv8V3iJIMShaCGcusQUwTREBZ +rmwD2J+H/tmuxD4CxBN0kvC9nauV4qbnHUxAYDl5cDVTgST3HPPHbnJegT1sXi/vc 5abgwM+X1PxVqxFvy16+BdQQxv3NiS2IDYEJGZrbje9IbwDtV7a67DGD55TlNMOFWq 1K2RzE1Ds1SoA== Message-ID: <20210703174116.21259-2-jbv@pm.me> In-Reply-To: <20210703174116.21259-1-jbv@pm.me> References: <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-4-jbv@pm.me> <20210703174116.21259-1-jbv@pm.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" Reply-to: Jean-Baptiste Volatier X-ACL-Warn: , Jean-Baptiste Volatier via Guix-patches From: Jean-Baptiste Volatier via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625334148; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=A2DCF7GxXkHtq5P6Q8jBaHQZhc/dDZUGdIXpLBbWFNw=; b=dbdZctfHauQ8lGsNKyjLowh6f9cvExdkBpf9HMXkpssD2w0Dzfw4l6BVaN6SQJTXMsMG07 3Dynr303wdq3L52CN6BQlby7WdHenqP7YuxCr2/oABVaQH+B27q99kROrKzEO2wfzTbyfa /bc43oNcqcN7gedcvuEjAEUjsb46ZH+bzJbrL70/BfoFLE9V95wTm0hB3djBf2SxLav2N0 M+YxwU2rPq6yTB7RLD+TaPo23huFsuzMAPpBpbAcySiwbLeDzVs1Z0clYg93oAnrjznjAm MQyAG8l1FDjIh0Dzkyc/4DgyjEnGuCOdg1a6xOtOyCjODSYEScJOcmf3ois2cg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625334148; a=rsa-sha256; cv=none; b=OHyUf4VSfsRpw4c/Z6RAbQ1JsfrjrrKG//nT4VGBvJTvh746uNAJqbX/TGhCQKgKZKzXRx JZ4A2LhTilEPu7zHgk2sdHM1UJFDm+YeNXJD3XoWwnHfCRWvAi+SDLpGXvLHXmklOc4Grm 90NA2sjL66zcOMRvGOUe8X+LlGnBI27L8SFl53AVr9N4reuzKGlje8VTf5XruMIfgmkYQ3 VYRgSIKiezCda3wYI1+MVumowZkvZQDC882s703WeHxkz3mX8tqmmiU2PnixIwvo2GydYA 1iV+ciq5hVIHfPu3+SyjedK6+hHHYIArH3hudAkxDCkJV3T41BmtsksX6sHFrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pm.me header.s=protonmail header.b=KnSkeFJS; 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.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pm.me header.s=protonmail header.b=KnSkeFJS; dmarc=pass (policy=none) header.from=gnu.org; 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: 40F421E4F3 X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: aoRqYVNr2uK5 * gnu/packages/textutils.scm (utf8proc-2.6.1): New variable. * gnu/packages/textutils.scm (utf8pro): Fix cross-compilation. Co-Authored-By: zimoun . --- gnu/packages/textutils.scm | 46 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index ab34373705..37b925e6d9 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)) @@ -185,9 +187,9 @@ libenca and several charset conversion libraries and to= ols.") (modify-phases %standard-phases (delete 'configure) (add-before 'check 'check-data - (lambda* (#:key inputs #:allow-other-keys) + (lambda* (#:key inputs native-inputs #:allow-other-keys) (for-each (lambda (i) - (copy-file (assoc-ref inputs i) + (copy-file (assoc-ref (or native-inputs inputs) i= ) (string-append "data/" i))) '("NormalizationTest.txt" "GraphemeBreakTest.txt")) (substitute* "data/GraphemeBreakTest.txt" @@ -201,6 +203,46 @@ normalization, case-folding, and other operations for = data in the UTF-8 encoding, supporting Unicode version 9.0.0.") (license license:expat))) +(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 native-inputs #:allow-other-keys) + (display native-inputs) + (for-each (lambda (i) + (copy-file (assoc-ref (or native-inputs inputs)= i) + (string-append "data/" i))) + '("NormalizationTest.txt" "GraphemeBreakTest.txt" + "DerivedCoreProperties.txt")))))))) + (native-inputs + (append + (package-native-inputs utf8proc) + (let ((UNICODE_VERSION "13.0.0")) + `(("DerivedCoreProperties.txt" + ,(origin + (method url-fetch) + (uri (string-append "https://www.unicode.org/Public/" + UNICODE_VERSION "/ucd/DerivedCorePropert= ies.txt")) + (sha256 + (base32 "0j12x112cd8fpgazkc8izxnhhpia44p1m36ff8yapslxndcmzm= 55")))) + ;; For tests + ("ruby" ,ruby))))))) + (define-public libconfuse (package (name "libconfuse") -- 2.32.0