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 mD3qDfkex2FF8gAAgWs5BA (envelope-from ) for ; Sat, 25 Dec 2021 14:39:05 +0100 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 ECLgAfkex2HIfAAAbx9fmQ (envelope-from ) for ; Sat, 25 Dec 2021 13:39:05 +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 8B4E594F5 for ; Sat, 25 Dec 2021 14:39:04 +0100 (CET) Received: from localhost ([::1]:35314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n17GJ-0004P8-8w for larch@yhetil.org; Sat, 25 Dec 2021 08:39:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n17FO-0004OA-Ss for guix-patches@gnu.org; Sat, 25 Dec 2021 08:38:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n17FK-0000GY-HV for guix-patches@gnu.org; Sat, 25 Dec 2021 08:38:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n17FK-0000kd-D7 for guix-patches@gnu.org; Sat, 25 Dec 2021 08:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52789] [PATCH 1/3] gnu: Add libunibreak. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Dec 2021 13:38: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: 52789@debbugs.gnu.org Cc: Felix Gruber Received: via spool by 52789-submit@debbugs.gnu.org id=B52789.16404394482811 (code B ref 52789); Sat, 25 Dec 2021 13:38:02 +0000 Received: (at 52789) by debbugs.gnu.org; 25 Dec 2021 13:37:28 +0000 Received: from localhost ([127.0.0.1]:38678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n17El-0000jH-VP for submit@debbugs.gnu.org; Sat, 25 Dec 2021 08:37:28 -0500 Received: from mout02.posteo.de ([185.67.36.66]:40133) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n17Ej-0000ix-VD for 52789@debbugs.gnu.org; Sat, 25 Dec 2021 08:37:26 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 30928240104 for <52789@debbugs.gnu.org>; Sat, 25 Dec 2021 14:37:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640439440; bh=taKtth7d44SrWLFYhmsb5XOgcaePG3y5VjhzO7b0xO0=; h=From:To:Cc:Subject:Date:From; b=Pp1+ZGR+F9ZwBoowf1jAGj1NJ9fZ3LWiJxAGQfUYaiR1UilZP+L61U6nWW2qkZK3y jB9KM0ThVZAdqU2h+GmCywDqSJ2FnELxfo2CKXP6lCI3f2X8RSzFdZGsDw8FzhbeaT kAej8uyJ9qFFoXR6zDubSQlwkDqk5Weu78OqrXkXhVtG356ESd5XjnLVTW8mUsnuYf A4YO2QpIsrBD3oE99nwnmAh7YzGJBypM6JRdliDJlRi2t3+JN9irkW6W3oKD0eCEKY hzyAqwYFhID9X5b920x7NnNW75PyAhgsbf4zVdBjVME89vwOtD988PYu9q9VHJLCmj 56a11F8TqWDCA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JLlNH0qmHz9rxK; Sat, 25 Dec 2021 14:37:18 +0100 (CET) From: Felix Gruber Date: Sat, 25 Dec 2021 13:37:04 +0000 Message-Id: <20211225133706.2964-1-felgru@posteo.net> In-Reply-To: <20211225133420.2456-1-felgru@posteo.net> References: <20211225133420.2456-1-felgru@posteo.net> 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=1640439544; 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=ajNsXLL51evi0Tmq7Xfgm/teKeLMGfEaIHUNuEOUu6s=; b=a9ElvbHihViWesIcZfLDaKKDuM0rTOpB9TyGe2kRYiqCQ2idtnl6WHSk4muQPSXJsp6M/Q 7jpU3hrSPNdVCzPkxM9pd7eG5n12Zt2g0F8QfcbvmUrKzr5gpBI4ofRP/BYL3jWBvk1VT6 75aL6RFt1PLVYxZdRdsTMUVisp2ynpzb7QvaXE8I5me3QTQnHBhgCmzbWHf70xoGsCOVzI zoVgwXLJ1boVIph+fcQHDqDFbbvQj/AQpEiyQlv4+CF8wNBtE2mZqF5EyDdIPSod0I8i9U 9tRvWHqQsQtsmn6trpLyDp79KAsojqcqVbsxjxgNRH5td+sRhCeahOWrHgccjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640439544; a=rsa-sha256; cv=none; b=b3e8saJwchh6Myv6NJ68S7sjF7uXo1WiJkefjtEb8+KNA2uuDATpcWov/PE2CrsZ2PfCaY IjaVNrX0cIWNb8uUd+HO1xKRrZUdJOHJ0CkyDxKfRxcGUphGIzUkmZMBEmmc7hfA1DkMax NWXxtBLwTsEAXlzjSJRCN+q/TvGeiwOJeTHLBT44tfhG9epua0jW9lhlZMgF7Qfryye0WP NN+4G4d+ZO6yz/a+OjfAGqZJ2Qaqb+tUP+c59Z8R3B3keIvwf0hoNXyaHIQ2mjoZCB8w77 CRDIhIpgm1bGl3mFVQpBoPbvwM2YzEaL5sLq9XoObwxE1zVTM+niDj8Zy/sWcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Pp1+ZGR+; 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.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Pp1+ZGR+; 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: 8B4E594F5 X-Spam-Score: -1.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: D88nJXkyeclY * gnu/packages/unicode.scm (libunibreak): New variable. --- gnu/packages/unicode.scm | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/unicode.scm b/gnu/packages/unicode.scm index 806fe05fb6..a5216a38dd 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,60 @@ ;;; 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 "4.2-1") + (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 + "182327vv2bqn5pr7v2ain0j4f2q97fvgimyv08vj66bqkxmhm7a3")))) + (build-system gnu-build-system) + (native-inputs + (list autoconf-wrapper + automake + libtool + ucd ; required for tests + )) + (arguments + `(#: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