diff options
| author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-01-14 14:47:37 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-01-19 12:38:42 +0100 |
| commit | 01aae5fcce851d2cf9b6ee6683d38de7fa923a1c (patch) | |
| tree | 6a087b1c97f4e6bc48e98b1c4db3ee214f692835 | |
| parent | 7873318d301d5a44030f1604e0d27ab9d318eb9b (diff) | |
gnu: Add IJS
* gnu/packages/ghostscript.scm (ijs): New variable.
| -rw-r--r-- | gnu/packages/ghostscript.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index 405b4e744e9..e2d4e618fac 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr> | 2 | ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr> |
| 3 | ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> | 3 | ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> |
| 4 | ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net> | ||
| 4 | ;;; | 5 | ;;; |
| 5 | ;;; This file is part of GNU Guix. | 6 | ;;; This file is part of GNU Guix. |
| 6 | ;;; | 7 | ;;; |
| @@ -19,6 +20,7 @@ | |||
| 19 | 20 | ||
| 20 | (define-module (gnu packages ghostscript) | 21 | (define-module (gnu packages ghostscript) |
| 21 | #:use-module (gnu packages) | 22 | #:use-module (gnu packages) |
| 23 | #:use-module (gnu packages autotools) | ||
| 22 | #:use-module (gnu packages compression) | 24 | #:use-module (gnu packages compression) |
| 23 | #:use-module (gnu packages fontutils) | 25 | #:use-module (gnu packages fontutils) |
| 24 | #:use-module (gnu packages image) | 26 | #:use-module (gnu packages image) |
| @@ -164,6 +166,49 @@ output file formats and printers.") | |||
| 164 | (license license:agpl3+) | 166 | (license license:agpl3+) |
| 165 | (home-page "http://www.gnu.org/software/ghostscript/"))) | 167 | (home-page "http://www.gnu.org/software/ghostscript/"))) |
| 166 | 168 | ||
| 169 | (define-public ijs | ||
| 170 | (package | ||
| 171 | (name "ijs") | ||
| 172 | (version "9.14.0") | ||
| 173 | (source (origin | ||
| 174 | (method url-fetch) | ||
| 175 | (uri (string-append "mirror://gnu/ghostscript/gnu-ghostscript-" | ||
| 176 | version ".tar.xz")) | ||
| 177 | (sha256 (base32 | ||
| 178 | "0q4jj41p0qbr4mgcc9q78f5zs8cm1g57wgryhsm2yq4lfslm3ib1")))) | ||
| 179 | (build-system gnu-build-system) | ||
| 180 | (native-inputs | ||
| 181 | `(("libtool" ,libtool) | ||
| 182 | ("automake" ,automake) | ||
| 183 | ("autoconf" ,autoconf))) | ||
| 184 | (arguments | ||
| 185 | `(#:phases | ||
| 186 | (alist-cons-after | ||
| 187 | 'unpack 'autogen | ||
| 188 | (lambda _ | ||
| 189 | ;; need to regenerate macros | ||
| 190 | (system* "autoreconf" "-if") | ||
| 191 | ;; do not run configure | ||
| 192 | (substitute* "autogen.sh" | ||
| 193 | (("^.*\\$srcdir/configure.*") "")) | ||
| 194 | (system* "bash" "autogen.sh") | ||
| 195 | |||
| 196 | ;; create configure script in ./ijs/ | ||
| 197 | (chdir "ijs") | ||
| 198 | ;; do not run configure | ||
| 199 | (substitute* "autogen.sh" | ||
| 200 | (("^.*\\$srcdir/configure.*") "") | ||
| 201 | (("^ + && echo Now type.*$") "")) | ||
| 202 | (zero? (system* "bash" "autogen.sh"))) | ||
| 203 | %standard-phases))) | ||
| 204 | (synopsis "IJS driver framework for inkjet and other raster devices") | ||
| 205 | (description | ||
| 206 | "IJS is a protocol for transmission of raster page images. This package | ||
| 207 | provides the reference implementation of the raster printer driver | ||
| 208 | architecture.") | ||
| 209 | (license license:expat) | ||
| 210 | (home-page "http://www.gnu.org/software/ghostscript/"))) | ||
| 211 | |||
| 167 | (define-public gs-fonts | 212 | (define-public gs-fonts |
| 168 | (package | 213 | (package |
| 169 | (name "gs-fonts") | 214 | (name "gs-fonts") |
