projects/guix·blob javascript-team · refs

109 lines · 3.9 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2015, 2018, 2023 Ricardo Wurmus <[email protected]>
3;;; Copyright © 2016 Efraim Flashner <[email protected]>
4;;; Copyright © 2017, 2018, 2021, 2022, 2024, 2025 Nicolas Goaziou <[email protected]>
5;;; Copyright © 2018 Clément Lassieur <[email protected]>
6;;; Copyright © 2019 Marius Bakke <[email protected]>
7;;; Copyright © 2020, 2021 Tobias Geerinckx-Rice <[email protected]>
8;;;
9;;; This file is part of GNU Guix.
10;;;
11;;; GNU Guix is free software; you can redistribute it and/or modify it
12;;; under the terms of the GNU General Public License as published by
13;;; the Free Software Foundation; either version 3 of the License, or (at
14;;; your option) any later version.
15;;;
16;;; GNU Guix is distributed in the hope that it will be useful, but
17;;; WITHOUT ANY WARRANTY; without even the implied warranty of
18;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19;;; GNU General Public License for more details.
20;;;
21;;; You should have received a copy of the GNU General Public License
22;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
23
24(define-module (gnu packages scribus)
25 #:use-module (guix packages)
26 #:use-module (guix download)
27 #:use-module (guix utils)
28 #:use-module ((guix licenses) #:prefix license:)
29 #:use-module (guix build-system cmake)
30 #:use-module (gnu packages)
31 #:use-module (gnu packages boost)
32 #:use-module (gnu packages compression)
33 #:use-module (gnu packages cups)
34 #:use-module (gnu packages fontutils)
35 #:use-module (gnu packages ghostscript)
36 #:use-module (gnu packages gtk)
37 #:use-module (gnu packages hunspell)
38 #:use-module (gnu packages icu4c)
39 #:use-module (gnu packages image)
40 #:use-module (gnu packages imagemagick)
41 #:use-module (gnu packages libreoffice)
42 #:use-module (gnu packages linux)
43 #:use-module (gnu packages pdf)
44 #:use-module (gnu packages pkg-config)
45 #:use-module (gnu packages python)
46 #:use-module (gnu packages qt)
47 #:use-module (gnu packages tls)
48 #:use-module (gnu packages xml))
49
50(define-public scribus
51 (package
52 (name "scribus")
53 (version "1.6.6")
54 (source
55 (origin
56 (method url-fetch)
57 (uri (string-append "mirror://sourceforge/scribus/scribus/"
58 version "/scribus-" version ".tar.gz"))
59 (sha256
60 (base32 "00pydwhgrbvg33c7k9w8fzybxm09lky66jcnhx773a6i8921zszb"))))
61 (build-system cmake-build-system)
62 (arguments
63 `(#:tests? #f ;no test target
64 #:configure-flags
65 '("-DWANT_GRAPHICSMAGICK=1"
66 "-DWANT_CPP17=ON")))
67 (inputs
68 (list boost
69 cairo
70 cups
71 fontconfig
72 freetype
73 graphicsmagick
74 harfbuzz
75 hunspell
76 icu4c
77 lcms
78 libcdr
79 libfreehand
80 libjpeg-turbo
81 libmspub
82 libpagemaker
83 librevenge
84 libtiff
85 libvisio
86 libxml2
87 libzmf
88 openssl
89 podofo
90 poppler
91 python ;need Python library
92 qtbase-5
93 qtdeclarative-5
94 zlib))
95 (native-inputs
96 (list pkg-config qttools-5 util-linux))
97 (home-page "https://www.scribus.net")
98 (synopsis "Desktop publishing and page layout program")
99 (description
100 "Scribus is a @dfn{desktop publishing} (DTP) application and can
101be used for many tasks; from brochure design to newspapers, magazines,
102newsletters and posters to technical documentation. Scribus supports
103professional DTP features, such as CMYK color and a color management
104system to soft proof images for high quality color printing, flexible
105PDF creation options, Encapsulated PostScript import/export and
106creation of four color separations, import of EPS/PS and SVG as native
107vector graphics, Unicode text including right to left scripts such as
108Arabic and Hebrew via FreeType.")
109 (license license:gpl2+)))