Commit graph

83923 commits

Author SHA1 Message Date
Efraim Flashner
6a85d80eb9
gnu: Don't use older versions of rust.
* gnu/packages/crates-io.scm (rust-cxx-1, rust-cxx-build-1,
rust-cxx-gen-0.7, rust-cxxbridge-macro-1, rust-postgres-0.19,
rust-rust-decimal-1,rust-socket2-0.4,
rust-tokio-postgres-0.7)[arguments]: Remove rust flag.
* gnu/packages/gnome.scm (librsvg)[arguments]: Same.
* gnu/packages/rust-apps.scm (hyperfine)[arguments]: Same.
* gnu/packages/syndication.scm (newsboat)[arguments]: Same.
2021-09-11 23:10:34 +03:00
Ludovic Courtès
c1d7eac346
gnu: xkbcomp-intermediate: Export variable.
* gnu/packages/xorg.scm (xkbcomp-intermediate): Make public.
[properties]: New field.
(xkbcomp)[properties]: New field.
2021-09-11 18:14:07 +02:00
Ludovic Courtès
7be2b83102
gnu: netcdf-parallel-openmpi: Allow compilation with GCC 10.
* gnu/packages/maths.scm (netcdf)[source]: Add 'modules' and 'snippet'.
2021-09-11 18:14:07 +02:00
Ludovic Courtès
12a664a90e
gnu: idutils: Skip failing Gnulib tests.
* gnu/packages/idutils.scm (idutils)[arguments]: New field.
2021-09-11 18:14:06 +02:00
Ludovic Courtès
83168079ac
gnu: mpc123: Allow compilation with GCC 10.
* gnu/packages/mp3.scm (mpc123)[arguments]: In 'configure' phase, call
'setenv'.
2021-09-11 18:14:06 +02:00
Guillaume Le Vaillant
246be10315
gnu: mkvtoolnix: Fix build.
* gnu/packages/video.scm (mkvtoolnix)[arguments]: Fix 'add-googletest' phase.
2021-09-11 16:43:28 +02:00
Guillaume Le Vaillant
73a52906d9
gnu: fifo-map: Fix build.
* gnu/packages/cpp.scm (fifo-map)[arguments]: Fix 'install' phase.
2021-09-11 16:39:04 +02:00
Guillaume Le Vaillant
2fbae88680
gnu: electron-cash: Add missing input.
* gnu/packages/finance.scm (electron-cash)[inputs]: Add python-qdarkstyle.
  [arguments]: Add 'relax-requirements' phase.
2021-09-11 14:54:54 +02:00
Guillaume Le Vaillant
7c829150ed
gnu: python-stem: Fix tests wth python 3.9.
* gnu/packages/python-xyz.scm (python-stem)[arguments]: Add 'fix-tests' phase.
2021-09-11 14:39:41 +02:00
Guillaume Le Vaillant
c605aa254c
gnu: python-faker: Update to 8.12.1.
* gnu/packages/python-xyz.scm (python-faker): Update to 8.12.1.
2021-09-11 14:31:26 +02:00
Guillaume Le Vaillant
9cfa0078e6
gnu: python-random2: Fix building with python 3.9.
* gnu/packages/patches/python-random2-getrandbits-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python-xyz.scm (python-random2)[source]: Use it.
2021-09-11 14:16:46 +02:00
Guillaume Le Vaillant
0321c098d3
gnu: kicad: Fix build.
* gnu/packages/engineering.scm (kicad)[arguments]: Add 'fix-python-detection'
  and 'add-missing-include' phases.
2021-09-11 13:50:38 +02:00
Felix Gruber
abe4bdad80
gnu: psm: Fix building with GCC 10.
I had to copy all the CFLAGS that were originally defined by the
Makefile as they were otherwise all replaced by '-fcommon'.

* gnu/packages/linux.scm (psm)[arguments]: Pass '-fcommon' to CFLAGS.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-09-11 11:20:09 +02:00
Guillaume Le Vaillant
856591e2b5
gnu: materialdecoration: Fix build.
* gnu/packages/qt.scm (materialdecoration)[arguments]: Use gexp for
  'configure-flags'.
2021-09-11 10:54:22 +02:00
Guillaume Le Vaillant
eded8b4f17
gnu: sdrangel: Fix build.
* gnu/packages/radio.scm (sdrangel)[arguments]: Replace references to
  '%build-inputs' by gexp.
