Commit graph

88327 commits

Author SHA1 Message Date
Maxim Cournoyer
71b309169d
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>
2021-11-25 20:44:16 -05:00
Ludovic Courtès
138498feec
gnu: Use 'search-input-directory' for the SDL header directory.
This is a followup to bf182596a9.

* 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".
2021-11-25 23:15:39 +01:00
Ludovic Courtès
fa35a5f649
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?'.
2021-11-25 23:15:38 +01:00
Maxim Cournoyer
efb0a04ee0
gnu: slang: Fix build on 32 bit systems.
* gnu/packages/slang.scm (slang)[phases]{reduce-array-test-size}: New phase.
2021-11-25 17:08:11 -05:00
Maxim Cournoyer
0df12a32bb
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.
2021-11-25 16:14:48 -05:00
Maxim Cournoyer
0702bbe1f7
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.
2021-11-25 14:27:46 -05:00
Maxim Cournoyer
8a8e491258
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.
2021-11-25 14:01:04 -05:00
Ludovic Courtès
612e38bd29
gnu: uim-gtk: Build with '-O2'.
* gnu/packages/xorg.scm (uim-gtk)[arguments]: Pass "-O2 -g".
2021-11-25 15:27:36 +01:00
Ludovic Courtès
67abcfaa67
gnu: w-scan: Build with '-O2'.
* gnu/packages/video.scm (w-scan)[arguments]: Pass "-O2 -g".
2021-11-25 15:24:36 +01:00
Ludovic Courtès
4dc3c32649
gnu: transcode: Build with '-O2'.
* gnu/packages/video.scm (transcode)[arguments]: Pass "-O2 -g".
2021-11-25 15:22:55 +01:00
Ludovic Courtès
51637d57fa
gnu: aris: Build with '-O2'.
* gnu/packages/maths.scm (aris)[arguments]: Pass "-O2 -g".
2021-11-25 15:15:20 +01:00
Ludovic Courtès
02492e8a9b
gnu: geeqie: Build with '-O2'.
* gnu/packages/image-viewers.scm (geeqie)[arguments]: Pass "-O2 -g".
2021-11-25 15:13:36 +01:00
Ludovic Courtès
fd530e5706
gnu: gpredict: Build with '-O2'.
* gnu/packages/astronomy.scm (gpredict)[arguments]: Pass "-O2 -g".
2021-11-25 15:09:23 +01:00
Ludovic Courtès
9c1a5629e5
gnu: vinagre: Build with '-O2'.
* gnu/packages/gnome.scm (vinagre)[arguments]: Pass "-O2 -g".
2021-11-25 15:08:51 +01:00
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