2015-11-14 16:26:44 -05:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2018-11-27 17:22:20 -05:00
|
|
|
;;; Copyright © 2015, 2018 Ricardo Wurmus <rekado@elephly.net>
|
2016-06-16 07:49:11 -04:00
|
|
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
2021-04-27 04:38:40 -04:00
|
|
|
;;; Copyright © 2017, 2018, 2021 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: 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")
|
2021-04-27 04:38:40 -04:00
|
|
|
(version "1.5.7")
|
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)
|
|
|
|
(uri (string-append "mirror://sourceforge/scribus/scribus-devel/"
|
|
|
|
version "/scribus-" version ".tar.xz"))
|
|
|
|
(sha256
|
2021-04-27 04:38:40 -04:00
|
|
|
(base32 "1kpq4vc95hj3w8l205kh0pmdlisi4v1gilz0sf8n39y7ryr1d0ri"))))
|
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
|
2021-04-27 04:38:40 -04:00
|
|
|
'("-DWANT_GRAPHICSMAGICK=1")))
|
2015-11-14 16:26:44 -05:00
|
|
|
(inputs
|
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
|
|
|
`(("boost" ,boost)
|
|
|
|
("cairo" ,cairo)
|
2015-11-14 16:26:44 -05:00
|
|
|
("cups" ,cups)
|
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
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
("freetype" ,freetype)
|
2015-11-14 16:26:44 -05:00
|
|
|
("graphicsmagick" ,graphicsmagick)
|
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
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
("hunspell" ,hunspell)
|
|
|
|
("icu4c" ,icu4c)
|
2015-11-14 16:26:44 -05:00
|
|
|
("lcms" ,lcms)
|
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
|
|
|
("libcdr" ,libcdr)
|
|
|
|
("libfreehand" ,libfreehand)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 13:27:01 -05:00
|
|
|
("libjpeg" ,libjpeg-turbo)
|
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
|
|
|
("libmspub" ,libmspub)
|
|
|
|
("libpagemaker" ,libpagemaker)
|
|
|
|
("librevenge" ,librevenge)
|
2015-11-14 16:26:44 -05:00
|
|
|
("libtiff" ,libtiff)
|
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
|
|
|
("libvisio" ,libvisio)
|
2015-11-14 16:26:44 -05:00
|
|
|
("libxml2" ,libxml2)
|
2018-06-06 12:34:45 -04:00
|
|
|
("libzmf" ,libzmf)
|
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
|
|
|
("openssl" ,openssl)
|
2021-04-27 04:38:40 -04:00
|
|
|
("podofo" ,podofo)
|
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
|
|
|
("poppler" ,poppler)
|
2020-11-15 21:55:24 -05:00
|
|
|
("python" ,python) ; need Python library
|
2021-04-09 21:53:32 -04:00
|
|
|
("qtbase" ,qtbase-5)
|
2016-06-16 07:49:11 -04:00
|
|
|
("qtdeclarative" ,qtdeclarative)
|
2015-11-14 16:26:44 -05:00
|
|
|
("zlib" ,zlib)))
|
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list pkg-config qttools 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+)))
|