| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 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 |
| 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 |
| 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
|
| 101 | be used for many tasks; from brochure design to newspapers, magazines,
|
| 102 | newsletters and posters to technical documentation. Scribus supports
|
| 103 | professional DTP features, such as CMYK color and a color management
|
| 104 | system to soft proof images for high quality color printing, flexible
|
| 105 | PDF creation options, Encapsulated PostScript import/export and
|
| 106 | creation of four color separations, import of EPS/PS and SVG as native
|
| 107 | vector graphics, Unicode text including right to left scripts such as
|
| 108 | Arabic and Hebrew via FreeType.")
|
| 109 | (license license:gpl2+)))
|