From patchwork Fri Mar 31 07:54:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Goaziou X-Patchwork-Id: 48846 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 056F5172B1; Fri, 31 Mar 2023 08:56:31 +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.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 175B217280 for ; Fri, 31 Mar 2023 08:56:29 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pi9cC-0000Kf-Kp; Fri, 31 Mar 2023 03:56:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pi9cB-0000KT-Ag for guix-patches@gnu.org; Fri, 31 Mar 2023 03:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pi9cA-0001Z2-PD for guix-patches@gnu.org; Fri, 31 Mar 2023 03:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pi9cA-0005KD-Ig for guix-patches@gnu.org; Fri, 31 Mar 2023 03:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62565] [PATCH] gnu: Add texlive-soulutf8. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Mar 2023 07:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62565 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62565@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168024931020273 (code B ref -1); Fri, 31 Mar 2023 07:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Mar 2023 07:55:10 +0000 Received: from localhost ([127.0.0.1]:60312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pi9bJ-0005Go-6P for submit@debbugs.gnu.org; Fri, 31 Mar 2023 03:55:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:50792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pi9bG-0005GS-SM for submit@debbugs.gnu.org; Fri, 31 Mar 2023 03:55:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pi9bG-0000Ad-LB for guix-patches@gnu.org; Fri, 31 Mar 2023 03:55:06 -0400 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pi9bD-00018n-IJ for guix-patches@gnu.org; Fri, 31 Mar 2023 03:55:06 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 8B70010000C for ; Fri, 31 Mar 2023 07:54:57 +0000 (UTC) From: Nicolas Goaziou Date: Fri, 31 Mar 2023 09:54:52 +0200 Message-Id: <20230331075452.592565-1-mail@nicolasgoaziou.fr> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4b98:dc4:8::231; envelope-from=mail@nicolasgoaziou.fr; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tex.scm (texlive-soulutf8): New variable. --- gnu/packages/tex.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) base-commit: 65afc8fa44051da2c5acaa230af74fa0a99cbbd5 diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index b40e72c582..0257bb89a6 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -12452,6 +12452,46 @@ (define-public texlive-soul (define-deprecated-package texlive-generic-soul texlive-soul) +(define-public texlive-soulutf8 + (let ((template (simple-texlive-package + "texlive-soulutf8" + (list "doc/latex/soulutf8/" + "source/latex/soulutf8/" + "tex/generic/soulutf8/") + (base32 + "0d9lv3xsads8ms642ys3pghxnsa2hlzafkcx66d2hbq224bz1phc")))) + (package + (inherit template) + (outputs '("out" "doc")) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #t) "generic/soulutf8") + ((#:build-targets _ '()) '(list "soulutf8.dtx")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ (chdir "source/latex/soulutf8/"))) + (replace 'copy-files + (lambda* (#:key inputs #:allow-other-keys) + (let ((origin (assoc-ref inputs "source")) + (source (string-append #$output + "/share/texmf-dist/source")) + (doc (string-append #$output:doc + "/share/texmf-dist/doc"))) + (copy-recursively (string-append origin "/source") source) + (copy-recursively (string-append origin "/doc") doc)))))))) + (propagated-inputs + (list texlive-generic-etexcmds + texlive-generic-infwarerr + texlive-soul)) + (home-page "https://ctan.org/pkg/soulutf8") + (synopsis "Permit use of UTF-8 characters in @code{soul}") + (description + "This package extends package @code{soul} and adds some support for +UTF-8. Namely the input encodings in @file{utf8.def} from package +@code{inputenc} and @file{utf8x.def} from package @code{ucs} are supported.") + (license license:lppl1.3+)))) + (define-public texlive-xstring (let ((template (simple-texlive-package "texlive-xstring"