From patchwork Mon Apr 25 03:55:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 38796 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 4438D27BBEA; Mon, 25 Apr 2022 05:14:18 +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 0821327BBE9 for ; Mon, 25 Apr 2022 05:14:18 +0100 (BST) Received: from localhost ([::1]:59898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niq77-0000WG-7A for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 00:14:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nipui-0007lu-C6 for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:33 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nipuM-0001MY-QA for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:17 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nipuM-0007xd-Lm for guix-patches@gnu.org; Mon, 25 Apr 2022 00:01:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55104] [PATCH 013/232] gnu: Add texlive-stix2-otf. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 04:01:06 +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.165085923430250 (code B ref 55104); Mon, 25 Apr 2022 04:01:06 +0000 Received: (at 55104) by debbugs.gnu.org; 25 Apr 2022 04:00:34 +0000 Received: from localhost ([127.0.0.1]:60669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niptp-0007rj-Lx for submit@debbugs.gnu.org; Mon, 25 Apr 2022 00:00:33 -0400 Received: from mail-qv1-f50.google.com ([209.85.219.50]:37677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niptE-0007hU-32 for 55104@debbugs.gnu.org; Sun, 24 Apr 2022 23:59:56 -0400 Received: by mail-qv1-f50.google.com with SMTP id k12so3028591qvc.4 for <55104@debbugs.gnu.org>; Sun, 24 Apr 2022 20:59:55 -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=apY18oBFRylF1H1275dM6ewFqg5S5DyfBvM9e6Bm7gU=; b=cyZrV8jPnHaumTxZGAGElM/1y3NOjxI7srT8br2v5vzeDZmP5popeGZ0N8tuUVKbXV PzslXKc1WU0xP/XCtuMHhuumU7uIyobYSOzPlXv+/5seqxjUug7AWuCG0aHiPNrP27Zp xgL35F9qqvbohDlLCupUT36aitNJmVtnlUi7qt91j2pF8Y7Nhf3EgrD/GTs5fgIDaZzp VUlIbLFW1C/mgaWGUnGGYByCcprX9kYvsNcHveYpkdpivZnlzeo+k/0L2IgG7YLpuvhj 8axc/bTvUf8+h7o/WobOSOZk/GH954++aY6QauIw+etB8Rp3SM8Cj124doCPUmqg3zsx 3d3A== 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=apY18oBFRylF1H1275dM6ewFqg5S5DyfBvM9e6Bm7gU=; b=vlqh1fLrd76aLtGUxp7BT/QSilavcSwJJbVy4+fc+DpJWNPabm/LfIVf8RwqlQ6yNq ecPs0Y84YLww7mEbI/PbHUIvGCgL2+9EwzszYfMNcRT60kJaCwA550FY+ZAcHna8pWfe Q6SHC/IhdsxLJ1GIAYsDacsXMU2/g/XGYMcuxaYqyn10y8PVYvKsYCBBBviJQt6UFsZB dVC2tGm+MpjiD4uYL7909Xhg8DjSO/nmw+7dRvpgwDIjzCOknzK7O8g6A+SPj1VyT4bc mChWT5fZxotiD0D9Up5Be1f9UM8mmFy9C5rqKOO/0Yr+rjnEtoPK9/7XDFyqZ8Ckj8Yp HrOA== X-Gm-Message-State: AOAM530iobzRogPMU3zBNgMa5o4/1jKDSQqs1mmLFXDk/RW7QZT2veIH /w5DtumyaLZeFIrJFuan/9kK0nuQFGXpsQ== X-Google-Smtp-Source: ABdhPJwENu1EXLF1ujXNiKOYGPMTvXl+NrxbY1mGJcXpwxQ1lpGQEwM3139qI2KJeMvEQYj+GLIGgg== X-Received: by 2002:a05:6214:252b:b0:456:3c29:2d8e with SMTP id gg11-20020a056214252b00b004563c292d8emr414141qvb.89.1650859190398; Sun, 24 Apr 2022 20:59:50 -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.20.59.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 20:59:50 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 24 Apr 2022 23:55:39 -0400 Message-Id: <20220425035918.25683-13-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/tex.scm (texlive-stix2-otf): New variable. --- gnu/packages/tex.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 8c31d131b6..c3129ebd60 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6445,6 +6445,41 @@ (define-public texlive-latex-pdfpages use this package to insert PostScript files, in addition to PDF files.") (license license:lppl1.3+))) +(define-public texlive-stix2-otf + (let ((base (simple-texlive-package + "texlive-stix2-otf" + (list "/doc/fonts/stix2-otf/" + "/fonts/opentype/public/stix2-otf/") + (base32 "0i7rd1wn5jgm3gbi779gy78apz63w034ck4pn73xw6s10zgjzmgl") + ;; Building these fonts requires FontLab, which is nonfree. + #:trivial? #t))) + (package + (inherit base) + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'install 'symlink-fonts-to-system-fonts-prefix + ;; This is so that fontconfig can locate the fonts, such as + ;; when using xetex or xelatex. + (lambda _ + (let ((system-fonts-prefix (string-append #$output + "/share/fonts"))) + (mkdir-p system-fonts-prefix) + (symlink (string-append + #$output "/share/texmf-dist/fonts/opentype" + "/public/stix2-otf") + (string-append system-fonts-prefix + "/stix2-otf"))))))))) + (home-page "https://www.stixfonts.org/") + (synopsis "OpenType Unicode text and maths fonts") + (description "The Scientific and Technical Information eXchange (STIX) +fonts are intended to satisfy the demanding needs of authors, publishers, +printers, and others working in the scientific, medical, and technical fields. +They combine a comprehensive Unicode-based collection of mathematical symbols +and alphabets with a set of text faces suitable for professional publishing.") + (license license:silofl1.1)))) + (define-public texlive-stmaryrd (let ((template (simple-texlive-package "texlive-stmaryrd"