jackhill/guix/guix.git
2 years agognu: vimb: Build with libsoup2.
Jack Hill [Sat, 27 Nov 2021 07:11:55 +0000 (02:11 -0500)]
gnu: vimb: Build with libsoup2.

* gnu/packages/web-browsers.scm (vimb)[inputs]: Replace webkitgtk with
  webkitgtk-with-libsoup2.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: midori: Adjust inputs.
Jack Hill [Sat, 27 Nov 2021 06:30:08 +0000 (01:30 -0500)]
gnu: midori: Adjust inputs.

* gnu/packages/web-browsers.scm (midori)[propogated-inputs]: Add
  desktop-file-utils and which.
  [inputs]: Replace webkit with webkit-with-libsoup2.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2 years agognu: julia-unitful: Disable parallel tests.
zimoun [Thu, 25 Nov 2021 23:35:59 +0000 (00:35 +0100)]
gnu: julia-unitful: Disable parallel tests.

* gnu/packages/julia-xyz.scm (julia-unitful)[arguments]: Disable parallel
tests.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2 years agognu: julia-requires: Disable parallel tests.
zimoun [Thu, 25 Nov 2021 23:35:58 +0000 (00:35 +0100)]
gnu: julia-requires: Disable parallel tests.

* gnu/packages/julia-xyz.scm (julia-requires)[arguments]: Disable parallel
tests.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2 years agognu: julia-interpolations: Disable parallel tests.
zimoun [Thu, 25 Nov 2021 23:35:57 +0000 (00:35 +0100)]
gnu: julia-interpolations: Disable parallel tests.

* gnu/packages/julia-xyz.scm (julia-interpolations)[arguments]: Disable
parallel tests.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2 years agognu: julia-aqua: Disable parallel tests.
zimoun [Thu, 25 Nov 2021 23:35:56 +0000 (00:35 +0100)]
gnu: julia-aqua: Disable parallel tests.

* gnu/packages/julia-xyz.scm (julia-aqua)[arguments]: Disable parallel tests.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2 years agobuild: julia-build-system: Correctly disable parallel tests.
zimoun [Thu, 25 Nov 2021 23:35:55 +0000 (00:35 +0100)]
build: julia-build-system: Correctly disable parallel tests.

* guix/build/julia-build-system.scm: Remove phases trailing #t.
[phases]{check}: Omit the --procs argument when parallel tests are to be
disabled.  Substract 1 from the number of parallel jobs otherwise.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2 years agognu: julia: Correctly test using '#:parallel-tests?'.
zimoun [Thu, 25 Nov 2021 23:35:54 +0000 (00:35 +0100)]
gnu: julia: Correctly test using '#:parallel-tests?'.

* gnu/packages/julia.scm (julia)[phases]{enable-parallel-tests}: Use
PARALLEL-TESTS?, not PARALLEL-BUILD?.  Remove comment.
* gnu/packages/patches/julia-allow-parallel-build.patch: Move explanatory
comment to the top of the patch.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2 years agognu: ristretto: Remove unused librsvg dependency.
Ludovic Courtès [Fri, 26 Nov 2021 22:21:45 +0000 (23:21 +0100)]
gnu: ristretto: Remove unused librsvg dependency.

* gnu/packages/xfce.scm (ristretto)[inputs]: Remove LIBRSVG.

2 years agognu: openbox: Keep librsvg dependency on x86_64 only.
Ludovic Courtès [Fri, 26 Nov 2021 22:00:16 +0000 (23:00 +0100)]
gnu: openbox: Keep librsvg dependency on x86_64 only.

* gnu/packages/openbox.scm (openbox)[inputs]: Make LIBRSVG conditional.

2 years agognu: tor: Address glibc 2.33 compatibility issue on i686.
Ludovic Courtès [Fri, 26 Nov 2021 21:49:21 +0000 (22:49 +0100)]
gnu: tor: Address glibc 2.33 compatibility issue on i686.

