Commit graph

88163 commits

Author SHA1 Message Date
Ludovic Courtès
9cfb0ef4d0
gnu: iftop: Build with '-O2'.
* gnu/packages/admin.scm (iftop)[arguments]: Pass "-O2 -g".
2021-11-25 15:08:19 +01:00
Ludovic Courtès
3d4c527824
gnu: lib2geom: Skip faulty test on i686.
* gnu/packages/graphics.scm (lib2geom)[arguments]: When
'target-x86-32?', add 'skip-faulty-test' phase.
2021-11-25 15:01:12 +01:00
angryrectangle@cock.li
c9208beb3c
gnu: zathura: Use meson 0.59.
This fixes the build.  The problem has already been fixed on the master, but
it's not part of the latest release.

* gnu/packages/pdf.scm (zathura)[meson]: Use meson-0.59.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-25 01:04:17 -05:00
zimoun
905b090582
build: julia-build-system: Add support for parallel tests.
The tests are defined by the script 'test/runtests.jl' from packages and the
parallelism depends on the implementation of this script.  Therefore, 'julia'
is launched using local worker processes accordingly with 'parallel?'.

* guix/build/julia-build-system.scm (check): Set the JULIA_CPU_THREADS
environment variable and invoke julia with the '--procs' option.
* guix/build-system/julia.scm (julia-build)[parallel-tests?]: New argument.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-25 01:04:17 -05:00
zimoun
6312c68f70
gnu: julia: Allow parallel tests.
* gnu/packages/julia.scm (julia)[origin]<patches>: New patch.
* gnu/packages/patches/julia-allow-parallel-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-25 01:04:17 -05:00
zimoun
87e96b69aa
gnu: julia: Disable broken tests.
* gnu/packages/julia.scm (julia)[arguments]: Disable broken tests.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-25 01:04:17 -05:00
Maxim Cournoyer
f2bdd5a43d
gnu: glib-networking: Update to 2.70.0.
It was erroneously thought when updating to 2.70rc in commit
60e2a3bd5e that 2.70.0 was not yet released.

* gnu/packages/gnome.scm (glib-networking): Update to 2.70.0.
2021-11-25 01:04:17 -05:00
Josselin Poiret
0a787e67ec
gnu: libva: Update to 2.13.0
* gnu/packages/video.scm (libva): Update it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-25 01:04:16 -05:00
Ricardo Wurmus
c70eadeaed
gnu: Remove python2-itsdangerous.
* gnu/packages/python-xyz.scm (python2-itsdangerous): Delete variable.
2021-11-25 00:23:12 +01:00
zimoun
f4e2bc8516
gnu: python2-pylibmc: Remove package.
* gnu/packages/databases.scm (python2-pylibmc): Delete variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2021-11-25 00:22:06 +01:00
zimoun
b0463acc31
gnu: python2-validators: Remove package.
* gnu/packages/python-xyz.scm (python2-validators): Delete variable.
2021-11-25 00:22:06 +01:00
zimoun
b7fc19a53a
gnu: python2-discogs-client: Remove package.
* gnu/packages/music.scm (python2-discogs-client): Delete variable.
2021-11-25 00:22:06 +01:00
zimoun
1fc90c0832
gnu: python2-munkres: Remove package.
* gnu/packages/python-xyz.scm (python2-munkres): Delete variable.
2021-11-25 00:22:06 +01:00
zimoun
3258335e22
gnu: python2-faker: Remove package.
* gnu/packages/python-xyz.scm (python2-faker): Delete variable.
(python-faker)[properties]: Remove.
2021-11-25 00:22:06 +01:00
zimoun
ae63b2d0ff
gnu: python2-sql: Remove package.
* gnu/packages/databases.scm (python2-sql): Delete variable.
2021-11-25 00:22:06 +01:00
zimoun
9130a382b9
gnu: python2-sadisplay: Remove package.
* gnu/packages/databases.scm (python2-sadisplay): Delete variable.
2021-11-25 00:22:06 +01:00
zimoun
f6d8ea4675
gnu: python2-relatorio: Remove package.
* gnu/packages/python-xyz.scm (python2-relatorio): Delete variable.
2021-11-25 00:22:06 +01:00
zimoun
b661634bd4
gnu: python2-traitlets: Remove package.
* gnu/packages/python-xyz.scm (python2-traitlets): Delete variable.
(python-traitlets)[properties]: Remove.
2021-11-25 00:22:06 +01:00
zimoun
67387bbf24
gnu: python2-colormath: Remove package.
* gnu/packages/python-xyz.scm (python2-colormath): Delete variable.
2021-11-25 00:22:06 +01:00
zimoun
cefc792378
gnu: python2-spectra: Remove package.
* gnu/packages/python-xyz.scm (python2-spectra): Delete variable.
2021-11-25 00:22:06 +01:00
Leo Famulari
5ee8a1d1e3
gnu: shotwell: Build with libsoup 2.
* gnu/packages/gnome.scm (shotwell)[inputs]: Remove libsoup@3. Replace
webkitgtk with webkitgtk-with-libsoup2.
2021-11-24 17:45:01 -05:00
Leo Famulari
edb563d136
gnu: pitivi: Fix build.
* gnu/packages/video.scm (pitivi)[inputs]: Adjust arguments to
gst-plugins-bad variant.
[arguments]: Use meson-0.59.
2021-11-24 17:27:52 -05:00
Ludovic Courtès
3e810b846a
gnu: glib-networking: Work around test failure on 32-bit platforms.
On 32-bit platforms with a 32-bit 'time_t', we'd get this test failure:

  GLib-Net:ERROR:../glib-networking-2.70.rc/tls/tests/certificate.c:689:test_certificate_not_valid_after: assertion failed (actual_str == EXPECTED_NOT_VALID_AFTER): ("2037-12-31T23:23:23Z" == "2046-07-25T18:13:10Z")

