Commit graph

87320 commits

Author SHA1 Message Date
Maxim Cournoyer
fdae245a75
gnu: mariadb: Only run the main test suite to avoid flaky tests.
Tests from the perfschema test suite has a high failure rate.  Upstream only
tests the main test suite in their CI, so don't try to outdo them.

* gnu/packages/databases.scm (mariadb): Delete trailing #t.
[phases]{check}: Only run the main test suite.
2021-11-11 12:18:21 -05:00
Maxim Cournoyer
12b9810ede
gnu: cdparanoia: Disable parallel build.
The build would sometimes fail with errors such as:

make[1]: Entering directory '/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2'
gcc -O2 -fsigned-char -g -O2 -c main.c
gcc -O2 -fsigned-char -g -O2 -c report.c
gcc -O2 -fsigned-char -g -O2 -c header.c
gcc -O2 -fsigned-char -g -O2 -c buffering_write.c
gcc -O2 -fsigned-char -g -O2 -c cachetest.c
gcc -O2 -fsigned-char -g -O2 -Wl,-rpath=/gnu/store/h0qhcyf0ci4kb70mmvxn8150rl6d3ykm-cdparanoia-10.2/lib -g -O2 main.o report.o header.o buffering_write.o cachetest.o \
        -L/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2/paranoia -L/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2/interface \
        -o cdparanoia -lcdda_interface -lcdda_paranoia -lm -lrt
ld: main.o: in function `cleanup':
/tmp/guix-build-cdparanoia-10.2.drv-0/cdparanoia-III-10.2/main.c:667: undefined reference to `paranoia_free'
[...]
collect2: error: ld returned 1 exit status

* gnu/packages/cdrom.scm (cdparanoia)[parallel-build?]: Set to #f.
2021-11-11 12:18:21 -05:00
Maxim Cournoyer
a0bf66ab94
gnu: elogind: Update to 246.10.
* gnu/packages/freedesktop.scm (elogind): Update to 246.10.
Remove trailing #t.
[configure-flags]: Address TODOs, removing conditionals and providing
the kexec command.
[phases]{adjust-tests}: Disable the test-user-util and test-event tests.
[inputs]: Add kexec-tools.
2021-11-11 12:18:20 -05:00
Maxim Cournoyer
daf54a3953
gnu: gawk: Use regular bash to cope with test suite failures.
Fixes <https://issues.guix.gnu.org/51286>.

* gnu/packages/gawk.scm (gawk): Remove trailing #t.
[inputs]: Always use bash.
2021-11-11 12:18:20 -05:00
Maxim Cournoyer
000291fd43
gnu: librsvg: Preserve the loaders.cache file.
Now that we have a search path that honors it on gdk-pixbuf, it is more
valuable to keep it.

* gnu/packages/gnome.scm (librsvg)[phases]{pre-configure}: Install loaders,
cache file to locations derived from %gdk-pixbuf-loaders-cache-file.
2021-11-11 12:18:20 -05:00
Maxim Cournoyer
feab09f72a
gnu: gtk: Replace gdk-pixbuf+svg by librsvg.
With the addition of a profile hook for computing the gdk-pixbuf loaders cache
file, there is no longer a need for gdk-pixbuf+svg, and librsvg can propagate
gdk-pixbuf without fear, so replace the former for the latter.

The replacement was automated with the following command:

   $ git grep -l ',gdk-pixbuf+svg)' \
     | xargs sed 's/(".*" ,gdk-pixbuf+svg)/("librsvg" ,librsvg)/' -i

* gnu/packages/gtk.scm (gdk-pixbuf+svg): Delete package.
(gtk+-2)[propagated-inputs]: Replace gdk-pixbuf+svg with librsvg.
(gtk+)[propagated-inputs]: Likewise.
* gnu/packages/gnome.scm (gdk-pixbuf+svg): Add deprecated package.
2021-11-11 12:18:20 -05:00
Maxim Cournoyer
831c08d8f2
gnu: gdk-pixbuf: Add a search path for the loaders cache file.
Fixes <https://issues.guix.gnu.org/50957>.

The previous commit added a profile hook to compute a gdk-pixbuf loaders cache
file.  This change enables gdk-pixbuf to make use of it.

