You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
4.8 KiB

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.
2 years ago
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2015, 2018 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>
  6. ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
  7. ;;;
  8. ;;; This file is part of GNU Guix.
  9. ;;;
  10. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  11. ;;; under the terms of the GNU General Public License as published by
  12. ;;; the Free Software Foundation; either version 3 of the License, or (at
  13. ;;; your option) any later version.
  14. ;;;
  15. ;;; GNU Guix is distributed in the hope that it will be useful, but
  16. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  17. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. ;;; GNU General Public License for more details.
  19. ;;;
  20. ;;; You should have received a copy of the GNU General Public License
  21. ;;; 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))
  46. (define-public scribus
  47. (package
  48. (name "scribus")
  49. (version "1.5.5")
  50. (source
  51. (origin
  52. (method url-fetch)
  53. (uri (string-append "mirror://sourceforge/scribus/scribus-devel/"
  54. version "/scribus-" version ".tar.xz"))
  55. (patches (search-patches "scribus-1.5.5-poppler-0.86-build-fix.patch"))
  56. (sha256
  57. (base32
  58. "0w9zzsiaq3f7vpxybk01c9z2b4qqg67mzpyfb2gjchz8dhdb423r"))))
  59. (build-system cmake-build-system)
  60. (arguments
  61. `(#:tests? #f ;no test target
  62. #:configure-flags
  63. '("-DWANT_GRAPHICSMAGICK=1")
  64. #:phases
  65. (modify-phases %standard-phases
  66. (add-after 'install 'wrap-program
  67. (lambda* (#:key inputs outputs #:allow-other-keys)
  68. ;; Fix "ImportError: No module named _sysconfigdata_nd"
  69. ;; runtime error where Scribus checks PATH and eventually
  70. ;; runs system's Python instead of package's.
  71. (let* ((out (assoc-ref outputs "out"))
  72. (py2 (assoc-ref inputs "python")))
  73. (wrap-program (string-append out "/bin/scribus")
  74. `("PATH" ":" prefix (,(string-append py2 "/bin")))))
  75. #t)))))
  76. (inputs
  77. `(("boost" ,boost)
  78. ("cairo" ,cairo)
  79. ("cups" ,cups)
  80. ("fontconfig" ,fontconfig)
  81. ("freetype" ,freetype)
  82. ("graphicsmagick" ,graphicsmagick)
  83. ("harfbuzz" ,harfbuzz)
  84. ("hunspell" ,hunspell)
  85. ("icu4c" ,icu4c)
  86. ("lcms" ,lcms)
  87. ("libcdr" ,libcdr)
  88. ("libfreehand" ,libfreehand)
  89. ("libjpeg" ,libjpeg-turbo)
  90. ("libmspub" ,libmspub)
  91. ("libpagemaker" ,libpagemaker)
  92. ("librevenge" ,librevenge)
  93. ("libtiff" ,libtiff)
  94. ("libvisio" ,libvisio)
  95. ("libxml2" ,libxml2)
  96. ("libzmf" ,libzmf)
  97. ("openssl" ,openssl)
  98. ("podofo" ,podofo)
  99. ("poppler" ,poppler)
  100. ("python" ,python-2) ;need Python library
  101. ("qtbase" ,qtbase)
  102. ("qtdeclarative" ,qtdeclarative)
  103. ("zlib" ,zlib)))
  104. (native-inputs
  105. `(("pkg-config" ,pkg-config)
  106. ("qttools" ,qttools)
  107. ("util-linux" ,util-linux)))
  108. (home-page "https://www.scribus.net")
  109. (synopsis "Desktop publishing and page layout program")
  110. (description
  111. "Scribus is a @dfn{desktop publishing} (DTP) application and can
  112. be used for many tasks; from brochure design to newspapers, magazines,
  113. newsletters and posters to technical documentation. Scribus supports
  114. professional DTP features, such as CMYK color and a color management
  115. system to soft proof images for high quality color printing, flexible
  116. PDF creation options, Encapsulated PostScript import/export and
  117. creation of four color separations, import of EPS/PS and SVG as native
  118. vector graphics, Unicode text including right to left scripts such as
  119. Arabic and Hebrew via FreeType.")
  120. (license license:gpl2+)))