all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: "Jean-Baptiste Volatier" <jbv@pm.me>,
	zimoun <zimon.toutoune@gmail.com>,
	48325@debbugs.gnu.org, "Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#48325] [PATCH 1/4] gnu: Add utf8proc-2.6.1.
Date: Thu, 01 Jul 2021 10:18:43 +0200	[thread overview]
Message-ID: <8938340ea306095f3e2a92ff7230de3ff3f255a0.camel@telenet.be> (raw)
In-Reply-To: <20210629132128.22249-2-jbv@pm.me>

[-- Attachment #1: Type: text/plain, Size: 3083 bytes --]

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.
> 
> Co-Authored-By: zimoun <zimon.toutoune@gmail.com>.
> ---
>  gnu/packages/textutils.scm | 41 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 41 insertions(+)
> 
> 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 © 2019 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
>  ;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz>
>  ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
> +;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
>  ;;;
>  ;;; 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))
> 
> @@ -201,6 +203,45 @@ 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 #: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.txt"
> +                           "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 ‘style’ I
suppose.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

  reply	other threads:[~2021-07-01  8:19 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-09 21:53 [bug#48325] update of julia to 1.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-05-13 14:08 ` [bug#48325] [PATCH v3 0/5] DRAFT: Update " zimoun
2021-05-13 14:11   ` [bug#48325] [PATCH v3 1/5] gnu: Add utf8proc-2.6.1 zimoun
2021-05-13 14:11     ` [bug#48325] [PATCH v3 2/5] gnu: Add pcre2-10.36 zimoun
2021-05-13 14:11     ` [bug#48325] [PATCH v3 3/5] gnu: openlibm: Update to 0.7.4 zimoun
2021-05-14 18:15       ` Maxime Devos
2021-05-13 14:11     ` [bug#48325] [PATCH v3 4/5] DRAFT gnu: julia: Update to 1.6.1 zimoun
2021-05-13 14:11     ` [bug#48325] [PATCH v3 5/5] gnu: julia-benchmarktools: Update to 0.7.0 zimoun
2021-05-13 14:13   ` [bug#48325] [PATCH v3 0/5] DRAFT: Update julia to 1.6.1 Nicolò Balzarotti
2021-06-05 21:38     ` [bug#48325] update of " Ludovic Courtès
2021-06-06 21:26       ` Nicolò Balzarotti
2021-06-13 20:37         ` Jean-Baptiste Volatier via Guix-patches via
2021-06-13 20:54           ` Jean-Baptiste Volatier via Guix-patches via
2021-06-16  5:06             ` [bug#48325] [PATCH v3b 4/5] julia: Update to 1.6.1: where apply upstream patches? zimoun
2021-06-29 13:22               ` [bug#48325] [PATCH 0/4 v4] DRAFT gnu: julia: Update to 1.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-06-29 13:23                 ` [bug#48325] [PATCH 1/4] gnu: Add utf8proc-2.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-07-01  8:18                   ` Maxime Devos [this message]
2021-06-29 13:23                 ` [bug#48325] [PATCH 2/4] gnu: Add pcre2-10.36 Jean-Baptiste Volatier via Guix-patches via
2021-06-29 13:23                 ` [bug#48325] [PATCH 3/4] gnu: openlibm: Update to 0.7.4 Jean-Baptiste Volatier via Guix-patches via
2021-07-01  8:22                   ` Maxime Devos
2021-07-03 17:41                     ` [bug#48325] [PATCH v5 0/5] DRAFT: Update julia to 1.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 17:41                       ` [bug#48325] [PATCH v5 1/5] gnu: Add utf8proc-2.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 17:41                       ` [bug#48325] [PATCH v5 2/5] gnu: Add pcre2-10.36 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 17:41                       ` [bug#48325] [PATCH v5 3/5] gnu: openlibm: Update to 0.7.4 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 17:41                       ` [bug#48325] [PATCH v5 4/5] gnu: julia-staticarrays: Update to 1.2.5 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 17:41                       ` [bug#48325] [PATCH v5 5/5] DRAFT gnu: julia: Update to 1.6.1 Jean-Baptiste Volatier via Guix-patches via
2021-07-03 19:40                         ` Maxime Devos
2021-07-03 19:54                         ` Maxime Devos
2021-07-04  7:17                           ` Jean-Baptiste Volatier via Guix-patches via
2021-07-04 11:43                             ` Maxime Devos
2021-07-04 17:47                               ` Jean-Baptiste Volatier via Guix-patches via
2021-07-04 21:01                                 ` Maxime Devos
2021-07-09 16:12                         ` Efraim Flashner
2021-06-29 13:23                 ` [bug#48325] [PATCH 4/4] " Jean-Baptiste Volatier via Guix-patches via
2021-06-16  4:52           ` [bug#48325] update of julia " zimoun
2021-05-23 20:30   ` [bug#48325] [PATCH v3 0/5] DRAFT: Update " Jean-Baptiste Volatier via Guix-patches via
2021-08-04  8:07 ` bug#48325: update of " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8938340ea306095f3e2a92ff7230de3ff3f255a0.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=48325@debbugs.gnu.org \
    --cc=jbv@pm.me \
    --cc=ludo@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.