* gnu/packages/gtk.scm (gdk-pixbuf)[native-search-paths]: Add a search path
specification to set the GDK_PIXBUF_MODULE_FILE environment variable.
2021-11-11 12:18:19 -05:00
Maxim Cournoyer
20e3dd052d
profiles: Add a gdk-pixbuf-loaders-cache-file hook.
This paves the way toward properly fixing https://issues.guix.gnu.org/50957.

* guix/profiles.scm (gdk-pixbuf-loaders-cache-file): Add procedure...
(%default-profile-hooks): ... and register it as a profile hook.
* guix/status.scm (hook-message): Register it here too.
2021-11-11 12:18:19 -05:00
Maxim Cournoyer
e0d9c37982
build: glib-or-gtk: Generate the gdk-pixbuf-loaders cache file in a phase.
Adding a profile hook to do so covers most use cases, but it is still
necessary to have the gdk-pixbuf loaders cache file computed at build time, as
software may expect to find loaders support at that time.

* guix/build/glib-or-gtk-build-system.scm: Delete trailing #t.
(%gdk-pixbuf-loaders-cache-file-prefix): New variable.
(generate-gdk-pixbuf-loaders-cache): New procedure.
(generate-gdk-pixbuf-loaders-cache-file): Add procedure...
(%standard-phases): ... and register it as a build phase.
2021-11-11 12:18:19 -05:00
Maxim Cournoyer
7541598fe2
gnu: gtk: Add the generate-gdk-pixbuf-loaders-cache-file phase.
* gnu/packages/gtk.scm (gtk+)[arguments]: Import the (guix build
glib-or-gtk-build-system) module and put it in scope.
[phases]{generate-gdk-pixbuf-loaders-cache-file}: New phase.
(gtk): Likewise.
2021-11-11 12:18:19 -05:00
Maxim Cournoyer
00c78f8dbc
gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper.
* gnu/packages/chromium.scm (make-lld-wrapper): Delete procedure.
(ungoogled-chromium)[native-inputs]: Replace its use by lld-as-ld-wrapper.
2021-11-11 12:18:19 -05:00
Maxim Cournoyer
daa46cd151
gnu: llvm: Add make-lld-wrapper, lld-wrapper and lld-as-ld-wrapper.
* gnu/packages/llvm.scm (make-lld-wrapper): New procedure.
(lld-wrapper, lld-as-ld-wrapper): New variables.
2021-11-11 12:18:19 -05:00
Maxim Cournoyer
879252e234
gnu: python-flit: Update to 3.3.0.
* gnu/packages/python-xyz.scm (python-flit): Update to 3.3.0.
2021-11-11 12:18:18 -05:00
Maxim Cournoyer
d2fffa7986
gnu: webkitgtk: Add a debug output.
* gnu/packages/webkit.scm[outputs]: Add a debug output.
2021-11-11 12:18:18 -05:00
Maxim Cournoyer
a46b8bbfab
gnu: pulseaudio: Add doxygen to fix build.
* gnu/packages/pulseaudio.scm (pulseaudio)[native-inputs]: Add doxygen.
2021-11-11 12:18:18 -05:00
Maxim Cournoyer
26457b40fa
gnu: webkitgtk: Use libsoup 3 and build with GCC.
Clang is not needed when building with libsoup 3.

* gnu/packages/webkit.scm (webkitgtk): Delete trailing #t.
[configure-flags]: Remove -DUSE_SOUP2.
[phases]{prepare-build-environment}: Remove phase.
[native-inputs]: Remove clang.
2021-11-11 12:18:18 -05:00
Maxim Cournoyer
f7d88cd470
gnu: libsoup: Update to 3.0.1.
* gnu/packages/gnome.scm (libsoup-minimal): Update to 3.0.1.
[modules]: Delete argument.
[phases]{adjust-tests}: Re-enable ssl-test.
[native-inputs]: Add gnutls, for tests.  Move nghttp2:lib to...
[propagated-inputs]: ... here.  Add nghttp2, which contains the pkg-config
files.
(vala-0.52): Add older variant.
(libsoup-minimal-2): New variable.
(rest)[propagated-inputs]: Use libsoup-minimal-2.
(geoclue)[inputs]: Likewise.
* gnu/packages/inkscape.scm (inkscape)[inputs]: Likewise.
2021-11-11 12:18:18 -05:00
Maxim Cournoyer
698e6f17bb
gnu: libsoup: Reverse inheritance relationship with libsoup-minimal.
Because starting small and adding more on top is easier maintenance-wise than
the reverse.

