2013-01-19 07:44:42 -05:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
2017-05-02 03:41:24 -04:00
|
|
|
;;; Copyright © 2014, 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
|
2015-01-14 08:47:37 -05:00
|
|
|
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
|
2019-08-25 15:14:27 -04:00
|
|
|
;;; Copyright © 2013, 2015, 2016, 2017, 2019 Ludovic Courtès <ludo@gnu.org>
|
2017-02-11 09:45:38 -05:00
|
|
|
;;; Copyright © 2017 Alex Vong <alexvong1995@gmail.com>
|
2023-04-10 16:14:25 -04:00
|
|
|
;;; Copyright © 2017, 2018, 2019, 2021, 2023 Efraim Flashner <efraim@flashner.co.il>
|
2017-05-29 04:42:37 -04:00
|
|
|
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
|
2018-02-19 13:26:44 -05:00
|
|
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
2022-07-06 18:43:18 -04:00
|
|
|
;;; Copyright © 2018, 2020, 2022 Marius Bakke <mbakke@fastmail.com>
|
2019-07-02 10:20:19 -04:00
|
|
|
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
2023-06-11 05:48:26 -04:00
|
|
|
;;; Copyright © 2020, 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
|
2013-01-19 07:44:42 -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 ghostscript)
|
|
|
|
#:use-module (gnu packages)
|
2015-01-14 08:47:37 -05:00
|
|
|
#:use-module (gnu packages autotools)
|
2013-01-19 07:44:42 -05:00
|
|
|
#:use-module (gnu packages compression)
|
2017-12-05 11:49:48 -05:00
|
|
|
#:use-module (gnu packages cups)
|
2013-02-12 07:19:26 -05:00
|
|
|
#:use-module (gnu packages fontutils)
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
#:use-module (gnu packages image)
|
2022-07-06 16:45:54 -04:00
|
|
|
#:use-module (gnu packages man)
|
2013-01-19 07:44:42 -05:00
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages python)
|
|
|
|
#:use-module (gnu packages tcl)
|
2015-08-08 13:46:17 -04:00
|
|
|
#:use-module (gnu packages xorg)
|
Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.
* gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm,
gnu/packages/backup.scm, gnu/packages/bittorrent.scm,
gnu/packages/boost.scm, gnu/packages/compression.scm,
gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm,
gnu/packages/ghostscript.scm, gnu/packages/gimp.scm,
gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm,
gnu/packages/indent.scm, gnu/packages/inkscape.scm,
gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm,
gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm,
gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm,
gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm,
gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm,
gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm,
gnu/packages/yasm.scm, gnu/packages/zip.scm,
guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm,
guix/build/python-build-system.scm, guix/download.scm: Replaces uses of
#:renamer and 'symbol-prefix-proc' with #:prefix.
2014-09-23 16:44:22 -04:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-01-19 07:44:42 -05:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2022-07-06 16:48:05 -04:00
|
|
|
#:use-module (guix gexp)
|
gnu: ghostscript: Update replacement to 9.24 [security fixes].
The following CVEs are fixed with this release: CVE-2018-15908,
CVE-2018-15909, CVE-2018-15910, CVE-2018-15911, CVE-2018-16509,
CVE-2018-16510, CVE-2018-16511, CVE-2018-16513, CVE-2018-16539,
CVE-2018-16540, CVE-2018-16541, CVE-2018-16542, CVE-2018-16543.
* gnu/packages/patches/ghostscript-CVE-2018-10194.patch: Delete file.
* gnu/packages/patches/ghostscript-CVE-2018-16509.patch,
gnu/packages/patches/ghostscript-bug-699708.patch: New files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/ghostscript.scm (ghostscript/fixed): Update to 9.24.
[source](patches): Remove 'ghostscript-CVE-2018-10194.patch' and
'ghostscript-runpath.patch'. Add 'ghostscript-CVE-2018-16509.patch' and
'ghostscript-bug-699708.patch'.
[arguments]: Add LDFLAGS to #:configure-flags, and a phase to create output
directory.
2018-09-08 06:46:22 -04:00
|
|
|
#:use-module (guix utils)
|
2016-07-25 05:36:51 -04:00
|
|
|
#:use-module (guix build-system gnu)
|
gnu: ghostscript: Update replacement to 9.24 [security fixes].
The following CVEs are fixed with this release: CVE-2018-15908,
CVE-2018-15909, CVE-2018-15910, CVE-2018-15911, CVE-2018-16509,
CVE-2018-16510, CVE-2018-16511, CVE-2018-16513, CVE-2018-16539,
CVE-2018-16540, CVE-2018-16541, CVE-2018-16542, CVE-2018-16543.
* gnu/packages/patches/ghostscript-CVE-2018-10194.patch: Delete file.
* gnu/packages/patches/ghostscript-CVE-2018-16509.patch,
gnu/packages/patches/ghostscript-bug-699708.patch: New files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/ghostscript.scm (ghostscript/fixed): Update to 9.24.
[source](patches): Remove 'ghostscript-CVE-2018-10194.patch' and
'ghostscript-runpath.patch'. Add 'ghostscript-CVE-2018-16509.patch' and
'ghostscript-bug-699708.patch'.
[arguments]: Add LDFLAGS to #:configure-flags, and a phase to create output
directory.
2018-09-08 06:46:22 -04:00
|
|
|
#:use-module (srfi srfi-1))
|
2013-01-19 07:44:42 -05:00
|
|
|
|
|
|
|
(define-public lcms
|
|
|
|
(package
|
2022-07-06 18:44:35 -04:00
|
|
|
(name "lcms")
|
|
|
|
(version "2.13.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/lcms/lcms/"
|
|
|
|
(version-major+minor version)
|
|
|
|
"/lcms2-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"121v414bg2zk0fcwx0kigr2l6nxl88nmblfn3gq5lz5jwybffwyl"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:configure-flags '("--disable-static")))
|
|
|
|
(inputs
|
|
|
|
(list libjpeg-turbo libtiff zlib))
|
|
|
|
(synopsis "Little CMS, a small-footprint colour management engine")
|
|
|
|
(description
|
|
|
|
"Little CMS is a small-footprint colour management engine, with special
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
focus on accuracy and performance. It uses the International Color
|
2013-01-19 07:44:42 -05:00
|
|
|
Consortium standard (ICC), approved as ISO 15076-1.")
|
2022-07-06 18:44:35 -04:00
|
|
|
(license license:x11)
|
|
|
|
(home-page "https://www.littlecms.com/")
|
|
|
|
(properties '((cpe-name . "little_cms_color_engine")))))
|
2013-01-19 07:44:42 -05:00
|
|
|
|
|
|
|
(define-public libpaper
|
|
|
|
(package
|
2022-07-06 16:45:54 -04:00
|
|
|
(name "libpaper")
|
2022-09-16 13:29:05 -04:00
|
|
|
(version "2.0.0")
|
2022-07-06 16:45:54 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/rrthomas/libpaper/releases"
|
|
|
|
"/download/v" version "/libpaper-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2022-09-16 13:29:05 -04:00
|
|
|
"0aipyaqp30cn919j7w5wvlgkw0v4aqsax82i2zw4wmgck8g6ax77"))))
|
2022-07-06 16:45:54 -04:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
(list help2man))
|
|
|
|
(arguments
|
2023-06-11 05:48:26 -04:00
|
|
|
(list #:configure-flags ''("--disable-static"
|
|
|
|
;; Tests require a relocatable build.
|
|
|
|
"--enable-relocatable")
|
|
|
|
;; --enable-relocate is broken on the Hurd
|
2023-07-20 10:44:26 -04:00
|
|
|
#:tests? (not (or (target-hurd?)
|
|
|
|
(%current-target-system)))))
|
2022-07-06 16:45:54 -04:00
|
|
|
(outputs '("out" "debug"))
|
|
|
|
(home-page "https://github.com/rrthomas/libpaper")
|
|
|
|
(synopsis "Library for handling paper sizes")
|
|
|
|
(description
|
|
|
|
"The paper library and accompanying files are intended to provide a simple
|
2013-01-19 07:44:42 -05:00
|
|
|
way for applications to take actions based on a system- or user-specified
|
|
|
|
paper size.")
|
2022-07-06 16:45:54 -04:00
|
|
|
;; The library is LGPL3+, everything else GPL3+.
|
|
|
|
(license (list license:lgpl3+ license:gpl3+))))
|
2013-01-19 07:44:42 -05:00
|
|
|
|
2013-01-20 17:26:11 -05:00
|
|
|
(define-public psutils
|
|
|
|
(package
|
2022-07-06 16:48:05 -04:00
|
|
|
(name "psutils")
|
|
|
|
(version "2.09")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/rrthomas/psutils/releases"
|
|
|
|
"/download/v" version "/psutils-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1nmp0hb7c4a315vv1mqw2cbckvca8bzh1cv3gdvwwy24w9qba6p3"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs (list perl))
|
|
|
|
(native-inputs
|
|
|
|
(list libpaper))
|
|
|
|
(arguments
|
|
|
|
(list #:tests? #f ;FIXME: requires files not present in tarball
|
|
|
|
#:configure-flags
|
|
|
|
;; Help the build system locate Perl when cross-compiling.
|
|
|
|
(if (%current-target-system)
|
|
|
|
#~(list (string-append "ac_cv_path_PERL="
|
|
|
|
(search-input-file %build-inputs "bin/perl")))
|
|
|
|
#~'())))
|
|
|
|
(synopsis "Collection of utilities for manipulating PostScript documents")
|
|
|
|
(description
|
|
|
|
"PSUtils is a collection of utilities for manipulating PostScript
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
documents. Programs included are psnup, for placing out several logical pages
|
2013-01-20 17:26:11 -05:00
|
|
|
on a single sheet of paper, psselect, for selecting pages from a document,
|
|
|
|
pstops, for general imposition, psbook, for signature generation for booklet
|
|
|
|
printing, and psresize, for adjusting page sizes.")
|
2022-07-06 16:48:05 -04:00
|
|
|
(home-page "https://github.com/rrthomas/psutils")
|
|
|
|
(license (list license:gpl3+
|
|
|
|
;; This file carries the "historical" psutils license (v1),
|
|
|
|
;; which is "effectively BSD 3-clause" (a quote from the file).
|
|
|
|
(license:non-copyleft
|
|
|
|
"file://extractres.in.in"
|
|
|
|
"See extractres.in.in in the distribution.")))))
|
2013-01-20 17:26:11 -05:00
|
|
|
|
2013-01-19 07:44:42 -05:00
|
|
|
(define-public ghostscript
|
|
|
|
(package
|
2017-05-29 13:47:39 -04:00
|
|
|
(name "ghostscript")
|
2022-07-06 17:33:57 -04:00
|
|
|
(version "9.56.1")
|
2023-07-08 20:00:01 -04:00
|
|
|
(replacement ghostscript/fixed)
|
2017-05-29 13:47:39 -04:00
|
|
|
(source
|
2022-07-06 17:44:03 -04:00
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/ArtifexSoftware/"
|
|
|
|
"ghostpdl-downloads/releases/download/gs"
|
|
|
|
(string-delete #\. version)
|
|
|
|
"/ghostscript-" version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1r5qash65m6ignki6z72q4rlai9ka99xrxnmqd19n02has00cd6l"))
|
|
|
|
(patches (search-patches "ghostscript-no-header-creationdate.patch"
|
|
|
|
"ghostscript-no-header-id.patch"
|
|
|
|
"ghostscript-no-header-uuid.patch"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
;; Remove bundled libraries. The bundled OpenJPEG is a patched fork so
|
|
|
|
;; we leave it, at least for now.
|
|
|
|
;; TODO Try unbundling ijs, which is developed alongside Ghostscript.
|
|
|
|
;; Likewise for the thread-safe lcms2 fork called "lcms2art".
|
|
|
|
'(begin
|
|
|
|
(for-each delete-file-recursively '("freetype" "jbig2dec" "jpeg"
|
|
|
|
"libpng" "tiff" "zlib"))))))
|
2017-05-29 13:47:39 -04:00
|
|
|
(build-system gnu-build-system)
|
2022-07-06 17:44:03 -04:00
|
|
|
(outputs '("out" "doc")) ;19 MiB of HTML/PS doc + examples
|
2017-05-29 13:47:39 -04:00
|
|
|
(arguments
|
2022-07-06 17:44:03 -04:00
|
|
|
(list
|
|
|
|
#:disallowed-references '("doc")
|
|
|
|
#:configure-flags
|
|
|
|
#~(list (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")
|
|
|
|
"--with-system-libtiff"
|
|
|
|
"LIBS=-lz"
|
|
|
|
(string-append "ZLIBDIR="
|
|
|
|
(dirname (search-input-file %build-inputs
|
|
|
|
"include/zlib.h")))
|
|
|
|
"--enable-dynamic"
|
|
|
|
"--disable-compile-inits"
|
|
|
|
(string-append "--with-fontpath="
|
|
|
|
(search-input-directory
|
|
|
|
%build-inputs
|
|
|
|
"share/fonts/type1/ghostscript"))
|
2017-07-11 09:28:51 -04:00
|
|
|
|
2022-07-06 17:44:03 -04:00
|
|
|
#$@(if (%current-target-system)
|
|
|
|
'(;; Specify the native compiler, which is used to build 'echogs'
|
|
|
|
;; and other intermediary tools when cross-compiling; see
|
|
|
|
;; <https://ghostscript.com/FAQ.html>.
|
|
|
|
"CCAUX=gcc"
|
2017-07-11 09:28:51 -04:00
|
|
|
|
2022-07-06 17:44:03 -04:00
|
|
|
;; Save 'config.log' etc. of the native build under
|
|
|
|
;; auxtmp/, useful for debugging.
|
|
|
|
"--enable-save_confaux")
|
|
|
|
'()))
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
2023-06-13 06:41:08 -04:00
|
|
|
#$@(if (target-hurd?)
|
|
|
|
#~((add-after 'unpack 'patch-leptonica
|
|
|
|
(lambda _
|
|
|
|
(let ((patch-file
|
|
|
|
#$(local-file
|
|
|
|
(search-patch
|
|
|
|
"ghostscript-leptonica-hurd.patch"))))
|
|
|
|
(with-directory-excursion "leptonica"
|
|
|
|
(invoke "patch" "--force" "-p1" "-i" patch-file))))))
|
|
|
|
#~())
|
2022-07-06 17:44:03 -04:00
|
|
|
(add-before 'configure 'create-output-directory
|
|
|
|
(lambda _
|
|
|
|
;; The configure script refuses to function if the directory
|
|
|
|
;; specified as -rpath does not already exist.
|
|
|
|
(mkdir-p (string-append #$output "/lib"))))
|
|
|
|
(add-after 'configure 'remove-doc-reference
|
|
|
|
(lambda _
|
|
|
|
;; Don't retain a reference to the 'doc' output in 'gs'.
|
|
|
|
;; The only use of this definition is in the output of
|
|
|
|
;; 'gs --help', so this change is fine.
|
|
|
|
(substitute* "base/gscdef.c"
|
|
|
|
(("GS_DOCDIR")
|
|
|
|
"\"~/.guix-profile/share/doc/ghostscript\""))))
|
|
|
|
(add-after 'configure 'patch-config-files
|
|
|
|
(lambda _
|
|
|
|
(substitute* "base/unixhead.mak"
|
|
|
|
(("/bin/sh") (which "sh")))))
|
|
|
|
#$@(if (%current-target-system)
|
|
|
|
'((add-after 'configure 'add-native-lz
|
|
|
|
(lambda _
|
|
|
|
;; Add missing '-lz' for native tools such as 'mkromfs'.
|
|
|
|
(substitute* "Makefile"
|
|
|
|
(("^AUXEXTRALIBS=(.*)$" _ value)
|
|
|
|
(string-append "AUXEXTRALIBS = -lz " value "\n"))))))
|
|
|
|
'())
|
|
|
|
(replace 'build
|
|
|
|
(lambda _
|
|
|
|
;; Build 'libgs.so', but don't build the statically-linked 'gs'
|
|
|
|
;; binary (saves 22 MiB).
|
|
|
|
(invoke "make" "so" "-j"
|
|
|
|
(number->string (parallel-job-count)))))
|
|
|
|
(replace 'install
|
|
|
|
(lambda _
|
|
|
|
(invoke "make" "soinstall")))
|
|
|
|
(add-after 'install 'create-gs-symlink
|
|
|
|
(lambda _
|
|
|
|
;; Some programs depend on having a 'gs' binary available.
|
|
|
|
(symlink "gsc" (string-append #$output "/bin/gs")))))))
|
|
|
|
(native-inputs
|
|
|
|
(append
|
|
|
|
(list perl
|
|
|
|
pkg-config ;needed for freetype
|
|
|
|
python-minimal-wrapper
|
|
|
|
tcl)
|
|
|
|
;; When cross-compiling, some of the natively-built tools require all
|
|
|
|
;; these libraries.
|
|
|
|
(if (%current-target-system)
|
|
|
|
(list zlib libjpeg-turbo)
|
|
|
|
'())))
|
2017-05-29 13:47:39 -04:00
|
|
|
(inputs
|
2022-07-06 17:44:03 -04:00
|
|
|
(list fontconfig
|
|
|
|
freetype
|
|
|
|
font-ghostscript
|
|
|
|
jbig2dec
|
|
|
|
libjpeg-turbo
|
|
|
|
libpaper
|
|
|
|
libpng
|
|
|
|
libtiff
|
|
|
|
zlib))
|
2017-05-29 13:47:39 -04:00
|
|
|
(synopsis "PostScript and PDF interpreter")
|
|
|
|
(description
|
|
|
|
"Ghostscript is an interpreter for the PostScript language and the PDF
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 10:14:23 -04:00
|
|
|
file format. It also includes a C library that implements the graphics
|
|
|
|
capabilities of the PostScript language. It supports a wide variety of
|
|
|
|
output file formats and printers.")
|
2017-05-29 13:47:39 -04:00
|
|
|
(home-page "https://www.ghostscript.com/")
|
|
|
|
(license license:agpl3+)))
|
2013-04-28 15:12:55 -04:00
|
|
|
|
2023-07-08 20:00:01 -04:00
|
|
|
(define ghostscript/fixed
|
|
|
|
(package-with-patches
|
|
|
|
ghostscript
|
|
|
|
(search-patches "ghostscript-CVE-2023-36664.patch"
|
|
|
|
"ghostscript-CVE-2023-36664-fixup.patch")))
|
|
|
|
|
2015-08-08 13:46:17 -04:00
|
|
|
(define-public ghostscript/x
|
2017-05-02 03:41:24 -04:00
|
|
|
(package/inherit ghostscript
|
2015-08-08 13:46:17 -04:00
|
|
|
(name (string-append (package-name ghostscript) "-with-x"))
|
2022-07-06 17:44:03 -04:00
|
|
|
(inputs (modify-inputs (package-inputs ghostscript)
|
|
|
|
(prepend libxext libxt)))))
|
2015-08-08 13:46:17 -04:00
|
|
|
|
2017-12-05 11:49:48 -05:00
|
|
|
(define-public ghostscript/cups
|
|
|
|
(package/inherit ghostscript
|
|
|
|
(name "ghostscript-with-cups")
|
2022-07-06 17:44:03 -04:00
|
|
|
(inputs (modify-inputs (package-inputs ghostscript)
|
|
|
|
(prepend cups-minimal)))))
|
2017-12-05 11:49:48 -05:00
|
|
|
|
2015-01-14 08:47:37 -05:00
|
|
|
(define-public ijs
|
|
|
|
(package
|
|
|
|
(name "ijs")
|
2017-05-29 04:43:21 -04:00
|
|
|
(version (package-version ghostscript))
|
|
|
|
(source (package-source ghostscript))
|
2015-01-14 08:47:37 -05:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
2023-04-10 16:14:25 -04:00
|
|
|
(append (if (target-riscv64?)
|
|
|
|
(list config)
|
|
|
|
'())
|
|
|
|
(list libtool automake autoconf)))
|
2015-01-14 08:47:37 -05:00
|
|
|
(arguments
|
|
|
|
`(#:phases
|
2017-05-29 04:42:37 -04:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'autogen
|
|
|
|
(lambda _
|
|
|
|
;; need to regenerate macros
|
|
|
|
(system* "autoreconf" "-if")
|
|
|
|
;; do not run configure
|
|
|
|
(substitute* "autogen.sh"
|
|
|
|
(("^.*\\$srcdir/configure.*") ""))
|
|
|
|
(system* "bash" "autogen.sh")
|
|
|
|
;; create configure script in ./ijs/
|
|
|
|
(chdir "ijs")
|
|
|
|
;; do not run configure
|
|
|
|
(substitute* "autogen.sh"
|
|
|
|
(("^.*\\$srcdir/configure.*") "")
|
|
|
|
(("^ + && echo Now type.*$") ""))
|
2023-04-10 16:14:25 -04:00
|
|
|
(invoke "bash" "autogen.sh")))
|
|
|
|
,@(if (target-riscv64?)
|
|
|
|
`((add-after 'unpack 'update-config-scripts
|
|
|
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
|
|
|
(for-each (lambda (file)
|
|
|
|
(install-file
|
|
|
|
(search-input-file
|
|
|
|
(or native-inputs inputs)
|
|
|
|
(string-append "/bin/" file)) "ijs"))
|
|
|
|
'("config.guess" "config.sub")))))
|
|
|
|
'()))))
|
2015-01-14 08:47:37 -05:00
|
|
|
(synopsis "IJS driver framework for inkjet and other raster devices")
|
|
|
|
(description
|
|
|
|
"IJS is a protocol for transmission of raster page images. This package
|
|
|
|
provides the reference implementation of the raster printer driver
|
|
|
|
architecture.")
|
|
|
|
(license license:expat)
|
2017-05-29 04:43:21 -04:00
|
|
|
(home-page (package-home-page ghostscript))))
|
2015-01-14 08:47:37 -05:00
|
|
|
|
2021-07-15 12:56:47 -04:00
|
|
|
(define-public font-ghostscript
|
2013-04-28 15:12:55 -04:00
|
|
|
(package
|
2021-07-15 12:56:47 -04:00
|
|
|
(name "font-ghostscript")
|
2013-04-28 15:12:55 -04:00
|
|
|
(version "8.11")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/gs-fonts/gs-fonts/"
|
|
|
|
version
|
|
|
|
"%20%28base%2035%2C%20GPL%29/ghostscript-fonts-std-"
|
|
|
|
version
|
|
|
|
".tar.gz"))
|
|
|
|
(sha256 (base32
|
|
|
|
"00f4l10xd826kak51wsmaz69szzm2wp8a41jasr4jblz25bg7dhf"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; nothing to check, just files to copy
|
2017-05-06 11:40:35 -04:00
|
|
|
|
|
|
|
#:modules ((guix build gnu-build-system)
|
|
|
|
(guix build utils)
|
|
|
|
(srfi srfi-1))
|
2013-04-28 15:12:55 -04:00
|
|
|
#:phases
|
2017-02-21 14:49:31 -05:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure)
|
|
|
|
(delete 'build)
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(dir (string-append out "/share/fonts/type1/ghostscript")))
|
|
|
|
(mkdir-p dir)
|
|
|
|
(for-each
|
|
|
|
(lambda (file)
|
|
|
|
(copy-file file (string-append dir "/" file)))
|
2018-03-17 17:55:46 -04:00
|
|
|
(find-files "." "pfb|afm"))
|
|
|
|
#t))))))
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
(synopsis "Free replacements for the PostScript fonts")
|
2013-04-28 15:12:55 -04:00
|
|
|
(description
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
"Ghostscript fonts provides fonts and font metrics customarily distributed with
|
|
|
|
Ghostscript. It currently includes the 35 standard PostScript fonts.")
|
2013-04-28 15:12:55 -04:00
|
|
|
(license license:gpl2)
|
gnu: Use HTTPS for all sourceforge.net home pages.
* gnu/packages/admin.scm (mingetty, clusterssh)[home-page]: Use HTTPS.
* gnu/packages/audio.scm (libbs2b, soxr)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[home-page]: Likewise.
* gnu/packages/display-managers.scm (slim)[home-page]: Likewise.
* gnu/packages/games.scm (extremetuxracer)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (gs-fonts)[home-page]: Likewise.
* gnu/packages/haskell.scm (ghc-regex-base, ghc-regex-posix,
ghc-regex-compat)[home-page]: Likewise.
* gnu/packages/image.scm (imlib2)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (librevenge, libcmis, libodfgen, libmwaw)
[home-page]: Likewise.
* gnu/packages/linux.scm (hdparm, acpid, libavc1394, rng-tools)
[home-page]: Likewise.
* gnu/packages/mail.scm (esmtp)[home-page]: Likewise.
* gnu/packages/mp3.scm (ripperx)[home-page]: Likewise.
* gnu/packages/onc-rpc.scm (libtirpc)[home-page]: Likewise.
* gnu/packages/perl.scm (perl-czplib)[home-page]: Likewise.
* gnu/packages/python.scm (python-pyasn1-modules)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xosd)[home-page]: Likewise.
2017-01-03 19:30:46 -05:00
|
|
|
(home-page "https://sourceforge.net/projects/gs-fonts/")))
|
2013-05-05 05:23:13 -04:00
|
|
|
|
2021-07-15 12:56:47 -04:00
|
|
|
(define-public gs-fonts
|
|
|
|
(deprecated-package "gs-fonts" font-ghostscript))
|
|
|
|
|
2013-05-05 07:19:50 -04:00
|
|
|
(define-public libspectre
|
|
|
|
(package
|
|
|
|
(name "libspectre")
|
2022-07-06 18:30:56 -04:00
|
|
|
(version "0.2.10")
|
2013-05-05 07:19:50 -04:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2021-07-19 14:49:44 -04:00
|
|
|
(uri (string-append "https://libspectre.freedesktop.org/releases"
|
|
|
|
"/libspectre-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2022-07-06 18:30:56 -04:00
|
|
|
"01sdaakrv5js8r6gj2r1ankyl304161z060f25mrmz3b1ylb4q6g"))))
|
2013-05-05 07:19:50 -04:00
|
|
|
(build-system gnu-build-system)
|
2021-12-13 11:18:24 -05:00
|
|
|
(inputs (list ghostscript))
|
|
|
|
(native-inputs (list pkg-config))
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
(synopsis "Postscript rendering library")
|
2013-05-05 07:19:50 -04:00
|
|
|
(description
|
|
|
|
"libspectre is a small library for rendering Postscript documents.
|
|
|
|
It provides a convenient easy to use API for handling and rendering
|
|
|
|
Postscript documents.")
|
|
|
|
(license license:gpl2+)
|
gnu: Use HTTPS for supported freedesktop.org home pages.
* gnu/packages/fontutils.scm (fontconfig)[home-page]: Use HTTPS.
* gnu/packages/freedesktop.scm (python-pyxdg, accountsservice)
(modem-manager, telepathy-mission-control, telepathy-mission-control)
(colord-gtk, desktop-file-utils)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (libspectre)[home-page]: Likewise.
* gnu/packages/glib.scm (dbus, dbus-glib, telepathy-glib)[home-page]:
Likewise.
* gnu/packages/gnome.scm (shared-mime-info, hicolor-icon-theme)
(libxklavier, colord, upower)[home-page]: Likewise.
* gnu/packages/gstreamer.scm (orc, python-gst)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (sound-theme-freedesktop)[home-page]:
Likewise.
* gnu/packages/libreoffice.scm (libexttextcat)[home-page]: Likewise.
* gnu/packages/polkit.scm (polkit-gnome, polkit-gnome)[home-page]:
Likewise.
* gnu/packages/pulseaudio.scm (pavucontrol)[home-page]: Likewise.
* gnu/packages/python.scm (python-dbus)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (startup-notification)[home-page]: Likewise.
2018-02-24 07:44:26 -05:00
|
|
|
(home-page "https://www.freedesktop.org/wiki/Software/libspectre")))
|