2015-11-14 16:26:44 -05:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2023-04-24 15:16:02 -04:00
|
|
|
;;; Copyright © 2015, 2018, 2023 Ricardo Wurmus <rekado@elephly.net>
|
2016-06-16 07:49:11 -04:00
|
|
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
2024-06-18 17:39:40 -04:00
|
|
|
;;; Copyright © 2017, 2018, 2021, 2022, 2024 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2018-05-29 13:26:21 -04:00
|
|
|
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
|
2019-06-15 06:31:49 -04:00
|
|
|
;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
|
2021-01-12 03:26:30 -05:00
|
|
|
;;; Copyright © 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2015-11-14 16:26:44 -05:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages scribus)
|
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix utils)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (guix build-system cmake)
|
|
|
|
#:use-module (gnu packages)
|
gnu: scribus: Update to 1.5.3. Add inputs.
* gnu/packages/scribus.scm (scribus): Update to 1.5.3.
[input]: Add fontconfig, harfbuzz, hunspell, icu4c, libcdr, libfreehand,
libmspub, librevenge, libvisio, openssl, podofo, poppler, and boost. Move
qttools to ...
[native-input]: ... here.
[home-page]: Fix URL.
Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2017-10-29 04:09:56 -04:00
|
|
|
#:use-module (gnu packages boost)
|
2015-11-14 16:26:44 -05:00
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
#:use-module (gnu packages cups)
|
|
|
|
#:use-module (gnu packages fontutils)
|
|
|
|
#:use-module (gnu packages ghostscript)
|
|
|
|
#:use-module (gnu packages gtk)
|
gnu: hunspell: Move hunspell and dictionaries to hunspell module.
Consolidate hunspell and its dictionaries into the (gnu packages hunspell)
module instead of having them scattered about.
* gnu/packages/aspell.scm (aspell-word-list, define-word-list-dictionary,
hunspell-dict-{en, en-au, en-gb, en-gb-ize, en-us}): Remove variables.
* gnu/packages/libreoffice.scm (hunspell, dicollecte-french-dictionary,
define-french-dictionary, hunspell-dict-fr-{classique, moderne, réforme,
toutes-variantes}, hunspell-dict-pl, hunspell-dict-de, hunspell-dict-hu):
Remove variables.
* gnu/packages/hunspell.scm (hunspell, dicollecte-french-dictionary,
define-french-dictionary, hunspell-dict-fr-{classique, moderne, réforme,
toutes-variantes}, hunspell-dict-pl, hunspell-dict-de, hunspell-dict-hu,
aspell-word-list, define-word-list-dictionary, hunspell-dict-{en, en-au,
en-gb, en-gb-ize, en-us}): Add variables.
(hunspell-dictionary): Explicitly declare upstream libreoffice version to
prevent circular dependency.
* gnu/packages/ebook.scm,
gnu/packages/enchant.scm,
gnu/packages/freedesktop.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/messaging.scm,
gnu/packages/scribus.scm,
gnu/packages/task-management.scm,
gnu/packages/telegram.scm,
gnu/packages/tex.scm,
gnu/packages/text-editors.scm,
gnu/packages/video.scm: Adjust module imports.
2023-01-03 18:48:39 -05:00
|
|
|
#:use-module (gnu packages hunspell)
|
gnu: scribus: Update to 1.5.3. Add inputs.
* gnu/packages/scribus.scm (scribus): Update to 1.5.3.
[input]: Add fontconfig, harfbuzz, hunspell, icu4c, libcdr, libfreehand,
libmspub, librevenge, libvisio, openssl, podofo, poppler, and boost. Move
qttools to ...
[native-input]: ... here.
[home-page]: Fix URL.
Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2017-10-29 04:09:56 -04:00
|
|
|
#:use-module (gnu packages icu4c)
|
2015-11-14 16:26:44 -05:00
|
|
|
#:use-module (gnu packages image)
|
gnu: scribus: Update to 1.5.3. Add inputs.
* gnu/packages/scribus.scm (scribus): Update to 1.5.3.
[input]: Add fontconfig, harfbuzz, hunspell, icu4c, libcdr, libfreehand,
libmspub, librevenge, libvisio, openssl, podofo, poppler, and boost. Move
qttools to ...
[native-input]: ... here.
[home-page]: Fix URL.
Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2017-10-29 04:09:56 -04:00
|
|
|
#:use-module (gnu packages imagemagick)
|
|
|
|
#:use-module (gnu packages libreoffice)
|
2015-11-14 16:26:44 -05:00
|
|
|
#:use-module (gnu packages linux)
|
gnu: scribus: Update to 1.5.3. Add inputs.
* gnu/packages/scribus.scm (scribus): Update to 1.5.3.
[input]: Add fontconfig, harfbuzz, hunspell, icu4c, libcdr, libfreehand,
libmspub, librevenge, libvisio, openssl, podofo, poppler, and boost. Move
qttools to ...
[native-input]: ... here.
[home-page]: Fix URL.
Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2017-10-29 04:09:56 -04:00
|
|
|
#:use-module (gnu packages pdf)
|
2015-11-14 16:26:44 -05:00
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages python)
|
|
|
|
#:use-module (gnu packages qt)
|
gnu: scribus: Update to 1.5.3. Add inputs.
* gnu/packages/scribus.scm (scribus): Update to 1.5.3.
[input]: Add fontconfig, harfbuzz, hunspell, icu4c, libcdr, libfreehand,
libmspub, librevenge, libvisio, openssl, podofo, poppler, and boost. Move
qttools to ...
[native-input]: ... here.
[home-page]: Fix URL.
Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2017-10-29 04:09:56 -04:00
|
|
|
#:use-module (gnu packages tls)
|
2015-11-14 16:26:44 -05:00
|
|
|
#:use-module (gnu packages xml))
|
|
|
|
|
|
|
|
(define-public scribus
|
|
|
|
(package
|
|
|
|
(name "scribus")
|
2024-06-18 17:39:40 -04:00
|
|
|
(version "1.6.2")
|
gnu: scribus: Update to 1.5.3. Add inputs.
* gnu/packages/scribus.scm (scribus): Update to 1.5.3.
[input]: Add fontconfig, harfbuzz, hunspell, icu4c, libcdr, libfreehand,
libmspub, librevenge, libvisio, openssl, podofo, poppler, and boost. Move
qttools to ...
[native-input]: ... here.
[home-page]: Fix URL.
Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2017-10-29 04:09:56 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2024-03-04 10:16:55 -05:00
|
|
|
(uri (string-append "mirror://sourceforge/scribus/scribus/"
|
|
|
|
version "/scribus-" version ".tar.gz"))
|
gnu: scribus: Update to 1.5.3. Add inputs.
* gnu/packages/scribus.scm (scribus): Update to 1.5.3.
[input]: Add fontconfig, harfbuzz, hunspell, icu4c, libcdr, libfreehand,
libmspub, librevenge, libvisio, openssl, podofo, poppler, and boost. Move
qttools to ...
[native-input]: ... here.
[home-page]: Fix URL.
Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2017-10-29 04:09:56 -04:00
|
|
|
(sha256
|
2024-06-18 17:39:40 -04:00
|
|
|
(base32 "066p0a9jp676qid5hf1cilrks70xchpzfck9db79rhqhk84ja355"))))
|
2015-11-14 16:26:44 -05:00
|
|
|
(build-system cmake-build-system)
|
2016-08-20 15:36:53 -04:00
|
|
|
(arguments
|
gnu: scribus: Update to 1.5.3. Add inputs.
* gnu/packages/scribus.scm (scribus): Update to 1.5.3.
[input]: Add fontconfig, harfbuzz, hunspell, icu4c, libcdr, libfreehand,
libmspub, librevenge, libvisio, openssl, podofo, poppler, and boost. Move
qttools to ...
[native-input]: ... here.
[home-page]: Fix URL.
Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2017-10-29 04:09:56 -04:00
|
|
|
`(#:tests? #f ;no test target
|
2016-08-20 15:36:53 -04:00
|
|
|
#:configure-flags
|
2023-04-24 15:16:02 -04:00
|
|
|
'("-DWANT_GRAPHICSMAGICK=1"
|
|
|
|
"-DWANT_CPP17=ON")))
|
2015-11-14 16:26:44 -05:00
|
|
|
(inputs
|
2022-01-24 07:48:25 -05:00
|
|
|
(list boost
|
|
|
|
cairo
|
|
|
|
cups
|
|
|
|
fontconfig
|
|
|
|
freetype
|
|
|
|
graphicsmagick
|
|
|
|
harfbuzz
|
|
|
|
hunspell
|
|
|
|
icu4c
|
|
|
|
lcms
|
|
|
|
libcdr
|
|
|
|
libfreehand
|
|
|
|
libjpeg-turbo
|
|
|
|
libmspub
|
|
|
|
libpagemaker
|
|
|
|
librevenge
|
|
|
|
libtiff
|
|
|
|
libvisio
|
|
|
|
libxml2
|
|
|
|
libzmf
|
|
|
|
openssl
|
|
|
|
podofo
|
|
|
|
poppler
|
|
|
|
python ;need Python library
|
|
|
|
qtbase-5
|
2022-07-17 21:03:18 -04:00
|
|
|
qtdeclarative-5
|
2022-01-24 07:48:25 -05:00
|
|
|
zlib))
|
2015-11-14 16:26:44 -05:00
|
|
|
(native-inputs
|
2022-07-19 16:52:05 -04:00
|
|
|
(list pkg-config qttools-5 util-linux))
|
gnu: scribus: Update to 1.5.3. Add inputs.
* gnu/packages/scribus.scm (scribus): Update to 1.5.3.
[input]: Add fontconfig, harfbuzz, hunspell, icu4c, libcdr, libfreehand,
libmspub, librevenge, libvisio, openssl, podofo, poppler, and boost. Move
qttools to ...
[native-input]: ... here.
[home-page]: Fix URL.
Co-authored-by: Eric Bavier <bavier@member.fsf.org>
2017-10-29 04:09:56 -04:00
|
|
|
(home-page "https://www.scribus.net")
|
2015-11-14 16:26:44 -05:00
|
|
|
(synopsis "Desktop publishing and page layout program")
|
|
|
|
(description
|
2019-08-13 06:44:06 -04:00
|
|
|
"Scribus is a @dfn{desktop publishing} (DTP) application and can
|
|
|
|
be used for many tasks; from brochure design to newspapers, magazines,
|
|
|
|
newsletters and posters to technical documentation. Scribus supports
|
|
|
|
professional DTP features, such as CMYK color and a color management
|
|
|
|
system to soft proof images for high quality color printing, flexible
|
|
|
|
PDF creation options, Encapsulated PostScript import/export and
|
|
|
|
creation of four color separations, import of EPS/PS and SVG as native
|
|
|
|
vector graphics, Unicode text including right to left scripts such as
|
|
|
|
Arabic and Hebrew via FreeType.")
|
2015-11-14 16:26:44 -05:00
|
|
|
(license license:gpl2+)))
|