* gnu/packages/patches/tor-sandbox-i686.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/tor.scm (tor): Use it.

2 years agognu: pitivi: Fix build with Meson 0.60.
Leo Famulari [Fri, 26 Nov 2021 00:02:36 +0000 (19:02 -0500)]
gnu: pitivi: Fix build with Meson 0.60.

* gnu/packages/patches/pitivi-fix-build-with-meson-0.60.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/video.scm (pitivi)[source]: Use it.

2 years agognu: evolution-data-server: Fix build.
Guillaume Le Vaillant [Fri, 26 Nov 2021 12:23:31 +0000 (13:23 +0100)]
gnu: evolution-data-server: Fix build.

* gnu/packages/gnome.scm (evolution-data-server)[inputs]: Replace webkitgtk by
  webkitgtk-with-libsoup2.
  [arguments]: Remove 'adjust-webkitgtk-version' phase.

2 years agoRevert "gnu: gtk+: Skip test that requires SVG support on non-x86_64."
Ludovic Courtès [Fri, 26 Nov 2021 09:53:24 +0000 (10:53 +0100)]
Revert "gnu: gtk+: Skip test that requires SVG support on non-x86_64."

This reverts commit fa35a5f649518a5c3e41aec796ee9b6b852d93c0, which is
redundant with 8a8e491258adadcb6983a4051fa71e60c0dd7849.

2 years agognu: libsoup: Disable the hsts test.
Maxim Cournoyer [Fri, 26 Nov 2021 05:49:57 +0000 (00:49 -0500)]
gnu: libsoup: Disable the hsts test.

The test was found to fail on i686-linux.

* gnu/packages/gnome.scm (libsoup-minimal)[phases]
{adjust-tests}: De-register the hsts test.

2 years agognu: slang: Really fix the array tests on 32 bit architectures.
Maxim Cournoyer [Fri, 26 Nov 2021 05:01:54 +0000 (00:01 -0500)]
gnu: slang: Really fix the array tests on 32 bit architectures.

This is a follow up to efb0a04ee05f43e86b3c1fcda867a123d8ed021a.

* gnu/packages/slang.scm (slang)[phases]{reduce-array-test-size}: Further
reduce the array size.

2 years agognu: adwaita-icon-theme: Fix the conditional native input.
Maxim Cournoyer [Fri, 26 Nov 2021 04:49:21 +0000 (23:49 -0500)]
gnu: adwaita-icon-theme: Fix the conditional native input.

This is a follow up to commit 16afb35ac9.

* gnu/packages/gnome.scm (adwaita-icon-theme)[native-inputs]: Add an extra
layer of parenthesizes on the conditional input to be spliced.

2 years agognu: webkitgtk: Really disable SSE2 on non-x86_64 achitectures.
Diego Nicola Barbato [Fri, 26 Nov 2021 03:44:40 +0000 (22:44 -0500)]
gnu: webkitgtk: Really disable SSE2 on non-x86_64 achitectures.

This is a followup to d82fd7c2dd542693988f61fb15c020e3209ac7ec.

* gnu/packages/webkit.scm (webkitgtk)[phases]{disable-sse2}: Adjust.

Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2 years agognu: libsoup: Update to 3.0.3.
Maxim Cournoyer [Fri, 26 Nov 2021 03:16:52 +0000 (22:16 -0500)]
gnu: libsoup: Update to 3.0.3.

This resolves test failures on 32 bit platforms (see:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/236).

* gnu/packages/gnome.scm (libsoup): Update to 3.0.3.

2 years agognu: adwaita-icon-theme: Fix build on non-x86_64 targets.
Maxim Cournoyer [Fri, 26 Nov 2021 03:03:58 +0000 (22:03 -0500)]
gnu: adwaita-icon-theme: Fix build on non-x86_64 targets.

* gnu/packages/gnome.scm (adwaita-icon-theme)[native-inputs]: Do not provide
use 'gtk-encode-symbolic-svg' unless building for x86_64.

