From patchwork Mon Apr 25 03:56:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 38879 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 336C727BBEA; Mon, 25 Apr 2022 05:25:26 +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 B771127BBE9 for ; Mon, 25 Apr 2022 05:25:25 +0100 (BST) Received: from localhost ([::1]:50618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niqHs-0005aY-Si for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 00:25:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nipvf-00080y-N3 for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:31 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38823) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nipve-0001oa-DS for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nipve-0008H9-9H for guix-patches@gnu.org; Mon, 25 Apr 2022 00:02:26 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55104] [PATCH 088/232] gnu: Add texlive-bidi. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 04:02:26 +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.165085933631605 (code B ref 55104); Mon, 25 Apr 2022 04:02:26 +0000 Received: (at 55104) by debbugs.gnu.org; 25 Apr 2022 04:02:16 +0000 Received: from localhost ([127.0.0.1]:60915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipvT-0008Db-AJ for submit@debbugs.gnu.org; Mon, 25 Apr 2022 00:02:15 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:39430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nipu8-0007tq-0q for 55104@debbugs.gnu.org; Mon, 25 Apr 2022 00:00:52 -0400 Received: by mail-qt1-f181.google.com with SMTP id v2so2899351qto.6 for <55104@debbugs.gnu.org>; Sun, 24 Apr 2022 21:00:51 -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=WudLYZUZuU7W3nneP54rVOjbu9T1CW4TlqrCVDv4l3I=; b=QhA54bkUGQMq3vUVUprU/qmmEN22pFC9pZVKTVpARBBYePAQGwrHIn0Jku+8V1ZYhD X6kl8CcFVtVnMNjAiOmqKRuxOIuhAwJ6qrQEg8vsYH1w6SzxS8jK+wCVG4IqiuRLdvKl Um0eEHmpM9G848FOjWD+UqfhmPpoURkOd5oiikrTD3d7cmPi4JjYTRMFjN67noEeJGac BiGcJmCUBLyvMHXFv/vDAcd3U/a0m605a+p4oLXoe+bqR8rOC4RtarvrWQ1/8Wx2igIE 8BYM/RfKw1Pnh0FSrSW0yiPlwgNl8USXEUHhIGfxpWJqnt9vqUCit34SYemc8Y75htjo 9H1A== 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=WudLYZUZuU7W3nneP54rVOjbu9T1CW4TlqrCVDv4l3I=; b=DH2O7QlAbI5NXSbYneGTq4bd4yvEB6iENlbV0Lwjf2xX//vAcvBq5blxX/BD9GFDrq ZPRBvOS9llGiw6FW7f8/QQA12pfz9IgYTUT4/pFXYV0WgJhsNx6+rOEYGQw/PZEpUCf7 o6h77eaW6ovoQ5LTYK2uarOzQH2VjPDfJL2SaG/yRvpDuwdzfaufeF6zunbZv0TtZRNN JkJt/OwJ7E6yZNZlD6cjaCc8jhRMFEaZbzpl3OC444SJ8cVmRdd8J59WBkjoMTjQLnge Q7wTpePF/AJQ/mObtVCLcYdGk/B9IEiIsoathEBtGFYsnaGc+keOI1Vx9+bH/jBI35C6 JsHg== X-Gm-Message-State: AOAM531JRVSju6VL20xqPNxOGewzWBPTUvHKPWCudaDicewTGiMpbJ2i VOIMw20FKRvyZFhqiHY5y4gi53p1SZVx5w== X-Google-Smtp-Source: ABdhPJxaxwdFSEdxk0A2lafT+HbmY61cy8nqShlFH2ier/UIO/ZKt/6aAWeOnbuYfY4uHU8AlIRg9g== X-Received: by 2002:a05:622a:13c6:b0:2e2:2778:2ea5 with SMTP id p6-20020a05622a13c600b002e227782ea5mr10669133qtk.512.1650859246448; Sun, 24 Apr 2022 21:00:46 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 21:00:46 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 24 Apr 2022 23:56:54 -0400 Message-Id: <20220425035918.25683-88-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-bidi): New variable. --- gnu/packages/tex.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 1ebaceb322..6fc1d4fdbf 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -561,6 +561,52 @@ (define (substitute-commands scripts) (license (license:fsf-free "https://www.tug.org/texlive/copying.html")) (home-page "https://www.tug.org/texlive/"))) +(define-public texlive-bidi + (package + (name "texlive-bidi") + ;; Take the version from texlive-2022.0 as the one from texlive 2021.0 is + ;; buggy. + (version "36.4") + (source (origin + (method svn-multi-fetch) + (uri (svn-multi-reference + (url (string-append "svn://www.tug.org/texlive/tags/" + "texlive-2022.0/Master/texmf-dist")) + (locations (list "doc/xelatex/bidi/" + "source/xelatex/bidi/")) + (revision 62885))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "09nfvsjfnms3pclyd2rcivyb5qvzw48b934i3bcl83hv69ix2ks7")))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (arguments + (list + #:tex-directory "xelatex/bidi" + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "source/xelatex/bidi"))) + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (let ((doc (string-append (assoc-ref outputs "doc") + "/share/texmf-dist/doc"))) + (mkdir-p doc) + (copy-recursively (string-append #$source "/doc") + doc))))))) + (propagated-inputs (list texlive-generic-iftex + texlive-generic-ltxcmds + texlive-hyperref + texlive-latex-xkeyval + texlive-zref)) + (home-page "https://ctan.org/pkg/bidi") + (synopsis "Bidirectional typesetting in plain TeX and LaTeX using XeTeX") + (description "The @code{bidi} package provides a convenient interface for +typesetting bidirectional texts with plain TeX and LaTeX. The package +includes adaptations for use with many other commonly-used packages.") + (license license:lppl1.3+))) + (define-public texlive-libkpathsea (package/inherit texlive-bin (name "texlive-libkpathsea")