mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add libharu.
* gnu/packages/pdf.scm (libharu): New variable.
This commit is contained in:
parent
5082eac957
commit
aae8ba4746
1 changed files with 41 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2014, 2015 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2014, 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
||||||
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
|
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
|
@ -28,6 +28,7 @@ (define-module (gnu packages pdf)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
|
#:use-module (gnu packages autotools)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages fontutils)
|
#:use-module (gnu packages fontutils)
|
||||||
#:use-module (gnu packages ghostscript)
|
#:use-module (gnu packages ghostscript)
|
||||||
|
@ -154,6 +155,45 @@ (define-public python-poppler-qt4
|
||||||
Poppler PDF rendering library.")
|
Poppler PDF rendering library.")
|
||||||
(license license:lgpl2.1+)))
|
(license license:lgpl2.1+)))
|
||||||
|
|
||||||
|
(define-public libharu
|
||||||
|
(package
|
||||||
|
(name "libharu")
|
||||||
|
(version "2.3.0")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://github.com/libharu/libharu/archive/"
|
||||||
|
"RELEASE_"
|
||||||
|
(string-join (string-split version #\.) "_")
|
||||||
|
".tar.gz"))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1lm4v539y9cb1lvbq387j57sy7yxda3yv8b1pk8m6zazbp66i7lg"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:configure-flags
|
||||||
|
(list (string-append "--with-zlib="
|
||||||
|
(assoc-ref %build-inputs "zlib"))
|
||||||
|
(string-append "--with-png="
|
||||||
|
(assoc-ref %build-inputs "libpng")))
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'autogen
|
||||||
|
(lambda _ (zero? (system* "autoreconf" "-vif")))))))
|
||||||
|
(inputs
|
||||||
|
`(("zlib" ,zlib)
|
||||||
|
("libpng" ,libpng)))
|
||||||
|
(native-inputs
|
||||||
|
`(("autoconf" ,autoconf)
|
||||||
|
("automake" ,automake)
|
||||||
|
("libtool" ,libtool)))
|
||||||
|
(home-page "http://libharu.org/")
|
||||||
|
(synopsis "Library for generating PDF files")
|
||||||
|
(description
|
||||||
|
"libHaru is a library for generating PDF files. libHaru does not support
|
||||||
|
reading and editing of existing PDF files.")
|
||||||
|
(license license:zlib)))
|
||||||
|
|
||||||
(define-public xpdf
|
(define-public xpdf
|
||||||
(package
|
(package
|
||||||
(name "xpdf")
|
(name "xpdf")
|
||||||
|
|
Loading…
Reference in a new issue