gnu: abiword: Disable duplicate icon cache generation.
[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>
8e359335 3;;; Copyright © 2014, 2016 Mark H Weaver <mhw@netris.org>
3f62fa2b 4;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
c4787c78 5;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
2b7eda61 6;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
1d07e931
JD
7;;;
8;;; This file is part of GNU Guix.
9;;;
10;;; GNU Guix is free software; you can redistribute it and/or modify it
11;;; under the terms of the GNU General Public License as published by
12;;; the Free Software Foundation; either version 3 of the License, or (at
13;;; your option) any later version.
14;;;
15;;; GNU Guix is distributed in the hope that it will be useful, but
16;;; WITHOUT ANY WARRANTY; without even the implied warranty of
17;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18;;; GNU General Public License for more details.
19;;;
20;;; You should have received a copy of the GNU General Public License
21;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22
23(define-module (gnu packages inkscape)
b5b73a82 24 #:use-module ((guix licenses) #:prefix license:)
1d07e931
JD
25 #:use-module (guix packages)
26 #:use-module (guix download)
bc351001 27 #:use-module (guix utils)
68f90673 28 #:use-module (guix build-system cmake)
1d07e931
JD
29 #:use-module (gnu packages)
30 #:use-module (gnu packages aspell)
31 #:use-module (gnu packages bdw-gc)
32 #:use-module (gnu packages boost)
33 #:use-module (gnu packages glib)
34 #:use-module (gnu packages gtk)
35 #:use-module (gnu packages maths)
36 #:use-module (gnu packages perl)
37 #:use-module (gnu packages pdf)
38 #:use-module (gnu packages popt)
39 #:use-module (gnu packages python)
40 #:use-module (gnu packages xml)
41 #:use-module (gnu packages ghostscript)
42 #:use-module (gnu packages fontutils)
e55354b8 43 #:use-module (gnu packages image)
1d07e931
JD
44 #:use-module (gnu packages pkg-config))
45
46(define-public inkscape
47 (package
48 (name "inkscape")
2b7eda61 49 (version "0.92.2")
1d07e931
JD
50 (source (origin
51 (method url-fetch)
68f90673
RW
52 (uri (string-append "https://media.inkscape.org/dl/"
53 "resources/file/"
54 "inkscape-" version ".tar.bz2"))
c4787c78
MB
55 (patches
56 (list
57 ;; Fix compatibility with poppler >= 0.58.
58 (origin
59 (method url-fetch)
60 (uri (string-append "https://gitlab.com/inkscape/inkscape/commit/"
61 "9418824967eb4c53371ef8588243fed4cab496e0.patch"))
62 (sha256
63 (base32
64 "0wwyhkqb1qyazz5f6wqrc223l6k8qnmadiw28q8gihlgvh38rvll")))))
1d07e931
JD
65 (sha256
66 (base32
2b7eda61 67 "1lyghk6yarcv9nwkh6k366p6hb7rfilqcvbyji09hki59khd0a56"))))
68f90673 68 (build-system cmake-build-system)
1d07e931
JD
69 (inputs
70 `(("aspell" ,aspell)
71 ("gtkmm" ,gtkmm-2)
72 ("gtk" ,gtk+-2)
73 ("gsl" ,gsl)
74 ("poppler" ,poppler)
75 ("libpng" ,libpng)
76 ("libxml2" ,libxml2)
77 ("libxslt" ,libxslt)
618ea7c9 78 ("libgc" ,libgc)
1d07e931
JD
79 ("freetype" ,freetype)
80 ("popt" ,popt)
81 ("python" ,python-2)
82 ("lcms" ,lcms)
83 ("boost" ,boost)))
84 (native-inputs
85 `(("intltool" ,intltool)
68f90673 86 ("glib" ,glib "bin")
1d07e931
JD
87 ("perl" ,perl)
88 ("pkg-config" ,pkg-config)))
68f90673
RW
89 ;; FIXME: tests require gmock
90 (arguments `(#:tests? #f))
50dc3b8b 91 (home-page "https://inkscape.org/")
1d07e931
JD
92 (synopsis "Vector graphics editor")
93 (description "Inkscape is a vector graphics editor. What sets Inkscape
94apart is its use of Scalable Vector Graphics (SVG), an XML-based W3C standard,
95as the native format.")
96 (license license:gpl2+)))