From patchwork Thu Sep 22 14:59:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Wiktor_=C5=BBelazny?= X-Patchwork-Id: 42848 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 0306927BBEA; Thu, 22 Sep 2022 17:32:14 +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.9 required=5.0 tests=BAYES_00,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 AF95327BBE9 for ; Thu, 22 Sep 2022 17:32:13 +0100 (BST) Received: from localhost ([::1]:37340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obP7U-0006dK-P5 for patchwork@mira.cbaines.net; Thu, 22 Sep 2022 12:32:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obNgM-0002tu-CP for guix-patches@gnu.org; Thu, 22 Sep 2022 11:00:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obNgJ-0001fS-Fa for guix-patches@gnu.org; Thu, 22 Sep 2022 11:00:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obNgJ-0000jE-1a for guix-patches@gnu.org; Thu, 22 Sep 2022 11:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58006] [PATCH] gnu: Add texlive-generic-xstring. Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Sep 2022 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58006 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58006@debbugs.gnu.org Cc: Wiktor =?utf-8?q?=C5=BBelazny?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16638587772734 (code B ref -1); Thu, 22 Sep 2022 15:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Sep 2022 14:59:37 +0000 Received: from localhost ([127.0.0.1]:38221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obNft-0000i2-6H for submit@debbugs.gnu.org; Thu, 22 Sep 2022 10:59:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:51278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obNfp-0000ht-Q9 for submit@debbugs.gnu.org; Thu, 22 Sep 2022 10:59:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obNfp-0002So-8i for guix-patches@gnu.org; Thu, 22 Sep 2022 10:59:33 -0400 Received: from freeshell.de ([116.202.128.144]:37734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obNfn-00011u-C6 for guix-patches@gnu.org; Thu, 22 Sep 2022 10:59:33 -0400 Received: from localhost.localdomain (cst-prg-93-201.cust.vodafone.cz [46.135.93.201]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id 2268DB360C87; Thu, 22 Sep 2022 16:59:23 +0200 (CEST) From: Wiktor =?utf-8?q?=C5=BBelazny?= Date: Thu, 22 Sep 2022 16:59:10 +0200 Message-Id: <20220922145910.19305-1-wz@freeshell.de> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Received-SPF: pass client-ip=116.202.128.144; envelope-from=wz@freeshell.de; helo=freeshell.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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" X-getmail-retrieved-from-mailbox: Patches From: Wiktor Żelazny * gnu/packages/tex.scm (texlive-generic-xstring): New variable. --- gnu/packages/tex.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) base-commit: 3c4024e9f50a064d6458875623eb199a882feb53 diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 9be9f73137..89f5ff9f22 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11766,6 +11766,27 @@ (define-public texlive-generic-soul (PDF)LaTeX; some UTF-8 support is offered by package @code{soulutf8}.") (license license:lppl)))) +(define-public texlive-generic-xstring + (let ((template (simple-texlive-package + "texlive-generic-xstring" + (list "/doc/generic/xstring/" + "/tex/generic/xstring/") + (base32 + "1azpq855kq1l4686bjp8haxim5c8wycz1b6lcg5q7x8kb4g9sppn") + #:trivial? #t))) + (package + (inherit template) + (home-page "http://www.ctan.org/pkg/xstring") + (synopsis "String manipulation for (La)TeX") + (description + "@code{xstring} package provides macros for manipulating strings -- +testing a string's contents, extracting substrings, substitution of substrings +and providing numbers such as string length, position of, or number of +recurrences of, a substring. The package works equally in Plain TeX and LaTeX +(though e-TeX is always required). The strings to be processed may contain +(expandable) macros.") + (license license:lppl1.3c)))) + (define-public texlive-latex-totcount (package (inherit (simple-texlive-package