* gnu/packages/gnome.scm (libsoup-minimal): New variable, made by stripping
all doc-related output, phases and inputs from libsoup.
[outputs]: Remove doc output.
[configure-flags]: Set gtk_doc option to false.
[phases]{patch-docbook-xml, move-doc}: Remove phases.
[native-inputs]{docbook-xml-4.1.2, gtk-doc}: Remove inputs.
(libsoup): Inherit from the above.
[outputs]: Re-add "doc" output.
[configure-flags]: Set gtk_doc option to true.
[phases]{patch-docbook-xml, move-doc}: Re-add phases.
[native-inputs]{docbook-xml-4.1.2, gtk-doc}: Re-add inputs.
2021-11-11 12:18:17 -05:00
Maxim Cournoyer
22ebc35efd
gnu: vala: Update to 0.54.2.
* gnu/packages/gnome.scm (vala): Update to 0.54.2.  Delete trailing #t.
2021-11-11 12:18:17 -05:00
Maxim Cournoyer
60e2a3bd5e
gnu: glib-networking: Update to 2.70.rc.
This resolves test suite errors following the upgrade to glib 2.70.

* gnu/packages/gnome.scm (glib-networking): Update to 2.70.rc.
2021-11-11 12:18:17 -05:00
Maxim Cournoyer
f22f6fc3b6
gnu: glib: Update to 2.70, specify a bindir prefix and hide package.
* gnu/packages/glib.scm (glib): Update to 2.70.  Remove trailing #t.
[outputs]: Add a debug output.
[configure-flags]: Specify --bindir and disable manpage generation.
[phases]{disable-failing-tests}: Disable the flaky testfilemonitor test.
{move-static-libraries}: Use rename-file instead of link and delete.
{move-bin}: Rename to...
{patch-pkg-config-files}: ... this, and adjust the substitutions.
[native-inputs]: Remove docbook-xsl, libxml2 and libxslt.
[properties]: Re-add the hidden? property that commit 18f73d8041 had
temporarily removed.
(glib-with-documentation)[properties]: Revert to a visible package.
[native-inputs]: Add docbook-xsl and libxslt.
[configure-flags]: Delete the inherited "-Dman=false" flag.
2021-11-11 12:18:17 -05:00
Maxim Cournoyer
6d08d40cfa
gnu: libthai: Make datrie a normal native-input.
* gnu/packages/gtk.scm (libthai)[native-input]: Remove conditional on the
datrie input.
2021-11-11 12:18:17 -05:00
Maxim Cournoyer
b071402d35
gnu: pango: Update to 1.48.10.
* gnu/packages/gtk.scm (pango): Update to 1.48.10.  Remove trailing #t.
[inputs]: Remove conditional on the bash-minimal input.
2021-11-11 12:18:16 -05:00
Maxim Cournoyer
0d56844268
gnu: heimdal: Fix build.
* gnu/packages/kerberos.scm (heimdal): Remove trailing #t.
[inputs]: Add mit-krb5.  Add bash-minimal inconditionally.
[native-inputs]: Add perl inconditionally.
2021-11-11 12:18:16 -05:00
Maxim Cournoyer
3026644104
gnu: util-linux: Globally disable the lsns test.
Justification: the test also failed on the CI for x86_64 and caused an
evaluation to fail.

* gnu/packages/linux.scm (util-linux)[phases]{disable-lsns-test}: Disable
globally.
2021-11-11 12:18:16 -05:00
Maxim Cournoyer
ee394937bc
gnu: mit-krb5: Absorb 1.19.2 graft.
* gnu/packages/kerberos.scm (mit-krb5)[replacement]: Remove.
[source]: Update to 1.19.2.
(mit-krb5-1.19.2): Delete variable.
2021-11-11 12:18:16 -05:00
Maxim Cournoyer
a095d983ea
gnu: openssl: Absorb 1.1.1l graft.
* gnu/packages/tls.scm (openssl)[replacement]: Remove.
[source]: Update to 1.1.1l.  Fix indentation.
* gnu/packages/tls.scm (openssl-1.1.1l): Delete variable.
2021-11-11 12:18:16 -05:00
Maxim Cournoyer
6933a32b8b
gnu: cmake-bootstrap: Update to 3.21.3.
* gnu/packages/cmake.scm (cmake-bootstrap): Update to 3.21.3.
(cmake)[source]: Delete field, updating the package to 3.21.3 also.  Remove
trailing #t.
(%common-disabled-tests) <CMake.FileDownload>: Add test.
2021-11-11 12:18:15 -05:00
Maxim Cournoyer
1abc9cae28
gnu: graphviz: Update to 2.49.0.
* gnu/packages/graphviz.scm (graphviz): Update to 2.49.0.
2021-11-11 12:18:15 -05:00
John Kehayias
3b9b685d05
gnu: mesa: Update to 21.2.4.
* gnu/packages/patches/mesa-skip-tests.patch: Adjust for current version.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 12:18:15 -05:00
Maxim Cournoyer
50db3459cb
gnu: inkscape: Remove the legacy 0.92 version.
The older 0.92 Inkscape package was previously kept because of problems
building lib2geom on the ARM architectures.  As this no longer appears to be a
problem (tested on the overdrive1 machine), finally replace the older Inkscape
by the newer 1.1 release.