2 years agoprofiles: Also handle package objects in GDK-PIXBUF-LOADERS-CACHE-FILE.
Maxim Cournoyer [Thu, 25 Nov 2021 23:52:46 +0000 (18:52 -0500)]
profiles: Also handle package objects in GDK-PIXBUF-LOADERS-CACHE-FILE.

* guix/profiles.scm (gdk-pixbuf-loaders-cache-file): Handle both a string or a
package object for GDK-PIXBUF, as these are the two types that can be returned
by MANIFEST-LOOKUP-PACKAGE.

Suggested-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Use 'search-input-directory' for the SDL header directory.
Ludovic Courtès [Thu, 25 Nov 2021 20:56:25 +0000 (21:56 +0100)]
gnu: Use 'search-input-directory' for the SDL header directory.

This is a followup to bf182596a9d85604f6f029302671a38001575355.

* gnu/packages/games.scm (prboom-plus, red-eclipse, btanks)
(edgar): Use 'search-input-directory' instead of 'search-input-file'
when looking for "include/SDL".
(abbaye): Likewise, and search "include/SDL2" instead of "include/SDL".

2 years agognu: gtk+: Skip test that requires SVG support on non-x86_64.
Ludovic Courtès [Thu, 25 Nov 2021 20:43:32 +0000 (21:43 +0100)]
gnu: gtk+: Skip test that requires SVG support on non-x86_64.

* gnu/packages/gtk.scm (gtk+)[arguments]: In 'disable-failing-tests',
skip 'tree-relationships' when not 'target-x86-64?'.

2 years agognu: slang: Fix build on 32 bit systems.
Maxim Cournoyer [Thu, 25 Nov 2021 22:08:11 +0000 (17:08 -0500)]
gnu: slang: Fix build on 32 bit systems.

* gnu/packages/slang.scm (slang)[phases]{reduce-array-test-size}: New phase.

2 years agognu: efl: Only conditionally enable the optional SVG support.
Maxim Cournoyer [Thu, 25 Nov 2021 20:44:35 +0000 (15:44 -0500)]
gnu: efl: Only conditionally enable the optional SVG support.

* gnu/packages/enlightenment.scm (efl)[inputs]
{librsvg}: Only provide it when the target is x86_64.
[configure-flags]: Remove dead code.  Conditionally disable the 'rsvg' loader
via the 'evas-loaders-disabler' flag.

2 years agoprofiles: Fix the gdk-pixbuf-loaders-cache-file hook.
Maxim Cournoyer [Thu, 25 Nov 2021 19:27:46 +0000 (14:27 -0500)]
profiles: Fix the gdk-pixbuf-loaders-cache-file hook.

'guix install' would otherwise fail with a wrong type argument whet attempting
to call the hook.

* guix/profiles.scm (gdk-pixbuf-loaders-cache-file) <file-append>: Replace
with...
<string-append>: ... this, as gdk-pixbuf has already been expanded to a string
at this point.

2 years agognu: gtk+: Conditionally disable the tree-relationships test.
Maxim Cournoyer [Thu, 25 Nov 2021 19:01:04 +0000 (14:01 -0500)]
gnu: gtk+: Conditionally disable the tree-relationships test.

* gnu/packages/gtk.scm (gtk+)[phases] {disable-failing-tests}: Disable the
tree-relationships test on non-x86_64 targets.

2 years agognu: uim-gtk: Build with '-O2'.
Ludovic Courtès [Thu, 25 Nov 2021 14:27:36 +0000 (15:27 +0100)]
gnu: uim-gtk: Build with '-O2'.

* gnu/packages/xorg.scm (uim-gtk)[arguments]: Pass "-O2 -g".

2 years agognu: w-scan: Build with '-O2'.
Ludovic Courtès [Thu, 25 Nov 2021 14:24:36 +0000 (15:24 +0100)]
gnu: w-scan: Build with '-O2'.

