[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: Add pdf2svg.
From: |
Ludovic Courtès |
Subject: |
01/03: gnu: Add pdf2svg. |
Date: |
Thu, 3 Nov 2016 15:01:54 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit 5d68e9d6204333e7ce9d43645a7a49f0dca23270
Author: Arun Isaac <address@hidden>
Date: Sun Oct 30 16:37:28 2016 +0530
gnu: Add pdf2svg.
* gnu/packages/pdf.scm (pdf2svg): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/pdf.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 42547df..8aabacc 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -8,6 +8,7 @@
;;; Coypright © 2016 Marius Bakke <address@hidden>
;;; Coypright © 2016 Ludovic Courtès <address@hidden>
;;; Coypright © 2016 Julien Lepiller <address@hidden>
+;;; Copyright © 2016 Arun Isaac <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -751,3 +752,28 @@ the PDF pages.")
the framebuffer.")
(license license:gpl2+)))
+
+(define-public pdf2svg
+ (package
+ (name "pdf2svg")
+ (version "0.2.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/dawbarton/pdf2svg/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "12pa1pajirnlrkz2il3h4l30lc2prryk1qr132jk6z9y1c3qdcag"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("cairo" ,cairo)
+ ("poppler" ,poppler)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (home-page "http://www.cityinthesky.co.uk/opensource/pdf2svg/")
+ (synopsis "PDF to SVG converter")
+ (description "@command{pdf2svg} is a simple command-line PDF to SVG
+converter using the Poppler and Cairo libraries.")
+ (license license:gpl2+)))