gnu: docbook-xsl update to 1.78.1
[jackhill/guix/guix.git] / gnu / packages / inkscape.scm
CommitLineData
1d07e931
JD
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 John Darrington <jmd@gnu.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages inkscape)
20 #:use-module ((guix licenses)
21 #:renamer (symbol-prefix-proc 'license:))
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages)
26 #:use-module (gnu packages aspell)
27 #:use-module (gnu packages bdw-gc)
28 #:use-module (gnu packages boost)
29 #:use-module (gnu packages glib)
30 #:use-module (gnu packages gtk)
31 #:use-module (gnu packages maths)
32 #:use-module (gnu packages perl)
33 #:use-module (gnu packages pdf)
34 #:use-module (gnu packages popt)
35 #:use-module (gnu packages python)
36 #:use-module (gnu packages xml)
37 #:use-module (gnu packages ghostscript)
38 #:use-module (gnu packages fontutils)
e55354b8 39 #:use-module (gnu packages image)
1d07e931
JD
40 #:use-module (gnu packages pkg-config))
41
42(define-public inkscape
43 (package
44 (name "inkscape")
45 (version "0.48.4")
46 (source (origin
47 (method url-fetch)
48 (uri (string-append "mirror://sourceforge/inkscape/inkscape-"
49 version ".tar.gz"))
50 (sha256
51 (base32
52 "0nhxsgrgsx6zrgpkd1akxjvmdqjp8ccnsvlwxh62l0brg84fw6bf"))
53 (patches (list (search-patch "inkscape-stray-comma.patch")))))
54 (build-system gnu-build-system)
55 (inputs
56 `(("aspell" ,aspell)
57 ("gtkmm" ,gtkmm-2)
58 ("gtk" ,gtk+-2)
59 ("gsl" ,gsl)
60 ("poppler" ,poppler)
61 ("libpng" ,libpng)
62 ("libxml2" ,libxml2)
63 ("libxslt" ,libxslt)
ef0383ee
LC
64
65 ;; With libgc 7.4, compilation fails with:
66 ;; gc.cpp:123:1: error: invalid conversion from 'int (*)(void**, const void*)' to 'int (*)(void**, void*)'
67 ("libgc" ,libgc-7.2)
68
1d07e931
JD
69 ("freetype" ,freetype)
70 ("popt" ,popt)
71 ("python" ,python-2)
72 ("lcms" ,lcms)
73 ("boost" ,boost)))
74 (native-inputs
75 `(("intltool" ,intltool)
76 ("perl" ,perl)
77 ("pkg-config" ,pkg-config)))
78 (home-page "http://inkscape.org/")
79 (synopsis "Vector graphics editor")
80 (description "Inkscape is a vector graphics editor. What sets Inkscape
81apart is its use of Scalable Vector Graphics (SVG), an XML-based W3C standard,
82as the native format.")
83 (license license:gpl2+)))