* gnu/packages/video.scm (w-scan)[arguments]: Pass "-O2 -g".

2 years agognu: transcode: Build with '-O2'.
Ludovic Courtès [Thu, 25 Nov 2021 14:22:55 +0000 (15:22 +0100)]
gnu: transcode: Build with '-O2'.

* gnu/packages/video.scm (transcode)[arguments]: Pass "-O2 -g".

2 years agognu: aris: Build with '-O2'.
Ludovic Courtès [Thu, 25 Nov 2021 14:15:20 +0000 (15:15 +0100)]
gnu: aris: Build with '-O2'.

* gnu/packages/maths.scm (aris)[arguments]: Pass "-O2 -g".

2 years agognu: geeqie: Build with '-O2'.
Ludovic Courtès [Thu, 25 Nov 2021 14:13:36 +0000 (15:13 +0100)]
gnu: geeqie: Build with '-O2'.

* gnu/packages/image-viewers.scm (geeqie)[arguments]: Pass "-O2 -g".

2 years agognu: gpredict: Build with '-O2'.
Ludovic Courtès [Thu, 25 Nov 2021 14:09:23 +0000 (15:09 +0100)]
gnu: gpredict: Build with '-O2'.

* gnu/packages/astronomy.scm (gpredict)[arguments]: Pass "-O2 -g".

2 years agognu: vinagre: Build with '-O2'.
Ludovic Courtès [Thu, 25 Nov 2021 14:08:51 +0000 (15:08 +0100)]
gnu: vinagre: Build with '-O2'.

* gnu/packages/gnome.scm (vinagre)[arguments]: Pass "-O2 -g".

2 years agognu: iftop: Build with '-O2'.
Ludovic Courtès [Thu, 25 Nov 2021 14:08:19 +0000 (15:08 +0100)]
gnu: iftop: Build with '-O2'.

* gnu/packages/admin.scm (iftop)[arguments]: Pass "-O2 -g".

2 years agognu: lib2geom: Skip faulty test on i686.
Ludovic Courtès [Thu, 25 Nov 2021 14:01:12 +0000 (15:01 +0100)]
gnu: lib2geom: Skip faulty test on i686.

* gnu/packages/graphics.scm (lib2geom)[arguments]: When
'target-x86-32?', add 'skip-faulty-test' phase.

2 years agognu: zathura: Use meson 0.59.
angryrectangle@cock.li [Wed, 24 Nov 2021 20:21:16 +0000 (20:21 +0000)]
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>
2 years agobuild: julia-build-system: Add support for parallel tests.
zimoun [Thu, 25 Nov 2021 01:24:43 +0000 (02:24 +0100)]
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>
2 years agognu: julia: Allow parallel tests.
zimoun [Thu, 25 Nov 2021 01:24:42 +0000 (02:24 +0100)]
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>
2 years agognu: julia: Disable broken tests.
zimoun [Thu, 25 Nov 2021 01:24:41 +0000 (02:24 +0100)]
gnu: julia: Disable broken tests.

* gnu/packages/julia.scm (julia)[arguments]: Disable broken tests.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2 years agognu: glib-networking: Update to 2.70.0.
Maxim Cournoyer [Wed, 24 Nov 2021 17:55:43 +0000 (12:55 -0500)]
gnu: glib-networking: Update to 2.70.0.

It was erroneously thought when updating to 2.70rc in commit
60e2a3bd5e1dca1b520ea16e8967fd85795fe3ef that 2.70.0 was not yet released.

* gnu/packages/gnome.scm (glib-networking): Update to 2.70.0.

2 years agognu: libva: Update to 2.13.0
Josselin Poiret [Mon, 1 Nov 2021 16:03:48 +0000 (16:03 +0000)]
gnu: libva: Update to 2.13.0

* gnu/packages/video.scm (libva): Update it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2 years agognu: Remove python2-itsdangerous.
Ricardo Wurmus [Wed, 24 Nov 2021 23:22:46 +0000 (00:22 +0100)]
gnu: Remove python2-itsdangerous.

