Commit graph

79274 commits

Author SHA1 Message Date
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
Mathieu Othacehe
e4c02ac70f
ci: Add derivation inputs.
* gnu/ci.scm (derivation->job): Add the derivation inputs to the job
association list.
2021-05-25 14:47:16 +02:00
Efraim Flashner
42162c84dc
gnu: mesa: Unify custom phases.
* gnu/packages/gl.scm (mesa)[arguments]: Rewrite custom
'disable-failing-test phases to be one joint phase. Adjust
'split-outputs phase to simplify.
2021-05-24 10:10:06 +03:00
Efraim Flashner
c2eb36790f
gnu: mesa: Add support for powerpc-linux.
* gnu/packages/gl.scm (mesa)[inputs]: Add llvm, glslang for powerpc.
[arguments]: Customize the configure flags for powerpc. Add powerpc
specific phase to skip failing tests.
2021-05-23 22:23:43 +03:00
Efraim Flashner
62282ff40b
gnu: binutils: Fix bug in test suite in libiberty.
* gnu/packages/base.scm (binutils)[source]: Add patch.
* gnu/packages/patches/binutils-libiberty-endianness-bug.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2021-05-23 22:23:34 +03:00
Efraim Flashner
dc25a9dfa8
gnu: gcc-boot0: Use 128-bit long-double on powerpc-linux.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: Adjust
configure-flag to also use '--with-long-double-128' on powerpc-linux.
2021-05-23 22:23:27 +03:00
Efraim Flashner
cbdb7d4fea
gnu: bootstrap: Add support for powerpc-linux.
On 923bb70a1b
   gnu:glibc-for-bootstrap: Fix patch.

Run
    ./pre-inst-env guix build --target=powerpc-linux-gnu bootstrap-tarballs

Producing

    /gnu/store/dyj1wvayyp1ihaknkxniz1xamcf4yrhl-bootstrap-tarballs-0

With guix hash -rx /gnu/store/dyj1wvayyp1ihaknkxniz1xamcf4yrhl-bootstrap-tarballs-0

    02xx2ydj28pwv3vflqffinpq1icj09gzi9icm8j4bwc4lca9irxn

* gnu/packages/bootstrap.scm (%bootstrap-executables): Add entries for
powerpc-linux.
(%bootstrap-guile-hash, %bootstrap-coreutils&co, %bootstrap-binutils,
%bootstrap-glibc, %bootstrap-gcc): Add entry for powerpc-linux.
* gnu/packages.scm (%supported-systems): Add powerpc-linux.
(%hydra-supported-systems): Remove powerpc-linux.
* m4/guix.m4: Add powerpc-linux as a supported system.
2021-05-23 22:23:18 +03:00
Marius Bakke
0de7945dc4
gnu: python-pyflakes: Remove obsolete patch.
This patch was added on 'core-updates' in
43c889de85, but no longer necessary since the
update to 2.3.1 in 91741db539.

* gnu/packages/patches/python-pyflakes-fix-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python-xyz.scm (python-pyflakes)[source](patches): Remove.
2021-05-22 20:03:24 +02:00
Marius Bakke
9df9a878c0
gnu: python-tqdm: Update to 4.60.0.
* gnu/packages/python-xyz.scm (python-tqdm): Update to 4.60.0.
[native-inputs]: Remove PYTHON-NOSE.  Add PYTHON-PYTEST,
PYTHON-PYTEST-ASYNCIO, PYTHON-PYTEST-TIMEOUT, PYTHON-SETUPTOOLS-SCM, and
PYTHON-TOML.
[arguments]: Use pytest instead of nosetests in check phase.
2021-05-22 20:03:24 +02:00
Marius Bakke
3ef5ee3ffb
gnu: Remove 'texlive-amsfonts/patched'.
* gnu/packages/tex.scm (texlive-amsfonts)[arguments]: Add the fix from
'texlive-amsfonts/patched'.
(texlive-amsfonts/patched): Remove variable.
* gnu/packages/python-xyz.scm (python-nbconvert)[native-inputs]: Change from
TEXLIVE-AMSFONTS/PATCHED to TEXLIVE-AMSFONTS.
2021-05-22 20:03:24 +02:00
Marius Bakke
69b048bf62
gnu: guile-static: Fix build without GMP.
* gnu/packages/make-bootstrap.scm (make-guile-static)[arguments]: Add
"--enable-mini-gmp" to #:configure-flags.
2021-05-22 17:28:37 +02:00
Marius Bakke
986e9025a5
gnu: guile-static: Remove obsolete workaround.
* gnu/packages/make-bootstrap.scm (make-guile-static)[arguments]: Don't
disable JIT on ARMv7.
2021-05-22 17:28:37 +02:00
Marius Bakke
4ea6852c5f
Merge branch 'master' into core-updates 2021-05-22 17:21:57 +02:00
Marius Bakke
d4ffa96302
gnu: autotrace: Prepare for GLib 2.68 and later.
* gnu/packages/patches/autotrace-glib-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/graphics.scm (autotrace)[source](patches): New field.
2021-05-22 17:14:17 +02:00
Marius Bakke
fcf45f8d75
gnu: emacs-libgit: Fix installation failure.
* gnu/packages/emacs-xyz.scm (emacs-libgit)[arguments]: Adjust for renamed
source directory.  While at it, removing trailing #t's.
2021-05-22 17:08:15 +02:00
Marius Bakke
2ae0c5d920
gnu: wget: Update to 1.21.1.
* gnu/packages/wget.scm (wget): Update to 1.21.1.
2021-05-22 17:08:15 +02:00
Marius Bakke
8ce6cea907
gnu: gtk-doc: Remove obsolete workaround.
* gnu/packages/gtk.scm (gtk-doc)[arguments]: Remove set-HOME phase.
2021-05-22 17:08:15 +02:00
Marius Bakke
cf45cc2ffb
gnu: libxaw: Update to 1.0.14.
* gnu/packages/xorg.scm (libxaw): Update to 1.0.14.
2021-05-22 17:08:15 +02:00
Marius Bakke
ba8dd0cdd4
gnu: libxt: Update to 1.2.1.
* gnu/packages/xorg.scm (libxt): Update to 1.2.1.
* gnu/packages/patches/libxt-guix-search-paths.patch: Adjust context.
2021-05-22 17:08:15 +02:00
Marius Bakke
a96a9934b5
gnu: xkeyboard-config: Update to 2.32.
* gnu/packages/xorg.scm (xkeyboard-config): Update to 2.32.
2021-05-22 17:08:15 +02:00
Marius Bakke
dca6c3782e
gnu: libxfixes: Update to 6.0.0.
* gnu/packages/xorg.scm (libxfixes): Update to 6.0.0.
2021-05-22 17:08:14 +02:00
Marius Bakke
5c971de2b8
gnu: libxres: Update to 1.2.1.
* gnu/packages/xorg.scm (libxres): Update to 1.2.1.
2021-05-22 17:08:14 +02:00
Marius Bakke
6642195f15
gnu: xorgproto: Update to 2021.4.
* gnu/packages/xorg.scm (xorgproto): Update to 2021.4.
2021-05-22 17:08:14 +02:00