1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
3 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
4 ;;; Copyright © 2017, 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
5 ;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
7 ;;; This file is part of GNU Guix.
9 ;;; GNU Guix is free software; you can redistribute it and/or modify it
10 ;;; under the terms of the GNU General Public License as published by
11 ;;; the Free Software Foundation; either version 3 of the License, or (at
12 ;;; your option) any later version.
14 ;;; GNU Guix is distributed in the hope that it will be useful, but
15 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
19 ;;; You should have received a copy of the GNU General Public License
20 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22 (define-module (gnu packages scribus)
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix utils)
26 #:use-module ((guix licenses) #:prefix license:)
27 #:use-module (guix build-system cmake)
28 #:use-module (gnu packages)
29 #:use-module (gnu packages boost)
30 #:use-module (gnu packages compression)
31 #:use-module (gnu packages cups)
32 #:use-module (gnu packages fontutils)
33 #:use-module (gnu packages ghostscript)
34 #:use-module (gnu packages gtk)
35 #:use-module (gnu packages icu4c)
36 #:use-module (gnu packages image)
37 #:use-module (gnu packages imagemagick)
38 #:use-module (gnu packages libreoffice)
39 #:use-module (gnu packages linux)
40 #:use-module (gnu packages pdf)
41 #:use-module (gnu packages pkg-config)
42 #:use-module (gnu packages python)
43 #:use-module (gnu packages qt)
44 #:use-module (gnu packages tls)
45 #:use-module (gnu packages xml))
47 (define-public scribus
54 (uri (string-append "mirror://sourceforge/scribus/scribus-devel/"
55 version "/scribus-" version ".tar.xz"))
58 "00ys0p6h3iq77kh72dkl0qrf7qvznq18qdrgiq10gfxja1995034"))
59 (modules '((guix build utils)))))
60 (build-system cmake-build-system)
62 `(#:tests? #f ;no test target
64 '("-DWANT_GRAPHICSMAGICK=1")))
69 ("fontconfig" ,fontconfig)
70 ("freetype" ,freetype)
71 ("graphicsmagick" ,graphicsmagick)
72 ("harfbuzz" ,harfbuzz)
73 ("hunspell" ,hunspell)
77 ("libfreehand" ,libfreehand)
79 ("libmspub" ,libmspub)
80 ("libpagemaker" ,libpagemaker)
81 ("librevenge" ,librevenge)
83 ("libvisio" ,libvisio)
89 ("python" ,python-2) ;need Python library
91 ("qtdeclarative" ,qtdeclarative)
94 `(("pkg-config" ,pkg-config)
96 ("util-linux" ,util-linux)))
97 (home-page "https://www.scribus.net")
98 (synopsis "Desktop publishing and page layout program")
100 "Scribus is a @dfn{desktop publishing} (DTP) application and can be used
101 for many tasks; from brochure design to newspapers, magazines, newsletters and
102 posters to technical documentation. Scribus supports professional DTP
103 features, such as CMYK color and a color management system to soft proof
104 images for high quality color printing, flexible PDF creation options,
105 Encapsulated PostScript import/export and creation of four color separations,
106 import of EPS/PS and SVG as native vector graphics, Unicode text including
107 right to left scripts such as Arabic and Hebrew via freetype.")
108 (license license:gpl2+)))