From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WPL1KPXYCGRoDgEASxT56A (envelope-from ) for ; Wed, 08 Mar 2023 19:50:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sJb0KPXYCGRvJwEA9RJhRA (envelope-from ) for ; Wed, 08 Mar 2023 19:50:29 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 64DBC266A4 for ; Wed, 8 Mar 2023 19:50:24 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=thomaslabs.org header.s=default header.b=CoUhA+3e; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678301424; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gE7gyeyALnuAShz0PcaM/wdb5gwErabQeMKbs1bzmB4=; b=aQLHIV9QdaqUqtOaWplbN6r+ItQK/gdYjVeBxO1/emcfLaQ02RFRbj5HGOrGwuWFRF/S0i 1+yIbvnLvzQuBRv+9AN8EDkngRgYKmm4CDlSipkOTi3YksSz4rRGBF6YwZ/d3hwFJ4hxqL HhaOqwI8vYwAbKGDagyoaTOkW4XrKaQwnsZvLMFJvsaDdeoRDLnSHoX0Hvvd7cpFqBMKmu IJQa+eE5sjgUbF1h4Y10PfVpPggDyEbH56GvdfzKq43LYnnncxRzHX7XrM+7SkTO7PT50f 5Q6AZzFaVkA8NfcfJom1SvcNYrhPxd4ti2xHNfvHBbPx56oNvcUcs315EzJpCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678301424; a=rsa-sha256; cv=none; b=H/CN1jxtSo7eNOhigY3bdnSWQW3+XSICItKWJ8HD/JuGKQtmYQkGIHcd+JLe/hatiSgClQ gZSf/gYdC54OElxOzkCHM+VslNRrQ1VYYv1MVKdyIDqGsfDkTbROD74doLQ72LSS9D7QOG WTtjb0IetMTbKq4PfrUSxmqOVSFwFcWLCEJaqs9Erh7FcCR9Nc+iYDuRW10sSXkzP8geCd 1jmQkOvYFEuyJsOfoB9hsYDDLr5+whlHOAtN5AEq0v89PTuNWxWtbEhFcT9FMz8yrpoUkh 8T0l4KE4A9jv54dn0lydNoG59r+WzyNiazvvGT1Hew8Z6QyZoo5jqgAKOLZCWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=thomaslabs.org header.s=default header.b=CoUhA+3e; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 64DBC266A4 X-Spam-Score: -5.30 X-Migadu-Spam-Score: -5.30 X-ACL-Warn: , Thomas Albers via Guix-patches From: Thomas Albers via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: A+OSdd5u1aZW * 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 -- 2.39.1