* gnu/packages/inkscape.scm (inkscape-1.1): Delete variable, moving the
package definition to...
(inkscape): ... the now single inkscape variable.  Remove trailing #t.
[tests?]: Remove.
[phases]{generate-gdk-pixbuf-loaders-cache-file}: Add phase.
2021-11-11 12:18:15 -05:00
Maxim Cournoyer
9b6a23e524
gnu: rest: Use libsoup-minimal.
This is needed to prevent a dependency cycle between Inkscape and GTK+.

* gnu/packages/gnome.scm (rest)[propagated-inputs]
{libsoup}: Use the minimal variant.
2021-11-11 12:18:15 -05:00
Maxim Cournoyer
3790372979
gnu: gusb-minimal: Introduce minimal variant.
This is needed to prevent a dependency cycle between Inkscape and GTK+.

* gnu/packages/gnome.scm (gusb-minimal): New variable.
[configure-flags]: Disable docs.
[native-inputs]: Remove gtk-doc.
(gusb): Rewrite in terms of gusb-minimal.
[configure-flags]: Enable docs.
[native-inputs]: Add gtk-doc.
2021-11-11 12:18:14 -05:00
Maxim Cournoyer
0195d4b1c3
gnu: libcloudproviders-minimal: Introduce minimal variant.
* gnu/packages/gnome.scm (libcloudproviders-minimal): New minimal variant that
doesn't require Inkscape to be built (through gtk-doc).
[source]: Adjust URI.
[outputs]: Remove field.
[configure-flags]: Disable introspection, docs and vala bindings.
[phases]{move-doc}: Move phase to ...
(libcloudproviders)[phases]: ... here.
Rewrite in terms of libcloudproviders-minimal.  The "doc" output is moved
here.
[configure-flags]: Clear inherited flags and enable doc.
* gnu/packages/gtk.scm (gtk+)[inputs]{libcloudproviders}: Use the minimal
variant to prevent a cycle with Inkscape.
2021-11-11 12:18:14 -05:00
Maxim Cournoyer
8dec1804a5
gnu: colord-minimal: Introduce minimal variant.
* gnu/packages/gnome.scm (colord-minimal): New minimal variant that doesn't
require Inkscape to be built (through gtk-doc).  Remove trailing #t.
[configure-flags]: Disable docs and manpage generation.  Sort order.
(colord): Rewrite in terms of colord-minimal.
[configure-flags]: Enable manpages and bash completion.
[phases]{fix-bash-completion-dir}: New phase.
[native-inputs]: Add bash_completion, docbook-xsl-ns and libxml2.
* gnu/packages/gtk.scm (gtk+)[inputs]{colord}: Use the colord-minimal variant
to prevent a cycle with Inkscape.
2021-11-11 12:18:14 -05:00
Maxim Cournoyer
0dc52fc25a
gnu: Add docbook-xsl-ns.
* gnu/packages/docbook.scm (docbook-xsl-ns): New variable.
2021-11-11 12:18:14 -05:00
Maxim Cournoyer
ff28af501d
gnu: json-glib-minimal: Introduce minimal variant.
* gnu/packages/gnome.scm (json-glib-minimal): New variable.
[source]: Adjust URI.
[outputs]: Move doc output to...
(json-glib)[outputs]: ... here.  Rewrite in terms of json-glib-minimal.
* gnu/packages/gtk.scm (gtk+): Use json-glib-minimal to break a cycle with
Inkscape.
2021-11-11 12:18:14 -05:00
Maxim Cournoyer
d1be2661ca
gnu: lsof: Fix indentation.
* gnu/packages/lsof.scm (lsof): Fix indentation.
2021-11-11 12:18:13 -05:00
Maxim Cournoyer
46ecaa46b5
gnu: lsof: Disable the LTlock test.
Fixes <https://issues.guix.gnu.org/44953>.

