Commit graph

82319 commits

Author SHA1 Message Date
Marius Bakke
17747d1135
gnu: ncurses: Update to 6.2.20210619.
* gnu/packages/ncurses.scm (ncurses)[version]: Set to 6.2.20210619.
[source](uri): Adjust accordingly.
[arguments]: Remove trailing #t's.  Rewrite apply-rollup-patch phase to work
in the absence of the patch.  Run the phase.
[native-inputs]: Add "rollup-patch".
2021-07-23 17:26:45 +02:00
Marius Bakke
11c20005f5
gnu: libuv: Update to 1.41.1.
* gnu/packages/libevent.scm (libuv): Update to 1.41.1.
2021-07-23 17:26:45 +02:00
Marius Bakke
b373d17e43
gnu: nghttp2: Update to 1.44.0.
* gnu/packages/web.scm (nghttp2): Update to 1.44.0.
2021-07-23 17:26:45 +02:00
Marius Bakke
21e75f5188
build-system/cmake: Define '%build-inputs' when cross-compiling.
* guix/build-system/cmake.scm (cmake-cross-build)[builder]: Define
'%build-inputs' as it existed before
7d873f194c.
2021-07-23 17:26:45 +02:00
Marius Bakke
9840ec8cab
gnu: Perl: Resolve TODO.
* gnu/packages/perl.scm (perl)[inputs]: Add COREUTILS-MINIMAL.
[arguments]: Unconditionally patch /bin/pwd in Cwd.pm.  While at it, remove
trailing #t's.
2021-07-23 17:26:44 +02:00
Marius Bakke
d672c57a77
gnu: coreutils-minimal: Do not build documentation.
...and avoid an upcoming circular dependency on Perl.

* gnu/packages/base.scm (coreutils-minimal)[native-inputs]: Empty field.
2021-07-23 17:26:44 +02:00
Marius Bakke
2a592d43ef
gnu: Perl: Update cross-compilation code.
* gnu/packages/perl.scm (perl)[native-inputs]: Update "perl-cross" to 1.3.6.
[arguments]: Remove obsolete patch.
* gnu/packages/patches/perl-cross.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-23 17:26:44 +02:00
Marius Bakke
b4553b7cad
gnu: Perl: Update to 5.34.0.
* gnu/packages/perl.scm (perl): Update to 5.34.0.
2021-07-23 17:26:44 +02:00
Marius Bakke
9cdb32fd72
gnu: RHash: Update to 1.4.2.
* gnu/packages/crypto.scm (rhash): Update to 1.4.2.
2021-07-23 17:26:44 +02:00
Marius Bakke
c5ba4725de
gnu: RHash: Turn arguments into gexp.
* gnu/packages/crypto.scm (rhash)[arguments]: Turn into gexp, and use #$OUTPUT
instead of the %OUTPUT variable.
2021-07-23 17:26:44 +02:00
Marius Bakke
2c6464e48b
gnu: tzdata-for-tests: Update to 2021a.
* gnu/packages/base.scm (tzdata-for-tests): Update to 2021a.
2021-07-23 17:26:44 +02:00
Marius Bakke
053677ba3b
gnu: commencement: Decouple python-boot0 from python.
* gnu/packages/commencement.scm (python-boot0)[arguments]: Do not use
SUBSTITUTE-KEYWORD-ARGUMENTS to make it easier to change Python without a full
bootstrap.
2021-07-23 17:26:44 +02:00
Marius Bakke
b8a1b697b4
gnu: glibc: Remove obsolete patch.
* gnu/packages/base.scm (glibc)[source](patches): Remove
glibc-hidden-visibility-ldconfig.patch.
2021-07-23 17:26:44 +02:00
Marius Bakke
790a8a8e18
gnu: Python: Remove trailing #t's.
* gnu/packages/python.scm (python-2.7)[source, arguments]: Remove trailing
 #t's.
