Marius Bakke
e3ce85725c
gnu: texlive-hyperref: Don't propagate texlive-oberdiek.
...
* gnu/packages/tex.scm (texlive-hyperref)[propagated-inputs]: Remove
TEXLIVE-OBERDIEK. Add TEXLIVE-GENERIC-ATBEGSHI, TEXLIVE-GENERIC-BITSET,
TEXLIVE-GENERIC-ETEXCMDS, TEXLIVE-GENERIC-GETTITLESTRING,
TEXLIVE-GENERIC-IFTEX, TEXLIVE-GENERIC-INFWARERR, TEXLIVE-GENERIC-INTCALC,
TEXLIVE-GENERIC-KVDEFINEKEYS, TEXLIVE-GENERIC-LTXCMDS,
TEXLIVE-GENERIC-PDFESCAPE, TEXLIVE-LATEX-AUXHOOK, TEXLIVE-LATEX-ATVERYEND,
TEXLIVE-LATEX-HYCOLOR, TEXLIVE-LATEX-KVOPTIONS, TEXLIVE-LATEX-LETLTXMACRO,
TEXLIVE-LATEX-PDFTEXCMDS, TEXLIVE-LATEX-REFCOUNT, and
TEXLIVE-LATEX-RERUNFILECHECK.
2021-06-06 00:12:53 +02:00
Marius Bakke
7a06061662
gnu: texlive-base: Propagate texlive-kpathsea.
...
* gnu/packages/tex.scm (texlive-base)[propagated-inputs]: Add
TEXLIVE-KPATHSEA.
2021-06-06 00:12:53 +02:00
Marius Bakke
ef52a9cad3
gnu: Add texlive-latex-rerunfilecheck.
...
* gnu/packages/tex.scm (texlive-latex-rerunfilecheck): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
daf2e15187
gnu: Add texlive-generic-uniquecounter.
...
* gnu/packages/tex.scm (texlive-generic-uniquecounter): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
169060fe7c
gnu: Add texlive-generic-pdfescape.
...
* gnu/packages/tex.scm (texlive-generic-pdfescape): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
a064a9152f
gnu: Add texlive-latex-kvoptions.
...
* gnu/packages/tex.scm (texlive-latex-kvoptions): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
29baa9290e
gnu: Add texlive-generic-kvsetkeys.
...
* gnu/packages/tex.scm (texlive-generic-kvsetkeys): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
4b439f07d6
gnu: Add texlive-generic-kvdefinekeys.
...
* gnu/packages/tex.scm (texlive-generic-kvdefinekeys): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
e30373f8ac
gnu: Add texlive-generic-gettitlestring.
...
* gnu/packages/tex.scm (texlive-generic-gettitlestring): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
95e3a20985
gnu: Add texlive-generic-etexcmds.
...
* gnu/packages/tex.scm (texlive-generic-etexcmds): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
d476433d70
gnu: Add texlive-generic-bitset.
...
* gnu/packages/tex.scm (texlive-generic-bitset): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
3e0dc201ec
gnu: Add texlive-generic-bigintcalc.
...
* gnu/packages/tex.scm (texlive-generic-bigintcalc): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
2d78486e60
gnu: Add texlive-generic-intcalc.
...
* gnu/packages/tex.scm (texlive-generic-intcalc): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
e68df1408a
gnu: Add texlive-generic-atbegshi.
...
* gnu/packages/tex.scm (texlive-generic-atbegshi): New public variable.
2021-06-06 00:12:52 +02:00
Marius Bakke
935784ba34
gnu: Add texlive-latex-letltxmacro.
...
* gnu/packages/tex.scm (texlive-latex-letltxmacro): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
2c3c8ac45d
gnu: Add texlive-latex-pdftexcmds.
...
* gnu/packages/tex.scm (texlive-latex-pdftexcmds): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
c1700a9bae
gnu: Add texlive-generic-ltxcmds.
...
* gnu/packages/tex.scm (texlive-generic-ltxcmds): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
d136754211
gnu: Add texlive-generic-infwarerr.
...
* gnu/packages/tex.scm (texlive-generic-infwarerr): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
df5569d514
gnu: Add texlive-latex-hycolor.
...
* gnu/packages/tex.scm (texlive-latex-hycolor): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
0a64d8e005
gnu: Add texlive-latex-epstopdf-pkg.
...
* gnu/packages/tex.scm (texlive-latex-epstopdf-pkg): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
f2543d82ae
gnu: Add texlive-latex-auxhook.
...
* gnu/packages/tex.scm (texlive-latex-auxhook): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
25de551c26
gnu: Add texlive-latex-atveryend.
...
* gnu/packages/tex.scm (texlive-latex-atveryend): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
730e7fcb77
gnu: simple-texlive-package: Fix shebang patching.
...
* gnu/packages/tex.scm (simple-texlive-package)[arguments]: Copy the working
directory instead of the source directory to the output.
2021-06-06 00:12:51 +02:00
Marius Bakke
5e61abcaf6
gnu: dblatex: Update to 0.3.12.
...
* gnu/packages/docbook.scm (dblatex): Update to 0.3.12.
[source](uri): Adjust file name.
[inputs]: Add TEXLIVE-LATEX-BOOKMARK and TEXLIVE-LATEX-REFCOUNT.
[arguments]: Remove #:python.
2021-06-06 00:12:51 +02:00
Marius Bakke
4d85dde0ef
gnu: Add texlive-latex-bookmark.
...
* gnu/packages/tex.scm (texlive-latex-bookmark): New public variable.
2021-06-06 00:12:51 +02:00
Marius Bakke
a8e8c9e59c
gnu: Add texlive-latex-refcount.
...
* gnu/packages/tex.scm (texlive-latex-refcount): New public variable.
2021-06-06 00:12:50 +02:00
Marius Bakke
7747df1bc2
gnu: TeX Live: Update to 2020.0.
...
* guix/build-system/texlive.scm (%texlive-tag): Set to 2020.0.
(%texlive-revision): Set to 54632.
* gnu/packages/tex.scm (texlive-extra-src, texlive-texmf-src, texlive-bin,
texlive-texmf, texlive): Update to 20200406.
(texlive-bin)[source](patches): Remove.
[arguments]: Adjust poppler compatibility phase for new upstream patches.
* gnu/packages/tex.scm (hyph-utf8-scripts, texlive-docstrip, texlive-unicode-data
texlive-hyphen-base, texlive-dvips, texlive-metafont-base, texlive-fontinst,
texlive-fontname, texlive-tex-plain, texlive-hyphen-bulgarian, texlive-hyphen-chinese,
texlive-hyphen-hungarian, texlive-hyphen-latin, texlive-hyphen-sanskrit,
texlive-hyphen-spanish, texlive-hyph-utf8, texlive-kpathsea,
texlive-latexconfig, texlive-latex-base, texlive-union,
texlive-latex-filecontents, texlive-latex-fancyvrb, texlive-graphics-def,
texlive-latex-graphics, texlive-latex-oberdiek, texlive-latex-tools,
texlive-latex-l3kernel, texlive-latex-l3packages, texlive-latex-fontspec,
texlive-latex-amsmath, texlive-latex-babel, texlive-latex-draftwatermark,
texlive-etoolbox, texlive-latex-geometry, texlive-latex-polyglossia,
texlive-latex-supertabular, texlive-tex-texinfo, texlive-latex-appendix,
texlive-latex-colortbl, texlive-latex-listings, texlive-inconsolata,
texlive-latex-enumitem, texlive-latex-multirow, texlive-latex-overpic,
texlive-latex-parskip, texlive-latex-pdfpages, texlive-libertine,
texlive-latex-titlesec, texlive-metapost, texlive-latex-acmart,
texlive-latex-wasysym, texlive-latex-preview, texlive-latex-acronym,
texlive-pdftex, texlive-latex-media9, texlive-latex-ocgx2, texlive-latex-ms,
texlive-generic-ulem, texlive-latex-pgf, texlive-latex-koma-script,
texlive-generic-listofitems, texlive-bibtex, texlive-context-base,
texlive-beamer, texlive-pstricks, texlive-marginnote, texlive-iftex,
texlive-tools, texlive-siunitx, texlive-booktabs, texlive-csquotes,
texlive-biblatex, texlive-microtype, texlive-caption, texlive-ydoc,
texlive-courier, texlive-hyperref, texlive-fontspec, texlive-l3build,
texlive-luaotfload, texlive-babel, texlive-tipa, texlive-jknappen,
texlive-wasy, texlive-context, texlive-cabin, texlive-fourier,
texlive-mweights, texlive-newtx, texlive-xcharter, texlive-tcolorbox): Update
hashes.
(texlive-hyphen-bulgarian): Don't include removed files.
(texlive-hyphen-hungarian, texlive-hyphen-sanskrit): Adjust for directory
rename.
(texlive-hyphen-chinese, texlive-hyphen-latin): Add more files.
(texlive-hyphen-macedonian): New public variable.
(texlive-metafont-base)[source]: Switch to SVN-MULTI-FETCH.
[arguments]: Adjust for extra source files.
(texlive-latex-base)[arguments]: Disable more formats.
[propagated-inputs]: Add TEXLIVE-HYPHEN-MACEDONIAN.
(texlive-fontinst): Don't include "scripts/texlive/fontinst.sh".
(texlive-generic-iftex): New public variable.
(texlive-iftex, texlive-generic-ifxetex): Deprecate in favor of
TEXLIVE-GENERIC-IFTEX.
(texlive-latex-oberdiek)[propagated-inputs]: Change from
TEXLIVE-GENERIC-IFXETEX to TEXLIVE-GENERIC-IFTEX.
(texlive-latex-xkeyval)[native-inputs]: Likewise.
(texlive-default-updmap.cfg): Remove variable.
* gnu/packages/patches/texlive-bin-poppler-0.83.patch,
gnu/packages/patches/texlive-bin-poppler-0.86.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-06-06 00:12:50 +02:00
Maxim Cournoyer
683eb7c5b1
gnu: Remove remnants of nettle 3.5.
...
The source of nettle-3.5 was already using the source of nettle-3.7.
* gnu/packages/nettle.scm
(nettle-3.5): Rename to 'nettle'.
(nettle-3.7): Remove variable.
(nettle): Remove alias.
2021-06-05 02:09:03 -04:00
Maxim Cournoyer
5d547f74ed
gnu: nasm: Update to 2.15.05.
...
* gnu/packages/assembly.scm (nasm): Update to 2.15.05.
[phases]{dont-build-ps-pdf-outputs}: Adjust patching to changes in the source.
2021-06-05 00:14:57 -04:00
Maxime Devos
d1827d5c63
gnu: wireguard-tools: Set #:sh argument of 'wrap-program'.
...
* gnu/packages/vpn.scm
(wireguard-tools)[arguments]<#:phases>{wrap-wg-quick}:
Set #:sh argument of ‘wrap-program’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:33 +02:00
Maxime Devos
96a2ae40fb
gnu: protonvpn-cli: Set #:sh argument of 'wrap-program'.
...
* gnu/packages/vpn.scm
(protonvpn-cli)[arguments]<#:phases>{wrap-wrapper}:
Set #:sh argument of ‘wrap-program’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:33 +02:00
Maxime Devos
b74085ce36
gnu: openconnect-sso: Set #:sh argument of 'wrap-program'.
...
* gnu/packages/vpn.scm
(openconnect-sso)[arguments]<#:phases>{wrap-qt-process-path}
Set #:sh argument of ‘wrap-program’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:33 +02:00
Maxime Devos
3bbb0ec888
gnu: vpnc-scripts: Set #:guile argument of 'wrap-script'.
...
* gnu/packages/vpn.scm
(vpnc-scripts)[arguments]<#:phases>{wrap-scripts}:
Set #:guile argument of ‘wrap-script’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:33 +02:00
Maxime Devos
a4e38cc216
gnu: clipmenu: Set #:guile argument of 'wrap-script'.
...
* gnu/packages/xdisorg.scm
(clipmenu)[arguments]<#:phases>{wrap-script}:
Set #:guile argument of ‘wrap-script’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:33 +02:00
Maxime Devos
0758ee8002
gnu: sieve-connect: Set #:guile argument of 'wrap-script'.
...
* gnu/packages/mail.scm
(sieve-connect)[arguments]<#:phases>{wrap-program}:
Set #:guile argument of ‘wrap-script’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:33 +02:00
Maxime Devos
b2459387b9
gnu: nanopolish: Set #:guile argument of 'wrap-script'.
...
* gnu/packages/bioinformatics.scm
(nanopolish)[arguments]<#:phases>{wrap-programs}:
Set #:guile argument of ‘wrap-script’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:33 +02:00
Maxime Devos
2d092a2afa
gnu: gess: Set #:guile argument of 'wrap-script'.
...
* gnu/packages/bioinformatics.scm
(gess)[arguments]<#:phases>{install}
Set #:guile argument of ‘wrap-script’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:32 +02:00
Maxime Devos
c4989f7569
gnu: prinseq: Set #:guile argument of 'wrap-script'.
...
* gnu/packages/bioinformatics.scm
(prinseq)[arguments]<#:phases>{install}:
Set #:guile argument of ‘wrap-script’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:32 +02:00
Maxime Devos
fadbac0ecc
gnu: proteinortho: Set #:guile argument of 'wrap-script'.
...
* gnu/packages/bioinformatics.scm
(proteinortho)[arguments]<#:phases>{wrap-programs}:
Set #:guile argument of ‘wrap-script’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:32 +02:00
Maxime Devos
b202fdf131
gnu: bats: Set #:guile argument of 'wrap-script'.
...
* gnu/packages/bash.scm
(bats)[arguments]<#:builder>: Set #:guile argument
of ‘wrap-script’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:32 +02:00
Maxime Devos
0a843e3643
gnu: carla: Set #:guile argument of 'wrap-script'.
...
* gnu/packages/audio.scm
(carla)[arguments]<#:phases>{wrap-executables}:
Set #:guile argument of ‘wrap-script’.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:32 +02:00
Maxime Devos
a62d17dc05
rakudo-build-system: Look up the interpreter in 'inputs'.
...
* guix/build/rakudo-build-system.scm (wrap): Pass
the shell interpreter from 'inputs' to 'wrap-program' using
'search-input-file'.
Partially-Fixes: <https://issues.guix.gnu.org/47869 >
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:32 +02:00
Maxime Devos
2ac898d7f8
qt-build-system: Look up the interpreter in 'inputs'.
...
* guix/build/qt-build-system.scm (wrap-all-programs): Pass
the shell interpreter from 'inputs' to 'wrap-program' using
'search-input-file'.
Partially-Fixes: <https://issues.guix.gnu.org/47869 >
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:32 +02:00
Maxime Devos
5b24cbee31
python-build-system: Look up the interpreter in 'inputs'.
...
* guix/build/python-build-system.scm (wrap): Pass the shell
interpreter from 'inputs' to 'wrap-program' using 'search-input-file'.
Partially-Fixes: <https://issues.guix.gnu.org/47869 >
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:31 +02:00
Maxime Devos
1dbc3b2b0c
glib-or-gtk-build-system: Look up the interpreter in 'inputs'.
...
* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs): Pass
the shell interpreter from 'inputs' to 'wrap-program' using
'search-input-file'.
Partially-Fixes: <https://issues.guix.gnu.org/47869 >
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:31 +02:00
Maxime Devos
5378edeab4
utils: Define ‘search-input-file’ procedure.
...
The procedure ‘which’ from (guix build utils)
is used for two different purposes:
1. for finding the absolute file name of a binary
that needs to run during the build process
2. for finding the absolute file name of a binary,
for the target system (as in --target=TARGET),
e.g. for substituting sh->/gnu/store/.../bin/sh,
python->/gnu/store/.../bin/python.
When compiling natively (target=#f in Guix parlance),
this is perfectly fine.
However, when cross-compiling, there is a problem.
"which" looks in $PATH for binaries. That's good for purpose (1),
but incorrect for (2), as the $PATH contains binaries from native-inputs
instead of inputs.
This commit defines a ‘search-input-file’ procedure. It functions
like 'which', but instead of searching in $PATH, it searches in
the 'inputs' of the build phase, which must be passed to
‘search-input-file’ as an argument. Also, the file name must
include "bin/" or "sbin/" as appropriate.
* guix/build/utils.scm (search-input-file): New procedure.
* tests/build-utils.scm
("search-input-file: exception if not found")
("search-input-file: can find if existent"): Test it.
* doc/guix.texi (File Search): Document it.
Partially-Fixes: <https://issues.guix.gnu.org/47869 >
Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:34:26 +02:00
Maxime Devos
8b0899963f
utils: Allow overriding the shell interpreter in ‘wrap-program’.
...
Previously, when creating new wrappers, 'wrap-program' would search
for an interpreter to use in PATH. However, this is incorrect when
cross-compiling. Allow overriding the shell interpreter to use,
via an optional keyword argument #:sh.
In time, when all users of 'wrap-program' have been corrected,
this keyword argument can be made mandatory.
* guix/build/utils.scm (wrap-program): Introduce a #:sh keyword
argument, defaulting to (which "sh"). Use this keyword argument.
Partially-Fixes: <https://issues.guix.gnu.org/47869 >
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-06-04 22:31:38 +02:00
Efraim Flashner
0fdf2cdef0
gnu: jemalloc: Fix building on powerpc-linux.
...
* gnu/packages/jemalloc.scm (jemalloc)[arguments]: Change configure-flags
so they are configurable per-architecture.
2021-06-01 16:13:53 +03:00
Efraim Flashner
9ba35475ed
gnu: guile-3.0: Fix building on powerpc-linux.
...
* gnu/packages/guile.scm (guile-3.0)[source]: Adjust snippet to
skip OOM-test.
[arguments]: On powerpc add a phase to adjust the compile flags during
the bootstrap process. Add phase to skip known failing test.
2021-05-28 13:44:26 +03:00
Ludovic Courtès
d92ee0a8bd
guile: Leave 'scm_install_gmp_memory_functions' unchanged.
...
Since the switch to Guile 3.0.7 using mini-GMP, we can leave
'scm_install_gmp_memory_functions' to its default value, which is to use
custom memory allocators; there is no interference with users of GMP
such as GnuTLS/Nettle.
* gnu/packages/aux-files/guile-launcher.c (main) [!SCM_ENABLE_MINI_GMP]:
Leave 'scm_install_gmp_memory_functions' unchanged.
2021-05-25 22:17:38 +02:00