From patchwork Wed Mar 8 18:32:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Albers Raviola X-Patchwork-Id: 47800 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 BE16116E31; Wed, 8 Mar 2023 18:34:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 6488916E17 for ; Wed, 8 Mar 2023 18:34:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZyc0-0002ON-6I; Wed, 08 Mar 2023 13:34:04 -0500 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 1pZyby-0002OC-Qv for guix-patches@gnu.org; Wed, 08 Mar 2023 13:34:02 -0500 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 1pZyby-0005jp-Il for guix-patches@gnu.org; Wed, 08 Mar 2023 13:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZyby-0004F5-0d for guix-patches@gnu.org; Wed, 08 Mar 2023 13:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62057] [PATCH] gnu: Add dvisvgm. Resent-From: Thomas Albers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Mar 2023 18:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62057@debbugs.gnu.org Cc: Thomas Albers X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167830038916241 (code B ref -1); Wed, 08 Mar 2023 18:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Mar 2023 18:33:09 +0000 Received: from localhost ([127.0.0.1]:50220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZyb6-0004Ds-LS for submit@debbugs.gnu.org; Wed, 08 Mar 2023 13:33:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:42022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZyb4-0004Dk-MT for submit@debbugs.gnu.org; Wed, 08 Mar 2023 13:33:07 -0500 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 1pZyb4-00025Y-Fa for guix-patches@gnu.org; Wed, 08 Mar 2023 13:33:06 -0500 Received: from gamma.thomaslabs.org ([38.242.253.186] helo=localhost) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZyb2-0005Pu-01 for guix-patches@gnu.org; Wed, 08 Mar 2023 13:33:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; t=1678300373; bh=26H+atsvVCxfuAx/nPpD2zUlPVNAdIiceNe2zQr8Y2M=; h=date:subject:cc:to: from; d=thomaslabs.org; b=KVYpTc23q+tvXvXXao74BHSl6VJ5W59BALw7QQFtJ9++ G2gV+fk0wUQ2g27UXaCncjn0r/CE59ZXPUxZC4f8rr1Jbs1ipSnX3eLaOrAv6roUg86cXR i2dcGLm71ruqu8wLAa/QOVd939r4+nwYiediN2rqWSeCHLsMEtOAr3YU4xHT0B2yD3z7Ro 4ah1slLw9A8eOY7LaTaPg8YbdVeYyLpU5bUmUrIjCLsZOcFF2weC3DkZe+CB2dIhkk4WRV HSkJYfVpCOP/5LZoHlRaKUasTU2My95nGv5DCAmAiLksfhJtistfOh7No+UEt8nERXtC8F oHvEXkoEknhdvQmRlg== Received: from alpha.lan (ipservice-092-219-037-093.092.219.pools.vodafone-ip.de [92.219.37.93]) by localhost (OpenSMTPD) with ESMTPSA id 8f450707 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 8 Mar 2023 18:32:53 +0000 (UTC) Date: Wed, 8 Mar 2023 19:32:41 +0100 Message-Id: <20230308183241.11930-1-thomas@thomaslabs.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Received-SPF: pass client-ip=38.242.253.186; envelope-from=thomas@thomaslabs.org; helo=localhost X-Spam_score_int: 17 X-Spam_score: 1.7 X-Spam_bar: + X-Spam_report: (1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FSL_HELO_NON_FQDN_1=0.001, HELO_LOCALHOST=3.828, SPF_PASS=-0.001 autolearn=no 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: , Reply-to: Thomas Albers X-ACL-Warn: , Thomas Albers via Guix-patches X-Patchwork-Original-From: Thomas Albers via Guix-patches via From: Thomas Albers Raviola 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 (dvisvgm): New variable. --- gnu/packages/tex.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index f178bafcc2..c03885b268 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2022 Jack Hill ;;; Copyright © 2022 Fabio Natali ;;; Copyright © 2022 Philip McGrath +;;; Copyright © 2023 Thomas Albers Raviola ;;; ;;; This file is part of GNU Guix. ;;; @@ -63,6 +64,8 @@ (define-module (gnu packages tex) #:use-module (gnu packages bash) #:use-module (gnu packages boost) #:use-module (gnu packages compression) + #:use-module (gnu packages cpp) + #:use-module (gnu packages digest) #:use-module (gnu packages lisp) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) @@ -8297,6 +8300,47 @@ (define-public texmaker develop documents with LaTeX, in a single application.") (license license:gpl2+))) +(define-public dvisvgm + (package + (name "dvisvgm") + (version "3.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mgieseki/dvisvgm") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "11r401yqbw61n1mwsfk5qmwx2c92djwpl0q756qkds5kh25l9ci8")))) + (native-inputs (list pkg-config + autoconf + autoconf-archive + automake + python-wrapper + libtool)) + (inputs (list texlive-libkpathsea + freetype + fontforge + clipper + ghostscript + xxhash + google-brotli + woff2 + zlib)) + (build-system gnu-build-system) + (synopsis "Command-line utility for generating SVG from DVI, EPS and PDF +files") + (description + "Dvisvgm converts TeX DVI, EPS and PDF files into an +SVG (Scalable Vector Graphics) image. It provides full font support including +virtual fonts, font maps and sub-fonts. The embedded SVG fonts can optionally +be replaced with graphics paths for applications that do not support SVG +fonts. Dvisvgm supports also colors, emTeX, tpic, papersize, PDF mapfile +and PostScript specials. A working TeX installation in needed.") + (home-page "https://dvisvgm.de/") + (license license:gpl3+))) + (define-public teximpatient ;; The homepage seems to be distributing this version which is currently the ;; most recent commit