* gnu/packages/python-xyz.scm (python2-itsdangerous): Delete variable.

2 years agognu: python2-pylibmc: Remove package.
zimoun [Wed, 24 Nov 2021 23:20:10 +0000 (00:20 +0100)]
gnu: python2-pylibmc: Remove package.

* gnu/packages/databases.scm (python2-pylibmc): Delete variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2 years agognu: python2-validators: Remove package.
zimoun [Mon, 15 Nov 2021 14:26:16 +0000 (15:26 +0100)]
gnu: python2-validators: Remove package.

* gnu/packages/python-xyz.scm (python2-validators): Delete variable.

2 years agognu: python2-discogs-client: Remove package.
zimoun [Mon, 15 Nov 2021 14:26:15 +0000 (15:26 +0100)]
gnu: python2-discogs-client: Remove package.

* gnu/packages/music.scm (python2-discogs-client): Delete variable.

2 years agognu: python2-munkres: Remove package.
zimoun [Mon, 15 Nov 2021 14:26:14 +0000 (15:26 +0100)]
gnu: python2-munkres: Remove package.

* gnu/packages/python-xyz.scm (python2-munkres): Delete variable.

2 years agognu: python2-faker: Remove package.
zimoun [Mon, 15 Nov 2021 14:26:13 +0000 (15:26 +0100)]
gnu: python2-faker: Remove package.

* gnu/packages/python-xyz.scm (python2-faker): Delete variable.
(python-faker)[properties]: Remove.

2 years agognu: python2-sql: Remove package.
zimoun [Mon, 15 Nov 2021 14:26:11 +0000 (15:26 +0100)]
gnu: python2-sql: Remove package.

* gnu/packages/databases.scm (python2-sql): Delete variable.

2 years agognu: python2-sadisplay: Remove package.
zimoun [Mon, 15 Nov 2021 14:26:10 +0000 (15:26 +0100)]
gnu: python2-sadisplay: Remove package.

* gnu/packages/databases.scm (python2-sadisplay): Delete variable.

2 years agognu: python2-relatorio: Remove package.
zimoun [Mon, 15 Nov 2021 14:26:09 +0000 (15:26 +0100)]
gnu: python2-relatorio: Remove package.

* gnu/packages/python-xyz.scm (python2-relatorio): Delete variable.

2 years agognu: python2-traitlets: Remove package.
zimoun [Mon, 15 Nov 2021 14:26:07 +0000 (15:26 +0100)]
gnu: python2-traitlets: Remove package.

* gnu/packages/python-xyz.scm (python2-traitlets): Delete variable.
(python-traitlets)[properties]: Remove.

2 years agognu: python2-colormath: Remove package.
zimoun [Mon, 15 Nov 2021 14:26:06 +0000 (15:26 +0100)]
gnu: python2-colormath: Remove package.

* gnu/packages/python-xyz.scm (python2-colormath): Delete variable.

2 years agognu: python2-spectra: Remove package.
zimoun [Mon, 15 Nov 2021 14:26:05 +0000 (15:26 +0100)]
gnu: python2-spectra: Remove package.

* gnu/packages/python-xyz.scm (python2-spectra): Delete variable.

2 years agognu: shotwell: Build with libsoup 2.
Leo Famulari [Wed, 24 Nov 2021 22:42:26 +0000 (17:42 -0500)]
gnu: shotwell: Build with libsoup 2.

* gnu/packages/gnome.scm (shotwell)[inputs]: Remove libsoup@3. Replace
webkitgtk with webkitgtk-with-libsoup2.

2 years agognu: pitivi: Fix build.
Leo Famulari [Wed, 24 Nov 2021 21:12:11 +0000 (16:12 -0500)]
gnu: pitivi: Fix build.

* gnu/packages/video.scm (pitivi)[inputs]: Adjust arguments to
gst-plugins-bad variant.
[arguments]: Use meson-0.59.

