From patchwork Wed Mar 8 18:49:08 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: 47801 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 DBEBF16E34; Wed, 8 Mar 2023 18:50:24 +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=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 384D116E17 for ; Wed, 8 Mar 2023 18:50:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZyrV-0006oG-LD; Wed, 08 Mar 2023 13:50:05 -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 1pZyrT-0006o2-7C for guix-patches@gnu.org; Wed, 08 Mar 2023 13:50:03 -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 1pZyrS-00026h-V0 for guix-patches@gnu.org; Wed, 08 Mar 2023 13:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZyrS-0004gf-Es for guix-patches@gnu.org; Wed, 08 Mar 2023 13:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62057] [PATCH] gnu: Add dvisvgm. References: <20230308183241.11930-1-thomas@thomaslabs.org> In-Reply-To: <20230308183241.11930-1-thomas@thomaslabs.org> Resent-From: Thomas Albers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Mar 2023 18:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62057@debbugs.gnu.org Cc: Thomas Albers Received: via spool by 62057-submit@debbugs.gnu.org id=B62057.167830136817966 (code B ref 62057); Wed, 08 Mar 2023 18:50:02 +0000 Received: (at 62057) by debbugs.gnu.org; 8 Mar 2023 18:49:28 +0000 Received: from localhost ([127.0.0.1]:50229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZyqt-0004fh-Nw for submit@debbugs.gnu.org; Wed, 08 Mar 2023 13:49:28 -0500 Received: from gamma.thomaslabs.org ([38.242.253.186]:41786 helo=localhost) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZyqs-0004fa-Du for 62057@debbugs.gnu.org; Wed, 08 Mar 2023 13:49:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; t=1678301363; bh=FVRY+6sPbIN65hPZkT0oVOMrMMR+ky5LTw4539ahqV0=; h=date:subject:cc:to: from; d=thomaslabs.org; b=CoUhA+3ef1vPxN3821Y7WWfK7ZPDpEL40IEj3UK2zKww 257ptyVcCd7T2+9S/NLoB6dFyV/wEZl2yZlrtxdLtNcbUugmR50kY7GZV225UL3YD4drAs o2FmASjX5uOEcwgajZthEW8HOty5OsuY7jUhfM5zdi5rkF+unC2j6g0IdQkI3X/8DSO3J2 s+ROq3RfYdWWaVhGs85Hw6BHrBacN6jJ8LnV6HemIoQWQencx7mu1qdiDlHHXArMB2QD/0 QklsFaoiCjqVVDwkzDKgcRQdfVtM5Ga+EF91jq7O5dL94ZYJ5m9YSvkqCptLWzfwravIO7 +1FA85hxs5SLwL1Aog== 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 0bc91a6b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 8 Mar 2023 18:49:23 +0000 (UTC) Date: Wed, 8 Mar 2023 19:49:08 +0100 Message-Id: <20230308184908.13234-1-thomas@thomaslabs.org> X-Mailer: git-send-email 2.39.1 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: , 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..5c47619f18 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 is 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