From patchwork Mon Apr 25 03:56:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 38861 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BA79027BBEA; Mon, 25 Apr 2022 05:22:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 43E2827BBE9 for ; Mon, 25 Apr 2022 05:22:40 +0100 (BST) Received: from localhost ([::1]:45838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niqFD-0002Ch-DK for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 00:22:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nipvd-00080j-HU for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:29 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nipvc-0001oJ-QY for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:25 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nipvc-0008GZ-Ns for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:24 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55104] [PATCH 086/232] gnu: Add font-amiri. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 04:02:24 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55104 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55104@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 55104-submit@debbugs.gnu.org id=B55104.165085933531582 (code B ref 55104); Mon, 25 Apr 2022 04:02:24 +0000 Received: (at 55104) by debbugs.gnu.org; 25 Apr 2022 04:02:15 +0000 Received: from localhost ([127.0.0.1]:60909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipvS-0008DC-Aq for submit@debbugs.gnu.org; Mon, 25 Apr 2022 00:02:14 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:46070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipu6-0007tT-RL for 55104@debbugs.gnu.org; Mon, 25 Apr 2022 00:00:51 -0400 Received: by mail-qt1-f174.google.com with SMTP id x21so124997qtr.12 for <55104@debbugs.gnu.org>; Sun, 24 Apr 2022 21:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RWMKEjTPGUkyaczv/H0kU4OChJMsNQ/JoqbHs/k2FMQ=; b=oai84n/uVbswN9vXafeA3KU+3gMa+8wqFD2uOknvUqXyIaeCkc/3w50ccmpAUbxgT6 lwhX8RkYjrOpJd4Jqi7VVd6mLtdgmbe/A8ruJVbSJk5z6UwU3c3uwmfnWj1mxsFCP6Kd XWEJFPDJUZs6eAKDO/nB1JJvmdToCFqub0M3x8CXOYUjeA2qA46Qp/GTep3bkQxY9B/F ouSZ8Bs7ckUBAp+3mQT5eZ1kC8oOnodOcqXGP01MUHvJoU/CTzTa/BphSJpw0yEOHGjW 7JSkVdcO4lqf5dmw3vom9WX14AyuHnziDq8a2Xj5s8iCGpnIg7JUR8DHKZ8gZl3IW8Y+ X4tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RWMKEjTPGUkyaczv/H0kU4OChJMsNQ/JoqbHs/k2FMQ=; b=BfS9WwkkQvI3q3R3WtiIs8LtyDb/Pmr8mD+OKGQ/f/73kannezYKo1nhIOZbBtXhAB mPV0ZpcUtRjh0wimBI1e2jL7D9GE0WYwmiDcwVeOf5otsQXmlHtjPW4mAxJCdicaJ2TE t6tWV3764DOabnlEfWKpn/siTzDyhW5iiPYSq4KXtL0Dio7K0Wc9OGmwENu29ofiknui iv+z9amn4MGgyf0h7EqAuUlZTdpqnwqM0iD9qgGdXJYjz/chFNyVmdqjQB7LDxQpKwJ7 agJ1OkSkRTFRssgWlkiPbrTLpvWSpupoLSs1pFP71KOhEfkZ0ALkwfRIAO5NkL3SCoAN Ki3w== X-Gm-Message-State: AOAM533wGSE9OoaPd+3adYDA98hQAJqnOL4dbvbDBqeAGdYq4NIpF3zC /0+2eA5m3nH1+laGYgVutplgcqNYxYEJZA== X-Google-Smtp-Source: ABdhPJyZMh+c5K2rKj1oePyG66Z+96MnkEMtV7Uret58I6Wed+3Iz6aojiOKBw49SCPHEt0t1WBemg== X-Received: by 2002:ac8:5e11:0:b0:2f3:633d:da02 with SMTP id h17-20020ac85e11000000b002f3633dda02mr5282363qtx.469.1650859245102; Sun, 24 Apr 2022 21:00:45 -0700 (PDT) Received: from localhost.localdomain (dsl-150-232.b2b2c.ca. [66.158.150.232]) by smtp.gmail.com with ESMTPSA id w82-20020a376255000000b0069ee3f0ae63sm4478142qkb.45.2022.04.24.21.00.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 21:00:44 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 24 Apr 2022 23:56:52 -0400 Message-Id: <20220425035918.25683-86-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220425035918.25683-1-maxim.cournoyer@gmail.com> References: <20220425035918.25683-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/fonts.scm (font-amiri): New variable. --- gnu/packages/fonts.scm | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index c37303892b..065153e6cf 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -47,6 +47,7 @@ ;;; Copyright © 2022 Kitzman ;;; Copyright © 2021 Wamm K. D. ;;; Copyright © 2022 Jai Vetrivelan +;;; Copyright © 2022 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -69,11 +70,13 @@ (define-module (gnu packages fonts) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix build-system font) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system trivial) + #:use-module (gnu packages c) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages compression) @@ -695,6 +698,49 @@ (define-public font-tex-gyre Heros, Pagella, Schola, Termes.") (license license:gfl1.0))) +(define-public font-amiri + (package + (name "font-amiri") + (version "0.114") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aliftype/amiri") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01d54i68pmy37fhvxv8kld3iqlc1m0vr871zd66y5y4c7kn2v7as")))) + (build-system gnu-build-system) + (arguments + (list + #:imported-modules `(,@%gnu-build-system-modules + (guix build font-build-system)) + #:modules `(,@%gnu-build-system-modules + ((guix build font-build-system) #:prefix font:)) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (assoc-ref font:%standard-phases 'install))))) + (native-inputs + (list python-fonttools + python-pcpp + python-opentype-sanitizer + python-sfdlib + python-ufolib2 + python-ufo2ft + python-wrapper)) + (home-page "https://www.amirifont.org/") + (synopsis "Body text Naskh typeface") + (description "Amiri (أميري) is a classical Arabic typeface in Naskh style +for typesetting books and other running text. Amiri is a revival of the +typeface pioneered in early 20th century by Bulaq Press in Cairo, also known +as Amiria Press, after which the font is named. The uniqueness of this +typeface comes from its balance between the beauty of Naskh calligraphy on one +hand and the constraints and requirements of elegant typography on the +other.") + (license license:silofl1.1))) + (define-public font-anonymous-pro (package (name "font-anonymous-pro")