2 years agognu: glib-networking: Work around test failure on 32-bit platforms.
Ludovic Courtès [Wed, 24 Nov 2021 17:22:08 +0000 (18:22 +0100)]
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.

2 years agognu: plotutils: Fix tests on i686.
Ludovic Courtès [Wed, 24 Nov 2021 16:05:05 +0000 (17:05 +0100)]
gnu: plotutils: Fix tests on i686.

* gnu/packages/plotutils.scm (plotutils)[arguments]: On 32-bit x86, pass
CFLAGS and add 'skip-sloppy-test' phase.

2 years agognu: python2-cryptography: Remove 'sanity-check phase.
Ricardo Wurmus [Wed, 24 Nov 2021 17:25:33 +0000 (18:25 +0100)]
gnu: python2-cryptography: Remove 'sanity-check phase.

* gnu/packages/python-crypto.scm (python2-cryptography)[arguments]: Do not
inherit; remove 'sanity-check phase.

2 years agognu: cl-slynk: Fix build.
Guillaume Le Vaillant [Wed, 24 Nov 2021 12:59:17 +0000 (13:59 +0100)]
gnu: cl-slynk: Fix build.

* gnu/packages/lisp-xyz.scm (sbcl-slynk)[arguments]: Fix 'build-image' phase.

2 years agognu: cl-libxml2: Fix build.
Guillaume Le Vaillant [Wed, 24 Nov 2021 12:48:42 +0000 (13:48 +0100)]
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.

2 years agognu: cl-html-encode: Fix source tarball name.
Guillaume Le Vaillant [Wed, 24 Nov 2021 12:35:52 +0000 (13:35 +0100)]
gnu: cl-html-encode: Fix source tarball name.

* gnu/packages/lisp-xyz.scp (sbcl-html-encode)[source]: Remove 'file-name'
  field.

2 years agognu: python2-backports-csv: Remove sanity-check phase.
Ricardo Wurmus [Wed, 24 Nov 2021 13:19:45 +0000 (14:19 +0100)]
gnu: python2-backports-csv: Remove sanity-check phase.

* gnu/packages/python-xyz.scm (python2-backports-csv)[arguments]: Remove
'sanity-check phase.

2 years agognu: python2-astroid: Add missing input and don't inherit.
Ricardo Wurmus [Wed, 24 Nov 2021 13:07:39 +0000 (14:07 +0100)]
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.

2 years agognu: asymptote: Fix build.
Nicolas Goaziou [Wed, 24 Nov 2021 10:01:01 +0000 (11:01 +0100)]
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.

2 years agognu: polkit: Define polkit package variable based on architecture.
Maxim Cournoyer [Mon, 22 Nov 2021 03:20:35 +0000 (22:20 -0500)]
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.

2 years agognu: sideload: Update to 6.0.2.
Maxim Cournoyer [Wed, 24 Nov 2021 05:00:14 +0000 (00:00 -0500)]
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.

2 years agognu: gdm: Pass GDK_PIXBUF_MODULE_FILE to sessions.
Josselin Poiret [Tue, 23 Nov 2021 20:25:10 +0000 (20:25 +0000)]
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>
2 years agognu: malcontent: Use meson 0.59 to fix build.
Maxim Cournoyer [Wed, 24 Nov 2021 04:52:06 +0000 (23:52 -0500)]
gnu: malcontent: Use meson 0.59 to fix build.

* gnu/packages/freedesktop.scm (malcontent)[meson]: Use meson 0.59.

2 years agognu: libostree: Update to 2021.6.
Maxim Cournoyer [Wed, 24 Nov 2021 04:45:36 +0000 (23:45 -0500)]
gnu: libostree: Update to 2021.6.

* gnu/packages/package-management.scm (libostree): Update to 2021.6.

