2013-02-06 00:01:44 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2016-01-10 11:35:52 +01:00
|
|
|
|
;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
2014-07-11 17:58:56 +02:00
|
|
|
|
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
|
2015-01-06 19:16:43 +01:00
|
|
|
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
2016-05-24 21:23:31 +02:00
|
|
|
|
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
|
2016-06-21 11:40:46 +02:00
|
|
|
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
2016-07-06 18:23:03 +02:00
|
|
|
|
;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
|
2016-11-05 21:18:13 +01:00
|
|
|
|
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
|
2016-11-23 22:14:41 +01:00
|
|
|
|
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
|
2013-02-06 00:01:44 +01: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/>.
|
|
|
|
|
|
2016-05-24 21:18:53 +02:00
|
|
|
|
(define-module (gnu packages tex)
|
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 22:44:22 +02:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2013-02-06 00:01:44 +01:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
|
|
|
|
#:use-module (guix build-system gnu)
|
2016-11-23 22:14:41 +01:00
|
|
|
|
#:use-module (guix build-system perl)
|
2015-03-14 22:42:41 +01:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2016-01-15 16:00:47 +01:00
|
|
|
|
#:use-module (guix utils)
|
2016-09-05 00:26:26 +02:00
|
|
|
|
#:use-module (guix git-download)
|
2013-02-06 00:01:44 +01:00
|
|
|
|
#:use-module (gnu packages)
|
2016-09-05 00:26:26 +02:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-03-14 22:42:41 +01:00
|
|
|
|
#:use-module (gnu packages bash)
|
2013-02-06 00:01:44 +01:00
|
|
|
|
#:use-module (gnu packages compression)
|
2013-02-12 13:19:26 +01:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2013-08-07 15:57:14 +02:00
|
|
|
|
#:use-module (gnu packages gd)
|
2013-02-06 00:01:44 +01:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2013-08-07 15:57:14 +02:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2013-02-06 00:01:44 +01:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
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 14:39:02 +02:00
|
|
|
|
#:use-module (gnu packages image)
|
2015-03-14 22:42:41 +01:00
|
|
|
|
#:use-module (gnu packages lua)
|
2015-07-19 14:50:51 +02:00
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2013-02-06 00:01:44 +01:00
|
|
|
|
#:use-module (gnu packages pdf)
|
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages python)
|
2016-05-24 21:23:31 +02:00
|
|
|
|
#:use-module (gnu packages qt)
|
2014-10-29 21:19:51 +01:00
|
|
|
|
#:use-module (gnu packages ruby)
|
2016-08-03 11:01:56 +02:00
|
|
|
|
#:use-module (gnu packages shells)
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 17:21:21 +01:00
|
|
|
|
#:use-module (gnu packages base)
|
2016-11-23 22:15:28 +01:00
|
|
|
|
#:use-module (gnu packages web)
|
|
|
|
|
#:use-module (gnu packages xml)
|
2013-03-17 00:57:02 +01:00
|
|
|
|
#:use-module (gnu packages xorg)
|
2014-12-02 18:29:55 +01:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2013-05-30 21:15:45 +02:00
|
|
|
|
#:use-module (gnu packages zip)
|
2016-01-15 16:00:47 +01:00
|
|
|
|
#:autoload (gnu packages texinfo) (texinfo)
|
|
|
|
|
#:use-module (ice-9 ftw)
|
|
|
|
|
#:use-module (srfi srfi-1))
|
2013-02-06 00:01:44 +01:00
|
|
|
|
|
|
|
|
|
(define texlive-extra-src
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-06-21 11:40:46 +02:00
|
|
|
|
(uri "ftp://tug.org/historic/systems/texlive/2016/texlive-20160523-extra.tar.xz")
|
2013-02-06 00:01:44 +01:00
|
|
|
|
(sha256 (base32
|
2016-06-21 11:40:46 +02:00
|
|
|
|
"0q4a92zmwhn4ry6xgrp4k8wq11ax2sg9rg9yrsrdkr719y0x887a"))))
|
2013-02-06 00:01:44 +01:00
|
|
|
|
|
|
|
|
|
(define texlive-texmf-src
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 11:46:12 +02:00
|
|
|
|
(uri "ftp://tug.org/historic/systems/texlive/2016/texlive-20160523b-texmf.tar.xz")
|
2017-03-06 02:41:36 +01:00
|
|
|
|
(patches (search-patches "texlive-texmf-CVE-2016-10243.patch"))
|
|
|
|
|
(patch-flags '("-p2"))
|
2013-02-06 00:01:44 +01:00
|
|
|
|
(sha256 (base32
|
2016-07-21 11:46:12 +02:00
|
|
|
|
"1dv8vgfzpczqw82hv9g7a8djhhyzywljmrarlcyy6g2qi5q51glr"))))
|
2013-02-06 00:01:44 +01:00
|
|
|
|
|
2016-03-09 22:31:23 +01:00
|
|
|
|
(define texlive-bin
|
2013-02-06 00:01:44 +01:00
|
|
|
|
(package
|
2015-03-14 22:42:41 +01:00
|
|
|
|
(name "texlive-bin")
|
2016-06-21 11:40:46 +02:00
|
|
|
|
(version "2016")
|
2015-03-14 22:42:41 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 11:46:12 +02:00
|
|
|
|
(uri "ftp://tug.org/historic/systems/texlive/2016/texlive-20160523b-source.tar.xz")
|
2015-03-14 22:42:41 +01:00
|
|
|
|
(sha256 (base32
|
2016-07-21 11:46:12 +02:00
|
|
|
|
"1v91vahxlxkdra0qz3f132vvx5d9cx2jy84yl1hkch0agyj2rcx8"))))
|
2013-02-06 00:01:44 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2015-03-14 22:42:41 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("texlive-extra-src" ,texlive-extra-src)
|
|
|
|
|
("cairo" ,cairo)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("fontforge" ,fontforge)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("gd" ,gd)
|
2015-07-19 14:50:51 +02:00
|
|
|
|
("gmp" ,gmp)
|
2015-03-14 22:42:41 +01:00
|
|
|
|
("ghostscript" ,ghostscript)
|
|
|
|
|
("graphite2" ,graphite2)
|
|
|
|
|
("harfbuzz" ,harfbuzz)
|
|
|
|
|
("icu4c" ,icu4c)
|
|
|
|
|
("libpaper" ,libpaper)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libxaw" ,libxaw)
|
|
|
|
|
("libxt" ,libxt)
|
2015-07-19 14:50:51 +02:00
|
|
|
|
("mpfr" ,mpfr)
|
2015-03-14 22:42:41 +01:00
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("pixman" ,pixman)
|
|
|
|
|
("poppler" ,poppler)
|
|
|
|
|
("potrace" ,potrace)
|
|
|
|
|
("python" ,python-2) ; incompatible with Python 3 (print syntax)
|
|
|
|
|
("ruby" ,ruby)
|
|
|
|
|
("tcsh" ,tcsh)
|
|
|
|
|
("teckit" ,teckit)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("zziplib" ,zziplib)))
|
gnu: Move numerous "inputs" which should be "native-inputs".
* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
gnu/packages/texlive.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to
`native-inputs'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-15 12:01:56 +01:00
|
|
|
|
(native-inputs
|
2014-10-30 00:01:02 +01:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2013-02-06 00:01:44 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:out-of-source? #t
|
|
|
|
|
#:configure-flags
|
|
|
|
|
`("--disable-native-texlive-build"
|
2013-08-07 15:57:14 +02:00
|
|
|
|
"--with-system-cairo"
|
2013-02-06 00:01:44 +01:00
|
|
|
|
"--with-system-freetype2"
|
2013-08-07 15:57:14 +02:00
|
|
|
|
"--with-system-gd"
|
2015-07-19 14:50:51 +02:00
|
|
|
|
"--with-system-gmp"
|
2014-10-29 14:40:12 +01:00
|
|
|
|
"--with-system-graphite2"
|
2014-10-29 16:39:06 +01:00
|
|
|
|
"--with-system-harfbuzz"
|
2013-02-06 00:01:44 +01:00
|
|
|
|
"--with-system-icu"
|
|
|
|
|
"--with-system-libgs"
|
2014-10-29 17:40:40 +01:00
|
|
|
|
"--with-system-libpaper"
|
2013-02-06 00:01:44 +01:00
|
|
|
|
"--with-system-libpng"
|
2015-07-19 14:50:51 +02:00
|
|
|
|
"--with-system-mpfr"
|
2013-08-07 15:57:14 +02:00
|
|
|
|
"--with-system-pixman"
|
2013-02-06 00:01:44 +01:00
|
|
|
|
"--with-system-poppler"
|
2014-10-29 20:44:06 +01:00
|
|
|
|
"--with-system-potrace"
|
2013-02-06 00:01:44 +01:00
|
|
|
|
"--with-system-teckit"
|
|
|
|
|
"--with-system-xpdf"
|
|
|
|
|
"--with-system-zlib"
|
|
|
|
|
"--with-system-zziplib")
|
2014-07-25 05:32:13 +02:00
|
|
|
|
|
|
|
|
|
;; Disable tests on mips64 to cope with a failure of luajiterr.test.
|
|
|
|
|
;; XXX FIXME fix luajit properly on mips64.
|
2015-01-06 19:16:43 +01:00
|
|
|
|
#:tests? ,(not (string-prefix? "mips64" (or (%current-target-system)
|
2014-07-25 05:32:13 +02:00
|
|
|
|
(%current-system))))
|
2013-02-06 00:01:44 +01:00
|
|
|
|
#:phases
|
2016-01-10 11:35:52 +01:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'postint
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share (string-append out "/share"))
|
|
|
|
|
(texlive-extra (assoc-ref inputs "texlive-extra-src"))
|
|
|
|
|
(unpack (assoc-ref %standard-phases 'unpack))
|
|
|
|
|
(patch-source-shebangs
|
|
|
|
|
(assoc-ref %standard-phases 'patch-source-shebangs)))
|
|
|
|
|
;; Create symbolic links for the latex variants and their
|
|
|
|
|
;; man pages.
|
|
|
|
|
(with-directory-excursion (string-append out "/bin/")
|
|
|
|
|
(for-each symlink
|
|
|
|
|
'("pdftex" "pdftex" "xetex" "luatex")
|
|
|
|
|
'("latex" "pdflatex" "xelatex" "lualatex")))
|
|
|
|
|
(with-directory-excursion (string-append share "/man/man1/")
|
|
|
|
|
(symlink "luatex.1" "lualatex.1"))
|
|
|
|
|
;; Unpack texlive-extra and install tlpkg.
|
|
|
|
|
(mkdir "texlive-extra")
|
|
|
|
|
(with-directory-excursion "texlive-extra"
|
|
|
|
|
(apply unpack (list #:source texlive-extra))
|
|
|
|
|
(apply patch-source-shebangs (list #:source texlive-extra))
|
|
|
|
|
(system* "mv" "tlpkg" share))))))))
|
2015-03-14 22:42:41 +01:00
|
|
|
|
(synopsis "TeX Live, a package of the TeX typesetting system")
|
|
|
|
|
(description
|
|
|
|
|
"TeX Live provides a comprehensive TeX document production system.
|
|
|
|
|
It includes all the major TeX-related programs, macro packages, and fonts
|
|
|
|
|
that are free software, including support for many languages around the
|
|
|
|
|
world.
|
|
|
|
|
|
|
|
|
|
This package contains the binaries.")
|
2016-07-21 11:56:17 +02:00
|
|
|
|
(license (license:fsf-free "https://www.tug.org/texlive/copying.html"))
|
|
|
|
|
(home-page "https://www.tug.org/texlive/")))
|
2015-03-14 22:42:41 +01:00
|
|
|
|
|
2016-03-09 22:31:23 +01:00
|
|
|
|
(define texlive-texmf
|
2015-03-14 22:42:41 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "texlive-texmf")
|
2016-06-21 11:40:46 +02:00
|
|
|
|
(version "2016")
|
2015-03-14 22:42:41 +01:00
|
|
|
|
(source texlive-texmf-src)
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("texlive-bin" ,texlive-bin)
|
|
|
|
|
("lua" ,lua)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("python" ,python-2) ; incompatible with Python 3 (print syntax)
|
|
|
|
|
("ruby" ,ruby)
|
|
|
|
|
("tcsh" ,tcsh)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-26))
|
2016-08-01 19:00:43 +02:00
|
|
|
|
|
|
|
|
|
;; This package takes 4 GiB, which we can't afford to distribute from
|
|
|
|
|
;; our servers.
|
|
|
|
|
#:substitutable? #f
|
|
|
|
|
|
2015-03-14 22:42:41 +01:00
|
|
|
|
#:phases
|
2016-01-10 11:35:52 +01:00
|
|
|
|
(modify-phases (map (cut assq <> %standard-phases)
|
|
|
|
|
'(set-paths unpack patch-source-shebangs))
|
|
|
|
|
(add-after 'patch-source-shebangs 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((share (string-append (assoc-ref outputs "out") "/share")))
|
|
|
|
|
(mkdir-p share)
|
|
|
|
|
(system* "mv" "texmf-dist" share))))
|
|
|
|
|
(add-after 'install 'texmf-config
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share (string-append out "/share"))
|
|
|
|
|
(texmfroot (string-append share "/texmf-dist/web2c"))
|
|
|
|
|
(texmfcnf (string-append texmfroot "/texmf.cnf"))
|
|
|
|
|
(texlive-bin (assoc-ref inputs "texlive-bin"))
|
|
|
|
|
(texbin (string-append texlive-bin "/bin"))
|
|
|
|
|
(tlpkg (string-append texlive-bin "/share/tlpkg")))
|
|
|
|
|
;; Register SHARE as TEXMFROOT in texmf.cnf.
|
|
|
|
|
(substitute* texmfcnf
|
|
|
|
|
(("TEXMFROOT = \\$SELFAUTOPARENT")
|
2016-07-06 18:23:03 +02:00
|
|
|
|
(string-append "TEXMFROOT = " share))
|
|
|
|
|
(("TEXMFLOCAL = \\$SELFAUTOGRANDPARENT/texmf-local")
|
|
|
|
|
"TEXMFLOCAL = $SELFAUTODIR/share/texmf-local")
|
|
|
|
|
(("!!\\$TEXMFLOCAL") "$TEXMFLOCAL"))
|
2016-01-10 11:35:52 +01:00
|
|
|
|
;; Register paths in texmfcnf.lua, needed for context.
|
|
|
|
|
(substitute* (string-append texmfroot "/texmfcnf.lua")
|
|
|
|
|
(("selfautodir:") out)
|
|
|
|
|
(("selfautoparent:") (string-append share "/")))
|
|
|
|
|
;; Set path to TeXLive Perl modules
|
|
|
|
|
(setenv "PERL5LIB"
|
|
|
|
|
(string-append (getenv "PERL5LIB") ":" tlpkg))
|
|
|
|
|
;; Configure the texmf-dist tree; inspired from
|
|
|
|
|
;; http://slackbuilds.org/repository/13.37/office/texlive/
|
|
|
|
|
(setenv "PATH" (string-append (getenv "PATH") ":" texbin))
|
|
|
|
|
(setenv "TEXMFCNF" texmfroot)
|
|
|
|
|
(system* "updmap-sys" "--nohash" "--syncwithtrees")
|
|
|
|
|
(system* "mktexlsr")
|
|
|
|
|
(system* "fmtutil-sys" "--all")))))))
|
2016-06-21 11:40:46 +02:00
|
|
|
|
(properties `((max-silent-time . 9600))) ; don't time out while grafting
|
2015-03-14 22:42:41 +01:00
|
|
|
|
(synopsis "TeX Live, a package of the TeX typesetting system")
|
2013-02-06 00:01:44 +01:00
|
|
|
|
(description
|
|
|
|
|
"TeX Live provides a comprehensive TeX document production system.
|
|
|
|
|
It includes all the major TeX-related programs, macro packages, and fonts
|
|
|
|
|
that are free software, including support for many languages around the
|
2015-03-14 22:42:41 +01:00
|
|
|
|
world.
|
|
|
|
|
|
|
|
|
|
This package contains the complete tree of texmf-dist data.")
|
2016-07-21 11:56:17 +02:00
|
|
|
|
(license (license:fsf-free "https://www.tug.org/texlive/copying.html"))
|
|
|
|
|
(home-page "https://www.tug.org/texlive/")))
|
2015-03-14 22:42:41 +01:00
|
|
|
|
|
|
|
|
|
(define-public texlive
|
|
|
|
|
(package
|
|
|
|
|
(name "texlive")
|
2016-06-21 11:40:46 +02:00
|
|
|
|
(version "2016")
|
2015-03-14 22:42:41 +01:00
|
|
|
|
(source #f)
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(inputs `(("bash" ,bash) ; for wrap-program
|
|
|
|
|
("texlive-bin" ,texlive-bin)
|
|
|
|
|
("texlive-texmf" ,texlive-texmf)))
|
2016-07-06 18:23:03 +02:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "TEXMFLOCAL")
|
|
|
|
|
(files '("share/texmf-local")))))
|
2015-03-14 22:42:41 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
;; Build the union of texlive-bin and texlive-texmf, but take the
|
|
|
|
|
;; conflicting subdirectory share/texmf-dist from texlive-texmf.
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(bin (assoc-ref %build-inputs "texlive-bin"))
|
|
|
|
|
(texmf (assoc-ref %build-inputs "texlive-texmf"))
|
|
|
|
|
(bash (assoc-ref %build-inputs "bash")))
|
|
|
|
|
(mkdir out)
|
|
|
|
|
(with-directory-excursion out
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (name)
|
|
|
|
|
(symlink (string-append bin "/" name) name))
|
|
|
|
|
'("include" "lib"))
|
|
|
|
|
(mkdir "bin")
|
|
|
|
|
(with-directory-excursion "bin"
|
|
|
|
|
(setenv "PATH" (string-append bash "/bin"))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (name)
|
|
|
|
|
(symlink name (basename name))
|
|
|
|
|
(wrap-program
|
|
|
|
|
(basename name)
|
|
|
|
|
`("TEXMFCNF" =
|
|
|
|
|
(,(string-append texmf "/share/texmf-dist/web2c")))))
|
|
|
|
|
(find-files (string-append bin "/bin/") "")))
|
|
|
|
|
(mkdir "share")
|
|
|
|
|
(with-directory-excursion "share"
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (name)
|
|
|
|
|
(symlink (string-append bin "/share/" name) name))
|
|
|
|
|
'("info" "man" "tlpkg"))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (name)
|
|
|
|
|
(symlink (string-append texmf "/share/" name) name))
|
|
|
|
|
'("texmf-dist" "texmf-var"))))))))
|
|
|
|
|
(synopsis "TeX Live, a package of the TeX typesetting system")
|
|
|
|
|
(description
|
|
|
|
|
"TeX Live provides a comprehensive TeX document production system.
|
|
|
|
|
It includes all the major TeX-related programs, macro packages, and fonts
|
|
|
|
|
that are free software, including support for many languages around the
|
|
|
|
|
world.
|
|
|
|
|
|
|
|
|
|
This package contains the complete TeX Live distribution.")
|
2016-07-21 11:56:17 +02:00
|
|
|
|
(license (license:fsf-free "https://www.tug.org/texlive/copying.html"))
|
|
|
|
|
(home-page "https://www.tug.org/texlive/")))
|
2013-05-30 21:15:45 +02:00
|
|
|
|
|
2016-01-15 16:00:47 +01:00
|
|
|
|
|
|
|
|
|
;; texlive-texmf-minimal is a pruned, small version of the texlive tree,
|
2016-08-01 19:00:43 +02:00
|
|
|
|
;; in particular dropping documentation and fonts. It weighs in at 470 MiB
|
|
|
|
|
;; instead of 4 GiB.
|
2016-01-15 16:00:47 +01:00
|
|
|
|
(define texlive-texmf-minimal
|
|
|
|
|
(package (inherit texlive-texmf)
|
|
|
|
|
(name "texlive-texmf-minimal")
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments
|
|
|
|
|
(package-arguments texlive-texmf)
|
|
|
|
|
((#:modules modules)
|
|
|
|
|
`((ice-9 ftw)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
,@modules))
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'unpack 'prune
|
|
|
|
|
(lambda _
|
|
|
|
|
(define (delete subdir exclude)
|
|
|
|
|
"Delete all files and directories in SUBDIR except for those
|
|
|
|
|
given in the list EXCLUDE."
|
|
|
|
|
(with-directory-excursion subdir
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
(lset-difference equal?
|
|
|
|
|
(scandir ".")
|
|
|
|
|
(append '("." "..")
|
|
|
|
|
exclude)))))
|
|
|
|
|
(with-directory-excursion "texmf-dist"
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("doc" "source" "tex4ht"))
|
|
|
|
|
;; Delete all subdirectories of "fonts", except for "tfm" and
|
|
|
|
|
;; any directories named "cm".
|
|
|
|
|
(delete "fonts" '("afm" "map" "pk" "source" "tfm" "type1"))
|
|
|
|
|
(delete "fonts/afm" '("public"))
|
|
|
|
|
(delete "fonts/afm/public" '("amsfonts"))
|
|
|
|
|
(delete "fonts/afm/public/amsfonts" '("cm"))
|
|
|
|
|
(delete "fonts/map" '("dvips"))
|
|
|
|
|
(delete "fonts/map/dvips" '("cm"))
|
|
|
|
|
(delete "fonts/source" '("public"))
|
|
|
|
|
(delete "fonts/source/public" '("cm"))
|
|
|
|
|
(delete "fonts/tfm" '("public"))
|
|
|
|
|
(delete "fonts/type1" '("public"))
|
|
|
|
|
(delete "fonts/type1/public" '("amsfonts"))
|
|
|
|
|
(delete "fonts/type1/public/amsfonts" '("cm")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(description
|
|
|
|
|
"TeX Live provides a comprehensive TeX document production system.
|
|
|
|
|
It includes all the major TeX-related programs, macro packages, and fonts
|
|
|
|
|
that are free software, including support for many languages around the
|
|
|
|
|
world.
|
|
|
|
|
|
|
|
|
|
This package contains a small subset of the texmf-dist data.")))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; texlive-minimal is the same as texlive, but using texlive-texmf-minimal
|
|
|
|
|
;; instead of the full texlive-texmf. It can be used, for instance, as a
|
|
|
|
|
;; native input to packages that need texlive to build their documentation.
|
|
|
|
|
(define-public texlive-minimal
|
|
|
|
|
(package (inherit texlive)
|
|
|
|
|
(name "texlive-minimal")
|
|
|
|
|
(inputs
|
|
|
|
|
`(("texlive-texmf" ,texlive-texmf-minimal)
|
|
|
|
|
,@(alist-delete "texlive-texmf" (package-inputs texlive))))
|
2016-07-06 18:23:03 +02:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "TEXMFLOCAL")
|
|
|
|
|
(files '("share/texmf-local")))))
|
2016-01-15 16:00:47 +01:00
|
|
|
|
(description
|
|
|
|
|
"TeX Live provides a comprehensive TeX document production system.
|
|
|
|
|
It includes all the major TeX-related programs, macro packages, and fonts
|
|
|
|
|
that are free software, including support for many languages around the
|
|
|
|
|
world.
|
|
|
|
|
|
|
|
|
|
This package contains a small working part of the TeX Live distribution.")))
|
|
|
|
|
|
2016-11-23 22:14:41 +01:00
|
|
|
|
(define-public perl-text-bibtex
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-text-bibtex")
|
|
|
|
|
(version "0.77")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AM/AMBS/Text-BibTeX-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0kkfx8skk763pivz6h2ffy2zdp1lvy6d5sz0kjaj0mdbjffvnnb4"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'add-output-directory-to-rpath
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "inc/MyBuilder.pm"
|
|
|
|
|
(("-Lbtparse" line)
|
|
|
|
|
(string-append "-Wl,-rpath="
|
|
|
|
|
(assoc-ref outputs "out") "/lib " line)))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'install-libraries-to-/lib
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Build.PL"
|
|
|
|
|
(("lib64") "lib"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-capture-tiny" ,perl-capture-tiny)
|
|
|
|
|
("perl-config-autoconf" ,perl-config-autoconf)
|
|
|
|
|
("perl-extutils-libbuilder" ,perl-extutils-libbuilder)
|
|
|
|
|
("perl-module-build" ,perl-module-build)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/Text-BibTeX")
|
|
|
|
|
(synopsis "Interface to read and parse BibTeX files")
|
|
|
|
|
(description "@code{Text::BibTeX} is a Perl library for reading, parsing,
|
|
|
|
|
and processing BibTeX files. @code{Text::BibTeX} gives you access to the data
|
|
|
|
|
at many different levels: you may work with BibTeX entries as simple field to
|
|
|
|
|
string mappings, or get at the original form of the data as a list of simple
|
|
|
|
|
values (strings, macros, or numbers) pasted together.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2016-11-23 22:14:41 +01:00
|
|
|
|
|
2016-11-23 22:15:28 +01:00
|
|
|
|
(define-public biber
|
|
|
|
|
(package
|
|
|
|
|
(name "biber-next")
|
|
|
|
|
(version "2.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/plk/biber/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"158smzgjhjvyabdv97si5q88zjj5l8j1zbfnddvzy6fkpfhskgkp"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'wrap-programs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(perl5lib (getenv "PERL5LIB")))
|
|
|
|
|
(wrap-program (string-append out "/bin/biber")
|
|
|
|
|
`("PERL5LIB" ":" prefix
|
|
|
|
|
(,(string-append perl5lib ":" out
|
|
|
|
|
"/lib/perl5/site_perl")))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-autovivification" ,perl-autovivification)
|
|
|
|
|
("perl-class-accessor" ,perl-class-accessor)
|
|
|
|
|
("perl-data-dump" ,perl-data-dump)
|
|
|
|
|
("perl-data-compare" ,perl-data-compare)
|
|
|
|
|
("perl-data-uniqid" ,perl-data-uniqid)
|
|
|
|
|
("perl-datetime-format-builder" ,perl-datetime-format-builder)
|
|
|
|
|
("perl-datetime-calendar-julian" ,perl-datetime-calendar-julian)
|
|
|
|
|
("perl-file-slurp" ,perl-file-slurp)
|
|
|
|
|
("perl-ipc-cmd" ,perl-ipc-cmd)
|
|
|
|
|
("perl-ipc-run3" ,perl-ipc-run3)
|
|
|
|
|
("perl-list-allutils" ,perl-list-allutils)
|
|
|
|
|
("perl-list-moreutils" ,perl-list-moreutils)
|
|
|
|
|
("perl-mozilla-ca" ,perl-mozilla-ca)
|
|
|
|
|
("perl-regexp-common" ,perl-regexp-common)
|
|
|
|
|
("perl-log-log4perl" ,perl-log-log4perl)
|
|
|
|
|
;; We cannot use perl-unicode-collate here, because otherwise the
|
|
|
|
|
;; hardcoded hashes in the tests would differ. See
|
|
|
|
|
;; https://mail-archive.com/debian-bugs-dist@lists.debian.org/msg1469249.html
|
|
|
|
|
;;("perl-unicode-collate" ,perl-unicode-collate)
|
|
|
|
|
("perl-unicode-normalize" ,perl-unicode-normalize)
|
|
|
|
|
("perl-unicode-linebreak" ,perl-unicode-linebreak)
|
|
|
|
|
("perl-encode-eucjpascii" ,perl-encode-eucjpascii)
|
|
|
|
|
("perl-encode-jis2k" ,perl-encode-jis2k)
|
|
|
|
|
("perl-encode-hanextra" ,perl-encode-hanextra)
|
|
|
|
|
("perl-xml-libxml" ,perl-xml-libxml)
|
|
|
|
|
("perl-xml-libxml-simple" ,perl-xml-libxml-simple)
|
|
|
|
|
("perl-xml-libxslt" ,perl-xml-libxslt)
|
|
|
|
|
("perl-xml-writer" ,perl-xml-writer)
|
|
|
|
|
("perl-sort-key" ,perl-sort-key)
|
|
|
|
|
("perl-text-csv" ,perl-text-csv)
|
|
|
|
|
("perl-text-csv-xs" ,perl-text-csv-xs)
|
|
|
|
|
("perl-text-roman" ,perl-text-roman)
|
|
|
|
|
("perl-uri" ,perl-uri)
|
|
|
|
|
("perl-text-bibtex" ,perl-text-bibtex)
|
|
|
|
|
("perl-libwww" ,perl-libwww)
|
|
|
|
|
("perl-lwp-protocol-https" ,perl-lwp-protocol-https)
|
|
|
|
|
("perl-business-isbn" ,perl-business-isbn)
|
|
|
|
|
("perl-business-issn" ,perl-business-issn)
|
|
|
|
|
("perl-business-ismn" ,perl-business-ismn)
|
|
|
|
|
("perl-lingua-translit" ,perl-lingua-translit)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-config-autoconf" ,perl-config-autoconf)
|
|
|
|
|
("perl-extutils-libbuilder" ,perl-extutils-libbuilder)
|
|
|
|
|
("perl-module-build" ,perl-module-build)
|
|
|
|
|
;; for tests
|
|
|
|
|
("perl-file-which" ,perl-file-which)
|
|
|
|
|
("perl-test-more" ,perl-test-most) ; FIXME: "more" would be sufficient
|
|
|
|
|
("perl-test-differences" ,perl-test-differences)))
|
|
|
|
|
(home-page "http://biblatex-biber.sourceforge.net/")
|
|
|
|
|
(synopsis "Backend for the BibLaTeX citation management tool")
|
|
|
|
|
(description "Biber is a BibTeX replacement for users of biblatex. Among
|
|
|
|
|
other things it comes with full Unicode support.")
|
|
|
|
|
(license license:artistic2.0)))
|
|
|
|
|
|
2016-11-23 22:15:51 +01:00
|
|
|
|
;; Our version of texlive comes with biblatex 3.4, which is only compatible
|
|
|
|
|
;; with biber 2.5 according to the compatibility matrix in the biber
|
|
|
|
|
;; documentation.
|
|
|
|
|
(define-public biber-2.5
|
|
|
|
|
(package (inherit biber)
|
|
|
|
|
(name "biber")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/plk/biber/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"163sd343wkrzwnvj2003m2j0kz517jmjr4savw6f8bjxhj8fdrqv"))))
|
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments (package-arguments biber)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-before 'check 'delete-failing-test
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "t/sort-order.t")
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-date-simple" ,perl-date-simple)
|
|
|
|
|
,@(package-inputs biber)))))
|
2016-01-15 16:00:47 +01:00
|
|
|
|
|
2013-05-30 21:15:45 +02:00
|
|
|
|
(define-public rubber
|
|
|
|
|
(package
|
|
|
|
|
(name "rubber")
|
|
|
|
|
(version "1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append "https://launchpad.net/rubber/trunk/"
|
|
|
|
|
version "/+download/rubber-"
|
|
|
|
|
version ".tar.gz")
|
|
|
|
|
(string-append "http://ebeffara.free.fr/pub/rubber-"
|
|
|
|
|
version ".tar.gz")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1xbkv8ll889933gyi2a5hj7hhh216k04gn8fwz5lfv5iz8s34gbq"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments '(#:tests? #f)) ; no `check' target
|
|
|
|
|
(inputs `(("texinfo" ,texinfo)
|
2013-09-04 19:06:51 +02:00
|
|
|
|
("python" ,python-2) ; incompatible with Python 3 (print syntax)
|
2013-05-30 21:15:45 +02:00
|
|
|
|
("which" ,which)))
|
|
|
|
|
(home-page "https://launchpad.net/rubber")
|
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 06:46:59 +02:00
|
|
|
|
(synopsis "Wrapper for LaTeX and friends")
|
2013-05-30 21:15:45 +02:00
|
|
|
|
(description
|
|
|
|
|
"Rubber is a program whose purpose is to handle all tasks related to the
|
|
|
|
|
compilation of LaTeX documents. This includes compiling the document itself,
|
|
|
|
|
of course, enough times so that all references are defined, and running BibTeX
|
|
|
|
|
to manage bibliographic references. Automatic execution of dvips to produce
|
|
|
|
|
PostScript documents is also included, as well as usage of pdfLaTeX to produce
|
|
|
|
|
PDF documents.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-05-24 21:23:31 +02:00
|
|
|
|
|
|
|
|
|
(define-public texmaker
|
|
|
|
|
(package
|
|
|
|
|
(name "texmaker")
|
|
|
|
|
(version "4.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.xm1math.net/texmaker/texmaker-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"056njk6j8wma23mlp7xa3rgfaxx0q8ynwx8wkmj7iy0b85p9ds9c"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Qt has its own configuration utility.
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(zero? (system* "qmake"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "DESKTOPDIR=" out
|
|
|
|
|
"/share/applications")
|
|
|
|
|
(string-append "ICONDIR=" out "/share/pixmaps")
|
|
|
|
|
"texmaker.pro"))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("poppler-qt5" ,poppler-qt5)
|
2016-11-05 21:18:13 +01:00
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtscript" ,qtscript)
|
|
|
|
|
("qtwebkit" ,qtwebkit)
|
2016-05-24 21:23:31 +02:00
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://www.xm1math.net/texmaker/")
|
|
|
|
|
(synopsis "LaTeX editor")
|
|
|
|
|
(description "Texmaker is a program that integrates many tools needed to
|
|
|
|
|
develop documents with LaTeX, in a single application.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-09-05 00:26:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public teximpatient
|
|
|
|
|
(package
|
|
|
|
|
(name "teximpatient")
|
|
|
|
|
(version "2.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/" name "/" name "-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0h56w22d99dh4fgld4ssik8ggnmhmrrbnrn1lnxi1zr0miphn1sd"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'check)
|
|
|
|
|
;; Unfortunately some mistakes have been made in packaging.
|
|
|
|
|
;; Work around them here ...
|
|
|
|
|
(replace 'unpack
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((srcdir "teximpatient-2.4"))
|
|
|
|
|
(system* "tar" "-xzf" (assoc-ref inputs "source")
|
|
|
|
|
(string-append "--one-top-level=" srcdir))
|
|
|
|
|
(delete-file (string-append srcdir "/book.pdf"))
|
|
|
|
|
(install-file (car
|
|
|
|
|
(find-files
|
|
|
|
|
(assoc-ref inputs "automake")
|
|
|
|
|
"^install-sh$"))
|
|
|
|
|
srcdir)
|
|
|
|
|
(chdir srcdir)))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("texlive" ,texlive)
|
|
|
|
|
("automake" ,automake)))
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/teximpatient/")
|
2016-09-05 00:26:26 +02:00
|
|
|
|
(synopsis "Book on TeX, plain TeX and Eplain")
|
|
|
|
|
(description "@i{TeX for the Impatient} is a ~350 page book on TeX,
|
|
|
|
|
plain TeX, and Eplain, originally written by Paul Abrahams, Kathryn Hargreaves,
|
|
|
|
|
and Karl Berry.")
|
|
|
|
|
(license license:fdl1.3+)))
|