This commit includes the workaround implemented upstream.

* gnu/packages/patches/glib-networking-32-bit-time.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gnome.scm (glib-networking)[arguments]: New field.
2021-11-24 18:44:26 +01:00
Ludovic Courtès
dda78c1de7
gnu: plotutils: Fix tests on i686.
* gnu/packages/plotutils.scm (plotutils)[arguments]: On 32-bit x86, pass
CFLAGS and add 'skip-sloppy-test' phase.
2021-11-24 18:44:26 +01:00
Ricardo Wurmus
75c6af85c0
gnu: python2-cryptography: Remove 'sanity-check phase.
* gnu/packages/python-crypto.scm (python2-cryptography)[arguments]: Do not
inherit; remove 'sanity-check phase.
2021-11-24 18:26:26 +01:00
Guillaume Le Vaillant
d0f6e8ae79
gnu: cl-slynk: Fix build.
* gnu/packages/lisp-xyz.scm (sbcl-slynk)[arguments]: Fix 'build-image' phase.
2021-11-24 14:28:58 +01:00
Guillaume Le Vaillant
c09309e955
gnu: cl-libxml2: Fix build.
Tests are not working properly and the check phase never ends.

* gnu/packages/lisp-xyz.scm (sbcl-cl-libxml2)[arguments]: Disable tests.
2021-11-24 14:28:58 +01:00
Guillaume Le Vaillant
e8a4908fde
gnu: cl-html-encode: Fix source tarball name.
* gnu/packages/lisp-xyz.scp (sbcl-html-encode)[source]: Remove 'file-name'
  field.
2021-11-24 14:28:58 +01:00
Ricardo Wurmus
ff8afea9f7
gnu: python2-backports-csv: Remove sanity-check phase.
* gnu/packages/python-xyz.scm (python2-backports-csv)[arguments]: Remove
'sanity-check phase.
2021-11-24 14:20:47 +01:00
Ricardo Wurmus
239c90f4bf
gnu: python2-astroid: Add missing input and don't inherit.
* gnu/packages/python-xyz.scm (python2-astroid)[arguments]: Do not inherit
from Python 3 package variant.
[propagated-inputs]: Do not inherit and add python2-six.
2021-11-24 14:07:39 +01:00
Nicolas Goaziou
6605d9ba35
gnu: asymptote: Fix build.
* gnu/packages/plotutils.scm (asymptote)[native-inputs]: Add
texlive-dvips-l3backend, texlive-fonts-ec, texlive-generic-infwarerr,
texlive-generic-kvdefinekeys, texlive-grfext, texlive-latex-kvoptions,
texlive-latex-pdftexcmds.
2021-11-24 11:01:01 +01:00
Maxim Cournoyer
d5de4e163c
gnu: polkit: Define polkit package variable based on architecture.
* gnu/packages/polkit.scm (polkit): Rename to...
(polkit*): ... this.
(polkit-duktape): Adjust to inherit from polkit*.
(polkit-for-system): New procedure.
(polkit): New variable.
2021-11-24 01:02:37 -05:00
Maxim Cournoyer
bf445d303b
gnu: sideload: Update to 6.0.2.
* gnu/packages/pantheon.scm (sideload): Update to 6.0.2.
Delete trailing #t.
[configure-flags]: Remove nonexistent flatpak build option.
[inputs]: Add libhandy.
2021-11-24 01:02:37 -05:00
Josselin Poiret
c3fd310d8f
gnu: gdm: Pass GDK_PIXBUF_MODULE_FILE to sessions.
* gnu/packages/patches/gdm-pass-gdk-pixbuf-loader-env.patch: Add patch.
* gnu/local.mk (dist_patch_DATA): List it.
* gnu/packages/gnome.scm (gdm): Use it.
* gnu/services/xorg.scm (gdm-shepherd-service): Pass GDK_PIXBUF_MODULE_FILE.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-24 01:02:37 -05:00
Maxim Cournoyer
249dd3fc58
gnu: malcontent: Use meson 0.59 to fix build.
* gnu/packages/freedesktop.scm (malcontent)[meson]: Use meson 0.59.
2021-11-24 01:02:37 -05:00
Maxim Cournoyer
4d41c3beef
gnu: libostree: Update to 2021.6.
* gnu/packages/package-management.scm (libostree): Update to 2021.6.
2021-11-24 01:02:37 -05:00
John Kehayias
93d1f8e5fc
gnu: libostree: Build with libsoup 2.
* gnu/packages/package-management.scm (libostree)[inputs]: Change
LIBSOUP to LIBSOUP-MINIMAL-2.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-24 01:02:36 -05:00
Maxim Cournoyer
fd3fb596e5
gnu: julia: Use libgit2-1.1 and prepare for parallel tests.
Commit e0e2316420 updated libgit2 to version 1.3.0, but julia seems to only
support 1.1.0 for now.