2 years agognu: libostree: Build with libsoup 2.
John Kehayias [Tue, 23 Nov 2021 23:04:17 +0000 (18:04 -0500)]
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>
2 years agognu: julia: Use libgit2-1.1 and prepare for parallel tests.
Maxim Cournoyer [Tue, 23 Nov 2021 19:42:26 +0000 (14:42 -0500)]
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>
2 years agognu: iftop: Fix build failure with GCC 10.
Leo Famulari [Wed, 24 Nov 2021 01:16:53 +0000 (20:16 -0500)]
gnu: iftop: Fix build failure with GCC 10.

* gnu/packages/admin.scm (iftop)[arguments]: New field.

2 years agognu: libgit2: Reintroduce 1.1.0.
Ludovic Courtès [Tue, 23 Nov 2021 19:35:00 +0000 (20:35 +0100)]
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.

2 years agostyle: Add '--dry-run'.
Ludovic Courtès [Tue, 23 Nov 2021 15:55:42 +0000 (16:55 +0100)]
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'.

2 years agognu: libgit2: Remove version 0.28.
Ludovic Courtès [Tue, 23 Nov 2021 15:25:05 +0000 (16:25 +0100)]
gnu: libgit2: Remove version 0.28.

This is a followup to e0e23164202ad9328ffeadde5e900857cb008124, which
removed "libgit2-mtime-0.patch", which was still used by LIBGIT2-0.28.

* gnu/packages/version-control.scm (libgit2-0.28): Remove.

2 years agoMerge branch 'master' into core-updates-frozen
Ludovic Courtès [Tue, 23 Nov 2021 10:22:30 +0000 (11:22 +0100)]
Merge branch 'master' into core-updates-frozen

2 years agoUpdate NEWS.
Ludovic Courtès [Tue, 23 Nov 2021 09:17:55 +0000 (10:17 +0100)]
Update NEWS.

2 years agoguix graph: Show '-M' in '--help' output.
Ludovic Courtès [Tue, 23 Nov 2021 09:16:36 +0000 (10:16 +0100)]
guix graph: Show '-M' in '--help' output.

* guix/scripts/graph.scm (show-help): Add -M shorthand.

2 years agodoc: Add new Swap Space section.
Josselin Poiret [Mon, 15 Nov 2021 20:26:31 +0000 (20:26 +0000)]
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>
2 years agosystem: Filter out boot dependencies from swap-space.
Josselin Poiret [Mon, 15 Nov 2021 20:26:30 +0000 (20:26 +0000)]
system: Filter out boot dependencies from swap-space.

* gnu/systems.scm (swap-services): Filter them.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agosystem: Add swap flags.
Josselin Poiret [Mon, 15 Nov 2021 20:26:29 +0000 (20:26 +0000)]
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>
2 years agosystem: Warn about swap-devices format change
Josselin Poiret [Mon, 15 Nov 2021 20:26:28 +0000 (20:26 +0000)]
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>
2 years agosystem: Rework swap space support, add dependencies.
Josselin Poiret [Mon, 15 Nov 2021 20:26:27 +0000 (20:26 +0000)]
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>
2 years agodoc: Fix the example of "Using virt-viewer with Spice".
Rostislav Svoboda [Thu, 18 Nov 2021 12:20:40 +0000 (13:20 +0100)]
doc: Fix the example of "Using virt-viewer with Spice".

* doc/guix.texi (Running Guix in a Virtual Machine): add missing line
continuation char '\'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agodocker: Enable arm64 docker image building for 'guix pack'.
Collin J. Doering [Fri, 19 Nov 2021 21:12:03 +0000 (16:12 -0500)]
docker: Enable arm64 docker image building for 'guix pack'.

* guix/docker.scm (build-docker-image): Recognize "aarch64".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: pipe-viewer: Update to 0.1.7.
Robby Zambito [Sun, 21 Nov 2021 18:21:12 +0000 (13:21 -0500)]
gnu: pipe-viewer: Update to 0.1.7.