(wrap-python3)[arguments]: Likewise.
2021-07-23 17:26:44 +02:00
Marius Bakke
6520aeae30
gnu: Python: Update to 3.9.6.
* gnu/packages/python.scm (python-3.9): Update to 3.9.6.
2021-07-23 17:26:44 +02:00
Marius Bakke
5086a28b3b
gnu: glib-networking: Remove unused input.
* gnu/packages/gnome.scm (glib-networking)[native-inputs]: Remove INTLTOOL.
Add GETTEXT-MINIMAL.
2021-07-23 17:26:44 +02:00
Marius Bakke
661d21251e
gnu: gsettings-desktop-schemas: Remove unused input.
* gnu/packages/gnome.scm (gsettings-desktop-schemas)[native-inputs]: Remove
INTLTOOL.  Add GETTEXT-MINIMAL.
2021-07-23 17:26:43 +02:00
Marius Bakke
f5f288872c
gnu: gnome-backgrounds: Remove unused input.
* gnu/packages/gnome.scm (gnome-backgrounds)[native-inputs]: Remove INTLTOOL.
Add GETTEXT-MINIMAL.
2021-07-23 17:26:43 +02:00
Marius Bakke
c5dfe6346d
gnu: gamin: Remove unused input.
* gnu/packages/gnome.scm (gamin)[native-inputs]: Remove INTLTOOL.
2021-07-23 17:26:43 +02:00
Marius Bakke
b99f995912
gnu: glib: Remove unused input.
* gnu/packages/glib.scm (glib)[native-inputs]: Remove INTLTOOL.
2021-07-23 17:26:43 +02:00
Marius Bakke
b51bb5bcdc
gnu: gsl: Update to 2.7.
* gnu/packages/maths.scm (gsl): Update to 2.7.
[arguments]: Remove trailing #t's.
2021-07-23 17:26:43 +02:00
Marius Bakke
f94a0ce61f
gnu: gdbm: Update to 1.20.
* gnu/packages/dbm.scm (gdbm): Update to 1.20.
2021-07-23 17:26:43 +02:00
Marius Bakke
fe6ef6738b
gnu: readline: Update to 8.1.1.
* gnu/packages/readline.scm (%patch-series-8.1): Add patch 1.
2021-07-23 17:26:43 +02:00
Marius Bakke
fff2e2d216
gnu: pcre2: Update to 10.37.
* gnu/packages/pcre.scm (pcre2): Update to 10.37.
[arguments]: Remove trailing #t.
2021-07-23 17:26:43 +02:00
Marius Bakke
81d0ac2da6
gnu: pcre: Update to 8.45.
* gnu/packages/pcre.scm (pcre): Update to 8.45.
[source](uri): Change to official mirror; remove defunct.
[arguments]: Remove trailing #t.
2021-07-23 17:26:43 +02:00
Maxime Devos
3f7efaa54a
gnu: binutils: Update binutils patch for mingw.
This allows "./pre-inst-env guix build hello --target=x86_64-w64-mingw32"
to succeed.  The binary can be run successfully under wine.

* gnu/packages/patches/binutils-mingw-w64-timestamp.patch:
  Update to the current version in Debian.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-07-23 14:36:00 +02:00
Maxime Devos
d7942ac12a
packages: Use 'lookup-package-input' and friends instead of 'package-input'.
* guix/packages.scm (package-input, package-native-input): Remove.
(this-package-input): Use 'lookup-package-input' and
'lookup-package-propagated-input' instead of 'package-input'.
(this-package-native-input): Use 'lookup-package-native-input'
instead of 'package-input'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-23 10:51:57 +02:00
Chris Marusich
93a5e89008
gnu: glibc-2.31: Restore patches.
Commit 87961fc965 inadvertently modified the
patch set for glibc-2.31.  This change restores the original patch set.

Fixes: <https://bugs.gnu.org/49516>.

