From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eNszHsdKymEKdwAAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 00:22:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yOGjG8dKymFMEgEA9RJhRA (envelope-from ) for ; Tue, 28 Dec 2021 00:22:47 +0100 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 4383D25432 for ; Tue, 28 Dec 2021 00:22:47 +0100 (CET) Received: from localhost ([::1]:34628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1zKI-0007gY-Ey for larch@yhetil.org; Mon, 27 Dec 2021 18:22:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1zId-0005ZV-Gq for guix-patches@gnu.org; Mon, 27 Dec 2021 18:21:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:32986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1zId-0008SP-4X for guix-patches@gnu.org; Mon, 27 Dec 2021 18:21:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1zId-0000SN-1L for guix-patches@gnu.org; Mon, 27 Dec 2021 18:21:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52789] [PATCH v2 2/4] gnu: Add libunibreak. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Dec 2021 23:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52789 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou , 52789@debbugs.gnu.org Cc: Felix Gruber Received: via spool by 52789-submit@debbugs.gnu.org id=B52789.16406472531687 (code B ref 52789); Mon, 27 Dec 2021 23:21:02 +0000 Received: (at 52789) by debbugs.gnu.org; 27 Dec 2021 23:20:53 +0000 Received: from localhost ([127.0.0.1]:44526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1zIP-0000R3-Hi for submit@debbugs.gnu.org; Mon, 27 Dec 2021 18:20:53 -0500 Received: from mout01.posteo.de ([185.67.36.65]:56005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1zIK-0000QN-FR for 52789@debbugs.gnu.org; Mon, 27 Dec 2021 18:20:45 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E206B24002B for <52789@debbugs.gnu.org>; Tue, 28 Dec 2021 00:20:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640647238; bh=cOi/expp2frgyjNh7qE3Bu1I+GMGdAnkUYGa51PHsA4=; h=From:To:Cc:Subject:Date:From; b=lUViE5D/FEE/8xvbd3Upp26B0jkKitbEDX30LWxVwvHIAhjSb8BwMljthxI2oUqaY Vw7FRjrKN9VEIonFkz1HIbQZNPbKQtl2exDacukCG9ae3+V31ncjDPcA5KM0MPix+D UtIxa2DSmJHrUcqVqVsnAudX6g3pPCXZqxEApVcNJ4Yy666KSh8uoEFbicN5oXkGw5 1uVYqyBCPDvTps8xqs5BPwO7Rd2F4Lm0+xAfihRenzziSuH8llPtuE794Nb3QWhptv 0VWreoKchEvPMeiZMIJ7fPbBkO8pLVPNdf4FRUCYh/JJxD3Ehtr3o+WbBT296rF/lb 0Sj6YAxmx7hVQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JNDDQ07brz9rxG; Tue, 28 Dec 2021 00:20:37 +0100 (CET) From: Felix Gruber Date: Mon, 27 Dec 2021 23:19:44 +0000 Message-Id: <20211227231946.105095-3-felgru@posteo.net> In-Reply-To: <87czli9g3f.fsf@nicolasgoaziou.fr> References: <87czli9g3f.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640647367; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=yq2AjHicQJaJfNZC4lu0quIah+Q1mzRpPGd6T+Tv2NI=; b=R5WSLn9ibb1XXN5FO9aNc+h2X9e+nnaiC9auMb/KBpUElQmHOg6W4TeCOCS0hVMVLFFK5L RsNMeFaiA6xTms4Sg1f00xvmDryybCMzGNaRK7RtOFzY3RU/yl98cFxI8hbULNiDrCDUIL OQ3Uti6BEeqdu75nLnv4zfdNZ7NncAxt9M9AJTk8+XBOZ70ZI86fWFYdmROssBDvOQfTH4 Mfd/tScu0/4MolsTGP3Y5ZQqJVJdfTxnqbf7zLIeXSAuW0ED0JXUVh1xW1e6fS9YlMP1Wi DHFfBpQqg0VjMaQ1W0ylpdaNTdN92bWnh2fNHOqCo66orHZisnjw+JiHFcWCGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640647367; a=rsa-sha256; cv=none; b=AyQDmPeZ61cS7Bxq2TIrhbo/fffqPNefaZtVC+X4ls6d9c5YuswcTFASxhDmIXgldFgnFn IviMkpnMIWJCTeVJKu4Qa8IG/WyYNJh5SvQDxf/+XGbej0soNoX4lif9pelgyUbN8vl2U7 RwA23fWpkQ43Mlu9K03m11GE3kSPOMH1cmwi22EW07ns3+Wxiuh2G7oJNK4pJ+y6kTzyWT h8Lw4eux0uS4/3J/4+jdsq+A8MpGmosycHnmxfe3jf7Otosrc2TUxsww/w8WeMvuxSWBTX E4VpBEzoSd108KmvDHakJBt9luziWphxy4RDGNJvCixJ4YbWM/fx7C10g9uYyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="lUViE5D/"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="lUViE5D/"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4383D25432 X-Spam-Score: -1.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: AwUk6kjgY9wn * gnu/packages/unicode.scm (libunibreak): New variable. --- gnu/packages/unicode.scm | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/unicode.scm b/gnu/packages/unicode.scm index ef78875975..23c5de195c 100644 --- a/gnu/packages/unicode.scm +++ b/gnu/packages/unicode.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020 Liliana Marie Prikler ;;; Copyright © 2020 Efraim Flashner +;;; Copyright © 2021 Felix Gruber ;;; ;;; This file is part of GNU Guix. ;;; @@ -18,13 +19,62 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages unicode) + #:use-module (gnu packages autotools) + #:use-module (guix git-download) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system copy) + #:use-module (guix build-system gnu) #:use-module (guix build-system trivial)) +(define-public libunibreak + (package + (name "libunibreak") + (version "5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/adah1972/libunibreak") + (commit (string-append "libunibreak_" + (string-replace-substring version "." "_"))))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0r5dndhwsiy65lmavz3vdgal9nl8g97hbmdjg6zyq3zh5hs87vwf")))) + (build-system gnu-build-system) + (native-inputs + (list autoconf-wrapper + automake + libtool + ucd-next ; required for tests + )) + (arguments + `(#:parallel-tests? #f ; parallel tests cause non-deterministic + ; build failures + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key inputs #:allow-other-keys) + (for-each (lambda (file) + (copy-file + (search-input-file inputs + (string-append "/share/ucd/auxiliary/" + file)) + (string-append "src/" file))) + '("LineBreakTest.txt" + "WordBreakTest.txt" + "GraphemeBreakTest.txt"))))))) + (home-page "http://vimgadgets.sourceforge.net/libunibreak/") + (synopsis "Unicode line breaking and word breaking algorithms") + (description + "Libunibreak is an implementation of the line breaking and word +breaking algorithms as described in Unicode Standard Annex 14 and +Unicode Standard Annex 29. It is designed to be used in a generic text +renderer.") + (license zlib))) + (define-public ucd (package (name "ucd") -- 2.30.2