* gnu/packages/lsof.scm (lsof)[phases]: Remove trailing #t.
{disable-failing-tests}: Disable the LTlock test.
2021-11-11 12:18:13 -05:00
Maxim Cournoyer
781f475bba
gnu: at-spi2-atk: Break a dependency cycle between GTK+ and Inkscape.
* gnu/packages/gtk.scm (at-spi2-atk)
[propagated-inputs]: Replace at-spi2-core with at-spi2-core-minimal.
2021-11-11 12:18:13 -05:00
Maxim Cournoyer
2971472e79
gnu: at-spi2-core: Reverse inheritance relationship with minimal variant.
Since the minimal variant is here to stay, this should make things easier to
maintain.

* gnu/packages/gtk.scm (at-spi2-core-minimal): Rewrite after removing
inheritance, making it the base minimal package, with no documentation-related
inputs or build phases.
(at-spi2-core): Rewrite definition, inherit from the above minimal variant,
adding the documentation-related inputs and build phases.
2021-11-11 12:18:13 -05:00
Maxim Cournoyer
889eebc185
build: glib-or-gtk-build-system: Fix indentation.
* guix/build/glib-or-gtk-build-system.scm (gtk-module-directories)
(wrap-all-programs): Fix indentation.
2021-11-11 12:18:13 -05:00
Maxim Cournoyer
eb619cda36
build: glib-or-gtk-build-system: Simplify the wrap-all-programs phase.
* guix/build/glib-or-gtk-build-system.scm (wrap-all-programs)
<handle-output>: Precisely build the list of variable specifications, rather
than relying on a bunch of conditionals.
2021-11-11 12:18:12 -05:00
Maxim Cournoyer
802307fe6f
gnu: meson: Patch to allow installing to independent prefixes.
Meson goes to lengths at preventing installation to directories outside of the
main installation prefix.  This isn't convenient or desirable in Guix; patch
it out using a patch maintained by Nix.

* gnu/packages/patches/meson-allow-dirs-outside-of-prefix.patch: Add patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/build-tools.scm (meson): Use it.
2021-11-11 12:18:12 -05:00
Maxim Cournoyer
0136d81580
gnu: python-pathlib2: Update to 2.3.6.
* gnu/packages/python-xyz.scm (python-pathlib2): Update to 2.3.6.
2021-11-11 12:18:12 -05:00
Maxim Cournoyer
dac3ba0d40
gnu: python-pytest-6: Fix version via setuptools-scm.
* gnu/packages/check.scm (python-pytest-6): Fix indentation.
[phases]{fix-version}: Rename to...
{pretend-version}: ... this.  Use the supported setuptools-scm mechanism to
manually fix the version string, as suggested upstream.
2021-11-11 12:18:12 -05:00
Maxim Cournoyer
e3f172b1ad
gnu: python-setuptools-scm: Update to 6.3.2
* gnu/packages/python-xyz.scm (python-setuptools-scm): Update to 6.3.2.
[propagated-inputs]: Add python-packaging-bootstrap and python-tomli.
(properties): Set the python2-variant property.
(python2-setuptools-scm): Pin to version 5.0.2, the last release to support
Python 2.
2021-11-11 12:18:12 -05:00
Maxim Cournoyer
a6d9dbb1b2
gnu: Add python-tomli.
* gnu/packages/python-build.scm (python-tomli): New variable.
2021-11-11 12:18:11 -05:00
Maxim Cournoyer
9587833688
gnu: Add python-flit-core.
* gnu/packages/python-build.scm (python-flit-core): New variable.
2021-11-11 12:18:11 -05:00
Maxim Cournoyer
b734ce06e1
gnu: python-pypa-build: Update to 0.7.0.
* gnu/packages/python-build.scm (python-pypa-build): Update to 0.7.0.
[phases]{relax-requirements}: Rename to...
{use-toml-instead-of-tomli}: ... this.  Replace tomli by toml.
2021-11-11 12:18:11 -05:00