* gnu/packages/base.scm (glibc-2.31) [source]: Use the same patches as glibc,
but replace glibc-hurd-clock_gettime_monotonic.patch with
glibc-2.31-hurd-clock_gettime_monotonic.patch, and add
glibc-hurd-signal-sa-siginfo.patch.
* gnu/packages/patches/glibc-2.31-hurd-clock_gettime_monotonic.patch: Add it.
* gnu/packages/patches/glibc-hurd-signal-sa-siginfo.patch: Add it.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2021-07-21 16:02:42 -07:00
Nathan Benedetto Proença
c3e33474b9
gnu: biber: Update to 2.16.
* gnu/packages/tex.scm (biber): Update to 2.16.
[source]: Remove 'patches'.
[inputs]: Add 'perl-io-string', 'perl-parse-recdescent', and
'perl-unicode-collate' (upstream appears to have fixed the issue
initially mentioned as a comment: recent issue was closed after
telling user to use perl-unicode-collate 1.29, which is the one
available; see <https://github.com/plk/biber/issues/378>.)
* gnu/packages/patches/biber-fix-encoding-write.patch,
gnu/packages/patches/biber-sortinithash.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:59:29 +02:00
Nathan Benedetto Proença
313c69a100
gnu: perl-text-bibtex: Update to 0.88.
* gnu/packages/tex.scm (perl-text-bibtex): Update to 0.88.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:57:31 +02:00
Thiago Jung Bauermann
4b11d85655
gnu: TeX Live: Update texlive-latex-pdftexcmds
texlive-latex-pdftexcmds moved to a different directory in TeX Live 2021.

* gnu/packages/tex.scm (texlive-latex-pdftexcmds): Update hash and paths.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:56:29 +02:00
Thiago Jung Bauermann
35aed80bb6
gnu: TeX Live: Add new dependency to texlive-latex-xkeyval
Starting with TeX Live 2021, texlive-latex-xkeyval depends on
texlive-latex-l3backend.

* gnu/packages/tex.scm(texlive-latex-xkeyval)[native-inputs]: Add
‘texlive-latex-l3backend’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:56:23 +02:00
Thiago Jung Bauermann
8f35bac4cc
gnu: TeX Live: Add texlive-latex-l3backend
* gnu/packages/tex.scm (texlive-latex-l3backend): New public variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:56:16 +02:00
Thiago Jung Bauermann
ee25e3fcab
gnu: TeX Live: Update to TeX Live 2021
Use version 20210325 for the tarballs, which is the latest one available on
the historical releases repository. And use subversion tag 2021.3 which is
the latest one available as well.

TeX Live dropped support for using the system’s poppler library after the
2020 version.  Quoting from `m4/kpse-xpdf-flags.m4`:

  # Support for our semi-homegrown libs/xpdf library. This is derived
  # from xpdf source code, but xpdf does not distribute it as a library.
  # It is used by pdftex (and nothing else) to read PDF images.
  # Other engines use the semi-homegrown pplib library (q.v.) for that.

  # The well-known poppler library is also originally derived from xpdf
  # source code, but has been greatly revised and extended. TL used to
  # (sort of) support poppler as the system xpdf, but after the TL 2020
  # release we dropped this, because we switched XeTeX to use pplib, and
  # nothing else used poppler. (No engines ever used poppler to generate
  # their PDF output).
  #
  # poppler is aggressively developed, with requirements for new compilers
  # and language versions. That's fine for them, but since we don't need
  # anything new, it has become too time-consuming and problematic to
  # continue to support it in the TL sources, when we don't have any
  # requirement for it.

Therefore the main change in this commit is making the texlive-bin package
use the embedded pplib and xpdf libraries.

Another noteworthy change is to texlive-latex-l3packages, which now needs
to ship a few pre-generated files that cannot be reproduced during the
build process (the comments in the package definition have more details).

* guix/build-system/texlive.scm (%texlive-tag): Set to “texlive-2021.3”.
(%texlive-revision): Set to 59745.
* gnu/packages/tex.scm (hyph-utf8-scripts, texlive-docstrip,
texlive-unicode-data texlive-hyphen-base, texlive-metafont, texlive-cm,
texlive-courier, texlive-lm, texlive-knuth-lib, texlive-tex-plain,
texlive-hyphen-finnish, texlive-hyphen-german, texlive-hyph-utf8,
texlive-dehyph-exptl, texlive-kpathsea, texlive-latex-fancyvrb,
texlive-graphics-def, texlive-latex-graphics, texlive-hyperref,
texlive-oberdiek, texlive-latex-tools, texlive-latex-l3kernel,
texlive-l3build, texlive-luaotfload, texlive-latex-amsmath, texlive-amscls,
texlive-babel, texlive-generic-babel-german, texlive-babel-swedish,
texlive-psnfss, texlive-latex-draftwatermark, texlive-latex-etoc,
texlive-etoolbox, texlive-latex-polyglossia, texlive-tex-texinfo,
texlive-latex-bookmark, texlive-latex-cmap, texlive-latex-fancyhdr,
texlive-latex-kvoptions, texlive-latex-eso-pic, texlive-latex-multirow,
texlive-latex-parskip, texlive-latex-pdfpages, texlive-metapost,
texlive-latex-acmart, texlive-latex-preview, texlive-latex-acronym,
texlive-pdftex, texlive-latex-media9, texlive-latex-ocgx2,
texlive-latex-ms, texlive-latex-pgf, texlive-latex-pgf-generic,
texlive-latex-koma-script, texlive-generic-ltxcmds, texlive-bibtex,
texlive-context-base, texlive-context, texlive-beamer, texlive-pstricks,
texlive-tools, texlive-latex-xkeyval, texlive-csquotes, texlive-biblatex,
texlive-todonotes, texlive-microtype, texlive-caption, texlive-fontaxes,
texlive-cabin, texlive-newtx, texlive-xcharter, texlive-adjustbox,
texlive-tcolorbox): Update hash.
(texlive-extra-src, texlive-texmf-src): Update version to
“20210325”. Update hash.
(texlive-bin)[source]: Update version to “20210325”. Update hash. Preserve
‘libs/pplib’ and ‘libs/xpdf’.
[inputs]: Update hash for ‘texlive-scripts’.  Remove ‘poppler’.
[arguments]: Remove “--with-system-poppler” and “--with-system-xpdf” from
‘#:configure-flags’.  Remove build phase ‘use-code-for-new-poppler’.
(texlive-hyphen-schoolfinnish): Add public variable.
(texlive-hyphen-macedonian): Add 8bit patterns.  Update hash.
(texlive-latex-base)[template]: Update hash.
[arguments]: Set ‘LUAINPUTS’ environment variable in build phase.
[native-inputs]: Update hash for ‘texlive-luatexconfig’.
[propagated-inputs]: Add ‘texlive-hyphen-schoolfinnish’,
‘texlive-latex-l3kernel’ and ‘texlive-latex-l3packages’.
(texlive-latex-l3packages)[source]: Use ‘texlive-origin’. Update hash. Add
generated files.
[arguments]: Adjust paths for ‘TEXINPUTS’ environment variable. Add build
phase ‘copy-generated-files’.
(texlive-texmf, texlive): Update version to “20210325”.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:56:03 +02:00
Thiago Jung Bauermann
04e80290bf
gnu: TeX Live: Use IniTeX to build a couple of packages
The package texlive-latex-base in TeX Live 2021 will depend on
texlive-latex-l3kernel and texlive-latex-l3packages. Therefore we need to
remove their build dependency on texlive-latex-base to avoid a circular
dependency.

l3kernel and l3packages don’t need LaTeX during build, just IniTeX.
So to make them use it, modify texlive-build-system to allow disabling
the #:texlive-latex-base and #:tex-format parameters, and also add
a #:tex-engine parameter.

We also need to add texlive-docstrip as a native input, which was
previously provided by texlive-latex-base.

* gnu/packages/tex.scm (texlive-latex-l3kernel,
texlive-latex-l3packages)[arguments]: Add ‘#:tex-engine’, ‘#:tex-format’
and ‘#:texlive-latex-base’ parameters.
[native-inputs]: Add ‘texlive-docstrip’.
* guix/build-system/texlive.scm (lower)[build-inputs]: Don’t add
‘texlive-latex-base’ if its keyword parameter is false.
(texlive-build): Add ‘tex-engine’ keyword parameter.
[builder]: If a ‘tex-engine’ parameter was passed, use it. Otherwise, use
‘tex-format’ as the engine.
* guix/build/texlive-build-system.scm (compile-with-latex): Add ‘engine’
parameter. If the ‘format’ parameter is false, add “-ini” option to the
command line.
(build): Add ‘tex-engine’ parameter. Pass it down to ‘compile-with-latex’.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:55:26 +02:00
Ludovic Courtès
777962de5e
gnu: guile: Remove trailing #t in snippet.
* gnu/packages/guile.scm (guile-3.0)[source]: Remove trailing #t in
'snippet'.
2021-07-21 15:46:07 +02:00
Maxime Devos
fccc027509
gnu: guile: Fix failing tests on IA32.
Fixes <https://issues.guix.gnu.org/49368>.

* gnu/packages/guile.scm (guile-3.0)[arguments]<#:configure-flags>:
  Add "-fexcess-precision=standard" to CFLAGS when
  (target-x86-32?) is true.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-21 15:45:36 +02:00
Kaelyn Takata
b15c3dd9b0
gnu: meson: Update to 0.59.0.
Fixes <https://issues.guix.gnu.org/48552>.

* gnu/packages/build-tools.scm (meson): Update to 0.59.0, which includes a
reproduceability fix for builds that link against multiple LLVM libraries.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-20 23:43:29 +02:00
Sarah Morgensen
81a87222a1
import: hackage: Emit new-style package inputs.
* guix/import/hackage.scm (hackage-module->sexp)[dependencies]
[native-dependencies]: Make into a list of symbols.
[maybe-inputs]: Wrap INPUTS in 'list' instead of 'quasiquote'.
* tests/hackage.scm (match-ghc-foo)
(match-ghc-foo-6)
(match-ghc-foo-revision)
(match-ghc-foo-import): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-20 23:43:29 +02:00
Sarah Morgensen
3d5a36c457
import: opam: Emit new-style package inputs.
* guix/import/opam.scm (opam->guix-package): Wrap INPUTS and
NATIVE-INPUTS in 'list' instead of 'quasiquote'.
(dependency-list->inputs): Return a list of symbols.
* tests/opam.scm ("opam->guix-package"): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-20 23:43:29 +02:00
Sarah Morgensen
fa7db21f59
import: gem: Emit new-style package inputs.
* guix/import/gem.scm (make-gem-sexp): Wrap inputs in 'list' instead of
'quasiquote'.
* tests/gem.scm ("gem->guix-package")
("gem-recursive-import"): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-20 23:43:29 +02:00
Sarah Morgensen
5b6285518b
import: egg: Emit new-style package inputs.
* guix/import/egg.scm (egg->guix-package): Generate dependency list from
a list of symbols.
[egg-parse-dependency]: Return a list of symbols.
[maybe-inputs]: Wrap INPUTS in 'list' instead of 'quasiquote'.
* tests/egg.scm (match-chicken-foo): Adjust accordingly.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-07-20 23:43:29 +02:00
Guillaume Le Vaillant
db5962c680
gnu: ghostscript: Improve reproducibility of PDF document generation
* gnu/packages/patches/ghostscript-no-header-creationdate.patch: Disable
  writing "xmp:ModifyDate" and "xmp:CreateDate" if GS_GENERATE_UUIDS is set to
  "0" or "no".
2021-07-19 12:43:15 +02:00
Ludovic Courtès
532b2d9a38
gnu: sed, diffutils: Patch faulty Gnulib tests.
This is a followup to c823b95825, fixing
tests for sed and diffutils on armhf-linux.

* gnu/packages/base.scm (sed)[source]: Add
"coreutils-gnulib-tests.patch".
(diffutils)[source]: Likewise.
* gnu/packages/commencement.scm (diffutils-boot0)[source]: New field.
2021-07-18 23:48:14 +02:00
Ludovic Courtès
f186365aee
gnu: texlive-union: Export and formally deprecate.
This is a followup to 04a0b1e09a.

* gnu/packages/tex.scm (texlive-union): Define using
'define-deprecated/alias' and export.
2021-07-18 19:57:35 +02:00
Ludovic Courtès
0e47fcced4
Merge branch 'master' into core-updates 2021-07-18 19:50:01 +02:00
Guillaume Le Vaillant
8b1bde7bb3
gnu: sdrangel: Update to 6.16.1.
* gnu/packages/radio.scm (sdrangel): Update to 6.16.1.
2021-07-18 14:58:06 +02:00
Guillaume Le Vaillant
848a9a1e3f
gnu: dump1090: Update to 5.0.
* gnu/packages/radio.scm (dump1090): Update to 5.0.
  [inputs]: Add hackrf.
2021-07-18 13:38:40 +02:00
Xinglu Chen
71dffaacbf
gnu: emacs-pyim: Update to 3.9.2.
* gnu/packages/emacs-xyz.scm (emacs-pyim): Update to 3.9.2.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-07-18 17:46:57 +08:00
phodina
9cddd39d75
gnu: Add sterm.
* gnu/packages/engineering.scm (sterm): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2021-07-18 17:40:17 +08:00