2021-09-11 10:26:03 +02:00
Guillaume Le Vaillant
463a47f4d7
gnu: opencv: Fix build.
* gnu/packages/image-processing.scm (opencv)[arguments]: Fix
  'unpack-submodule-source' and 'add-ilmbase-include-path' phases.
2021-09-11 10:18:35 +02:00
Jonathan Brielmaier
67b8aa91f7
gnu: gnome-calculator: Update to 3.36.0.
* gnu/packages/gnome.scm (gnome-calculator): Update to 3.36.0.
2021-09-10 23:34:15 +02:00
Guillaume Le Vaillant
e4b02e7e39
gnu: tbb: Update to 2021.3.0.
* gnu/packages/tbb.scm (tbb): Update to 2021.3.0.
  [source]: Update repository URL. Remove snippet.
  [build-system]: Switch to 'cmake-build-system'.
  [arguments]: Add 'configure-flags'. Remove 'make-flags'.
  Remove 'fail-on-test-errors' phase.
  Remove custom 'configure' and 'install' phases.
2021-09-10 21:39:05 +02:00
Jonathan Brielmaier
45055c73c8
gnu: babl: Don't build documentation.
It would require `scp` from openssh and it was not built before.

* gnu/packages/gimp.scm (babl)[arguments]: Add `-Dwith-docs=false` to
the configure flags.
2021-09-10 21:02:50 +02:00
Guillaume Le Vaillant
749d0e2ee0
gnu: qmapshack: Remove obsolete phase.
QTWEBENGINEPROCESS_PATH is now set by the 'qt-wrap' phase.

* gnu/packages/geo.scm (qmapshack)[arguments]: Remove 'wrap' phase.
2021-09-10 10:43:05 +02:00
Guillaume Le Vaillant
92d04bcab3
gnu: transcode: Fix building with gcc 10.
* gnu/packages/video.scm (transcode)[arguments]: Pass '-fcommon' to CFLAGS.
2021-09-10 09:47:06 +02:00
Guillaume Le Vaillant
bd8013ab33
gnu: gpredict: Fix building with gcc 10.
* gnu/packages/astronomy.scm (gpredict)[arguments]: Pass '-fcommon' to CFLAGS.
2021-09-10 09:35:51 +02:00
Ludovic Courtès
f83d7663eb
gnu: glibc@2.29: Fix build error.
* gnu/packages/base.scm (glibc-2.29): Inherit from GLIBC-2.30.
[sources]: Use "glibc-skip-c++.patch".
2021-09-08 21:45:43 +02:00
Ludovic Courtès
425799cb45
gnu: glibc@2.30: Fix build error.
* gnu/packages/base.scm (glibc-2.30)[native-inputs]: New field.
[source]: Use "glibc-skip-c++.patch".
2021-09-08 21:45:43 +02:00
Ludovic Courtès
6d8c1a5e23
gnu: glibc@2.31: Fix build error.
* gnu/packages/patches/glibc-skip-c++.patch: New file.
* gnu/packages/base.scm (glibc-2.31)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-09-08 21:45:43 +02:00
Guillaume Le Vaillant
359740b0b3
gnu: qtwebengine: Build with bundled icu4c.
Building with icu4c >= 68 fails.

* gnu/packages/qt.scm (qtwebengine)[arguments]: Comment out
  "--webengine-icu=system" option in 'configure' phase.
2021-09-08 12:06:41 +02:00
Guillaume Le Vaillant
3ed18c05e9
gnu: qtwebkit: Remove workaround for binutils bug.
This is a follow-up to de8e2a699c.

* gnu/packages/qt.scm (qtwebkit)[arguments]: Remove custom 'build' phase.
2021-09-08 12:06:33 +02:00
Guillaume Le Vaillant
4ccaaad45d
gnu: php: Disable failing test.
It looks like the "Zend/tests/bug74093.phpt" test can fail on fast machines.

