unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#62057] [PATCH] gnu: Add dvisvgm.
@ 2023-03-08 18:32 Thomas Albers via Guix-patches via
  2023-03-08 18:48 ` [bug#62057] Typo Thomas Albers Raviola via Guix-patches via
  2023-03-08 18:49 ` [bug#62057] [PATCH] gnu: Add dvisvgm Thomas Albers via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Albers via Guix-patches via @ 2023-03-08 18:32 UTC (permalink / raw)
  To: 62057; +Cc: Thomas Albers

* 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 <jackhill@jackhill.us>
 ;;; Copyright © 2022 Fabio Natali <me@fabionatali.com>
 ;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
+;;; Copyright © 2023 Thomas Albers Raviola <thomas@thomaslabs.org>
 ;;;
 ;;; 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
-- 
2.39.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#62057] Typo
  2023-03-08 18:32 [bug#62057] [PATCH] gnu: Add dvisvgm Thomas Albers via Guix-patches via
@ 2023-03-08 18:48 ` Thomas Albers Raviola via Guix-patches via
  2023-03-08 18:49 ` [bug#62057] [PATCH] gnu: Add dvisvgm Thomas Albers via Guix-patches via
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Albers Raviola via Guix-patches via @ 2023-03-08 18:48 UTC (permalink / raw)
  To: 62057

Too late I noticed a typo in the description. A fixed patch follows.

Sorry,

Thomas 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#62057] [PATCH] gnu: Add dvisvgm.
  2023-03-08 18:32 [bug#62057] [PATCH] gnu: Add dvisvgm Thomas Albers via Guix-patches via
  2023-03-08 18:48 ` [bug#62057] Typo Thomas Albers Raviola via Guix-patches via
@ 2023-03-08 18:49 ` Thomas Albers via Guix-patches via
  2023-03-21 18:01   ` bug#62057: " Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Albers via Guix-patches via @ 2023-03-08 18:49 UTC (permalink / raw)
  To: 62057; +Cc: Thomas Albers

* 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 <jackhill@jackhill.us>
 ;;; Copyright © 2022 Fabio Natali <me@fabionatali.com>
 ;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
+;;; Copyright © 2023 Thomas Albers Raviola <thomas@thomaslabs.org>
 ;;;
 ;;; 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#62057: [PATCH] gnu: Add dvisvgm.
  2023-03-08 18:49 ` [bug#62057] [PATCH] gnu: Add dvisvgm Thomas Albers via Guix-patches via
@ 2023-03-21 18:01   ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2023-03-21 18:01 UTC (permalink / raw)
  To: Thomas Albers; +Cc: 62057-done

Hi,

Thomas Albers <thomas@thomaslabs.org> skribis:

> * gnu/packages/tex.scm (dvisvgm): New variable.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-21 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-08 18:32 [bug#62057] [PATCH] gnu: Add dvisvgm Thomas Albers via Guix-patches via
2023-03-08 18:48 ` [bug#62057] Typo Thomas Albers Raviola via Guix-patches via
2023-03-08 18:49 ` [bug#62057] [PATCH] gnu: Add dvisvgm Thomas Albers via Guix-patches via
2023-03-21 18:01   ` bug#62057: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).