* gnu/packages/julia.scm (julia): Delete trailing #t.
[phases]{enable-parallel-tests}: New phase.
[inputs]: Use libgit2-1.1.

Reported-by: zimoun <zimon.toutoune@gmail.com>
2021-11-24 01:02:36 -05:00
Leo Famulari
57c54bff35
gnu: iftop: Fix build failure with GCC 10.
* gnu/packages/admin.scm (iftop)[arguments]: New field.
2021-11-23 20:17:18 -05:00
Ludovic Courtès
c0e7242aa1
gnu: libgit2: Reintroduce 1.1.0.
* gnu/packages/version-control.scm (libgit2-1.1): New variable.
* gnu/packages/patches/libgit2-mtime-0.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2021-11-23 20:35:00 +01:00
Ludovic Courtès
19dc16ce4b
style: Add '--dry-run'.
* guix/scripts/style.scm (edit-expression/dry-run): New procedure.
(simplify-package-inputs): Add #:edit-expression parameter.
(%options, show-help): Add '--dry-run'.
(guix-style): Honor '--dry-run'.
2021-11-23 16:55:42 +01:00
Ludovic Courtès
0677443c45
gnu: libgit2: Remove version 0.28.
This is a followup to e0e2316420, which
removed "libgit2-mtime-0.patch", which was still used by LIBGIT2-0.28.

* gnu/packages/version-control.scm (libgit2-0.28): Remove.
2021-11-23 16:25:05 +01:00
Ludovic Courtès
b15e543d30
Merge branch 'master' into core-updates-frozen 2021-11-23 11:29:38 +01:00
Ludovic Courtès
daf7b5ecef
Update NEWS. 2021-11-23 10:24:28 +01:00
Ludovic Courtès
0632ea98b3
guix graph: Show '-M' in '--help' output.
* guix/scripts/graph.scm (show-help): Add -M shorthand.
2021-11-23 10:24:28 +01:00
Josselin Poiret
9685c0637d
doc: Add new Swap Space section.
* doc/guix.texi (operating-system Reference): Update swap-devices.
* doc/guix.texi (Swap Space): Add it.
* gnu/system/examples/desktop.tmpl: Add swap-devices example.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-23 10:24:28 +01:00
Josselin Poiret
4af3262d98
system: Filter out boot dependencies from swap-space.
* gnu/systems.scm (swap-services): Filter them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-23 10:24:27 +01:00
Josselin Poiret
0831dfab75
system: Add swap flags.
* gnu/system/file-systems.scm (swap-space)[priority, discard?]: Add
them.
* guix/build/syscalls.scm (SWAP_FLAG_PREFER, SWAP_FLAG_PRIO_MASK,
SWAP_FLAG_PRIO_SHIFT, SWAP_FLAG_DISCARD): Add them.
* gnu/build/file-systems.scm (swap-space->flags-bit-mask): Add it.
* gnu/services/base.scm (swap-service-type): Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-23 10:24:27 +01:00
Josselin Poiret
f574dbd163
system: Warn about swap-devices format change
* gnu/system.scm (warn-swap-devices-change,
%warn-swap-devices-change): Add them.
* gnu/system.scm (operating-system) [swap-devices]: Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-23 10:24:27 +01:00
Josselin Poiret
133a61ae26
system: Rework swap space support, add dependencies.
* gnu/system/file-systems.scm (swap-space): Add it.
* gnu/system.scm (operating-system)[swap-devices]: Update comment.
* gnu/services/base.scm (swap-space->shepherd-service-name,
swap-deprecated->shepherd-service-name, swap->shepherd-service-name):
Add them.
* gnu/services/base.scm (swap-service-type, swap-service): Use the new
records.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-11-23 10:24:27 +01:00