* gnu/packages/php.scm (php)[arguments]: Update 'prepare-tests' phase.
2021-09-08 12:05:29 +02:00
Guillaume Le Vaillant
de8e2a699c
gnu: binutils: Fix file decriptor leak.
* gnu/packages/patches/binutils-2.37-file-descriptor-leak.patch: New file.
* gnu/packages/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (binutils)[source]: Use it.
2021-09-08 12:05:08 +02:00
Felix Gruber
d5a1206beb
gnu: librime: Fix build with GCC 10.
* gnu/packages/ibus.scm (librime)[source]: Add a patch that adds missing
includes.
* gnu/packages/patches/librime-fix-build-with-gcc10.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-09-07 14:12:36 -04:00
Ludovic Courtès
445eec9183
tests: Adjust '--with-input' test.
This is a followup to 09b002622e, which
changed the dependency of graphviz from guile@2.0 to guile@3.0.

* tests/guix-build.sh: Adjust '--with-input' test.
2021-09-07 14:54:09 +02:00
Ludovic Courtès
9bea983e4f
tests: Disable grafts in 'tests/builders.scm'.
This is required since the introduction of the OpenSSL graft in the
parent commit so that calling 'package-derivation' in the Python tests
would not trigger a build.

* tests/builders.scm <top level>: Add '%graft?' call.
2021-09-07 14:44:39 +02:00
Ludovic Courtès
d9dfbf886d
Merge branch 'master' into core-updates-frozen 2021-09-07 14:19:08 +02:00
Xinglu Chen
49922efb11
gnu: ocaml-ppxlib: Update to 0.23.0.
* gnu/packages/ocaml.scm (ocaml-ppxlib): Update to 0.23.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-06 23:27:40 +02:00
Xinglu Chen
550f4aa682
gnu: ocaml-ppx-variants-conv: Patch for building with ocaml-ppxlib.
The patch will make it build when building it with ocaml-ppxlib@0.23.0.

* gnu/packages/patches/ocaml-ppx-variants-ppxlib-api-change.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/ocaml.scm (ocaml-ppx-variants-conv): Apply the patch.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-06 23:27:40 +02:00
Xinglu Chen
b60a7f049c
gnu: ocamlformat: Update to 0.19.0.
* gnu/packages/ocaml.scm (ocamlformat): Update to 0.19.0.
[propagated-inputs]: Add ocaml-odoc-parser.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-06 23:27:40 +02:00
Xinglu Chen
c80e71a586
gnu: ocaml-ppx-optcomp: Update to 0.14.3.
* gnu/packages/ocaml.scm (ocaml-ppx-optcomp): Update to 0.14.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-09-06 23:27:40 +02:00
Ludovic Courtès
5fc9d71bac
gnu: ocaml-markup@0.8.0: Use 'ocaml-ounit', not 'ocaml-ounit2'.
* gnu/packages/ocaml.scm (ocaml-markup0.8.0)[native-inputs]: New field.
2021-09-06 23:27:40 +02:00
Ludovic Courtès
153fd217b6
swh: Add 'lookup-snapshot-branch'.
* guix/swh.scm (<snapshot>)[id]: New field.
(snapshot-url, lookup-snapshot-branch): New procedures.
2021-09-06 22:58:12 +02:00
Ludovic Courtès
63ed618e33
swh: <revisions> accept null 'date' fields.
* guix/swh.scm (maybe-null): New procedure.
(<revision>)[date]: Use it.
2021-09-06 22:58:12 +02:00
Ludovic Courtès
b452c3b37a
swh: Export <snapshot> accessors.
* guix/swh.scm: Export <snapshot> accessors.
2021-09-06 22:58:12 +02:00
Ludovic Courtès
b949f34f31
gnu: Use the non-deprecated TeX packages.
This commit leaves 'dblatex' and 'texlive-hyperref' as users of
deprecated packages, but these have many dependents.