* gnu/packages/video.scm (pipe-viewer): Update to 0.1.7.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: piper: Update to 0.6.
Brendan Tildesley [Sat, 30 Oct 2021 12:41:28 +0000 (23:41 +1100)]
gnu: piper: Update to 0.6.

* gnu/packages/gnome.scm (piper): Update to 0.6.
[inputs]: Add libratbag.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: libratbag: Update to 0.16.
Brendan Tildesley [Sat, 30 Oct 2021 12:41:27 +0000 (23:41 +1100)]
gnu: libratbag: Update to 0.16.

* gnu/packages/gnome.scm (libratbag): Update to 0.16.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add qtile.
Stephen Paul Weber [Mon, 18 Oct 2021 17:48:33 +0000 (12:48 -0500)]
gnu: Add qtile.

* gnu/packages/wm.scm (qtile): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-iwlib.
Stephen Paul Weber [Mon, 18 Oct 2021 17:48:32 +0000 (12:48 -0500)]
gnu: Add python-iwlib.

* gnu/packages/python-xyz.scm (python-iwlib): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-dbus-next.
Stephen Paul Weber [Mon, 18 Oct 2021 17:48:31 +0000 (12:48 -0500)]
gnu: Add python-dbus-next.

* gnu/packages/python-xyz.scm (python-debus-next): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: python-xcffib: Upgrade to 0.11.1.
Stephen Paul Weber [Mon, 18 Oct 2021 17:48:30 +0000 (12:48 -0500)]
gnu: python-xcffib: Upgrade to 0.11.1.

Required for qtile.

* gnu/packages/python-xyz.scm (python-xcffib): Upgrade to 0.11.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add stcgal.
Simon South [Mon, 18 Oct 2021 17:16:54 +0000 (13:16 -0400)]
gnu: Add stcgal.

* gnu/packages/embedded.scm (stcgal): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agognu: Add python-tinydb.
jgart [Fri, 12 Nov 2021 03:45:02 +0000 (22:45 -0500)]
gnu: Add python-tinydb.

* gnu/packages/databases.scm (python-tinydb): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2 years agomaint: "make dist" builds tarballs in 'ustar' format.
Ludovic Courtès [Tue, 23 Nov 2021 08:06:49 +0000 (09:06 +0100)]
maint: "make dist" builds tarballs in 'ustar' format.

This allows us to have file names longer than 99 characters.

* configure.ac: Pass 'tar-ustar' to 'AM_INIT_AUTOMAKE'.

2 years agognu: emacs-fullframe: Update to 0.5.1.
Nicolas Goaziou [Tue, 23 Nov 2021 09:21:41 +0000 (10:21 +0100)]
gnu: emacs-fullframe: Update to 0.5.1.

* gnu/packages/emacs-xyz.scm (emacs-fullframe): Update to 0.5.1.
[source]: Update URI.
[home-page]: Update home-page accordingly.

2 years agognu: wireshark: Update to 3.6.0.
Nicolas Goaziou [Tue, 23 Nov 2021 09:18:02 +0000 (10:18 +0100)]
gnu: wireshark: Update to 3.6.0.

* gnu/packages/networking.scm (wireshark): Update to 3.6.0.

2 years agotests: Fix installation tests.
Mathieu Othacehe [Tue, 23 Nov 2021 08:37:58 +0000 (08:37 +0000)]
tests: Fix installation tests.

Use a CEST timezone as this is the assumed timezone in the run-basic-test
procedure.

* gnu/tests/install.scm (%encrypted-root-not-boot-os,
%btrfs-root-on-subvolume-os): Use a CEST timezone.

2 years agognu: guile-git: Patch to support latest libgit2.
Maxim Cournoyer [Tue, 23 Nov 2021 04:27:28 +0000 (23:27 -0500)]
gnu: guile-git: Patch to support latest libgit2.

* gnu/packages/patches/guile-git-adjust-for-libgit2-1.2.0.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/guile.scm (guile-git)[source]: Use it.