* gnu/packages/bioinformatics.scm (discrover)[native-inputs]: Use
non-deprecated TeX Live packages.
(velvet)[native-inputs]: Likewise.
* gnu/packages/chez.scm (chez-scheme)[native-inputs]: Likewise.
(chez-web)[native-inputs]: Likewise.
* gnu/packages/engineering.scm (fastcap)[native-inputs]: Likewise.
* gnu/packages/guile-xyz.scm (emacsy)[native-inputs]: Likewise.
* gnu/packages/maths.scm (hypre)[native-inputs]: Likewise.
* gnu/packages/music.scm (lilypond)[native-inputs]: Likewise.
* gnu/packages/ocaml.scm (ocaml-bibtex2html)[native-inputs]: Likewise.
* gnu/packages/plotutils.scm (asymptote)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-numpy-documentation)[native-inputs]:
Likewise.
(python-matplotlib-documentation)[native-inputs]: Likewise.
(python-ipython-documentation)[native-inputs]: Likewise.
(python-nbconvert)[native-inputs]: Likewise.
(python-pypandoc)[native-inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[native-inputs]: Likewise.
* gnu/packages/tex.scm (texlive-pstool)[propagated-inputs]: Likewise.
(teximpatient)[native-inputs]: Likewise.
(texlive-latex-pgf)[propagated-inputs]: Likewise.
(texlive-beamer)[propagated-inputs]: Likewise.
2021-09-06 22:02:15 +02:00
Ludovic Courtès
3dc8052b51
gnu: tex: Use 'define-deprecated' for deprecated packages.
This allows us to get compile-time warnings when using deprecated
packages, typically in calls to 'texlive-union' or similar.

* gnu/packages/tex.scm (define-deprecated-package): New macro.
(texlive-generic-unicode-data)
(texlive-generic-tex-ini-files)
(texlive-metafont-base)
(texlive-tex-fontinst-base)
(texlive-fonts-cm)
(texlive-fonts-cm-super)
(texlive-fonts-lm)
(texlive-fonts-knuth-lib)
(texlive-latex-mflogo)
(texlive-fonts-mflogo-font)
(texlive-fonts-amsfonts)
(texlive-latex-amsfonts)
(texlive-generic-hyph-utf8)
(texlive-generic-dehyph-exptl)
(texlive-generic-epsf)
(texlive-latex-xcolor)
(texlive-latex-hyperref)
(texlive-latex-oberdiek)
(texlive-latex-url)
(texlive-latex-fontspec)
(texlive-luatex-luaotfload)
(texlive-latex-amscls)
(texlive-latex-babel)
(texlive-latex-psnfss)
(texlive-latex-filemod)
(texlive-latex-pstool)
(texlive-latex-seminar)
(texlive-latex-doi)
(texlive-latex-etoolbox)
(texlive-fonts-adobe-times)
(texlive-fonts-adobe-palatino)
(texlive-fonts-adobe-zapfding)
(texlive-fonts-stmaryrd)
(texlive-fonts-txfonts)
(texlive-latex-lh)
(texlive-latex-wasysym)
(texlive-generic-pdftex)
(texlive-fonts-xypic)
(texlive-fonts-charter)
(texlive-latex-beamer)
(texlive-latex-pdfx)
(texlive-iftex)
(texlive-generic-ifxetex): Use it.
2021-09-06 22:02:15 +02:00
Ludovic Courtès
f8ae824cad
deprecation: Add 'define-deprecated/public'.
* guix/deprecation.scm (public): New macro.
(define-deprecated): Add (_ visibility variable replacement exp) clause.
Honor VISIBILITY.
(define-deprecated/public): New macro.
2021-09-06 22:02:11 +02:00
Nicolas Goaziou
b0ea618fbe
gnu: emacs-xref: Update to 1.2.2.
* gnu/packages/emacs-xyz.scm (emacs-xref): Update to 1.2.2.
2021-09-06 18:20:36 +02:00
Ludovic Courtès
78dab5a6c4
gnu: guile@1.8: Disable tests.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Pass #:tests? #f.
2021-09-06 15:19:10 +02:00
Ludovic Courtès
b792bc899d
gnu: guile@1.8: Build with '-O1'.
Fixes <https://issues.guix.gnu.org/50427>.

* gnu/packages/guile.scm (guile-1.8)[arguments]: Pass "CFLAGS" to #:configure-flags.
2021-09-06 15:17:39 +02:00
Ricardo Wurmus
816d52ba93
gnu: Add r-megadepth.
* gnu/packages/bioconductor.scm (r-megadepth): New variable.
2021-09-06 14:48:24 +02:00
Ricardo Wurmus
c82b723bf8
gnu: Add megadepth.
* gnu/packages/bioinformatics.scm (megadepth): New variable.
2021-09-06 14:48:24 +02:00
Ricardo Wurmus
f9e5d04fc2
gnu: Add libdeflate.
* gnu/packages/compression.scm (libdeflate): New variable.
2021-09-06 14:48:23 +02:00