Commit graph

87247 commits

Author SHA1 Message Date
Maxim Cournoyer c6f3cb5f03
gnu: dconf: Update to 0.40.0.
* gnu/packages/gnome.scm (dconf): Update to 0.40.0.
[configure-flags]: Fix the doc flag; it's named 'gtk_doc', not
'enable-gtk-doc'.
2021-11-11 12:18:26 -05:00
Maxim Cournoyer bc4f219ba4
gnu: gtkmm: Update to 4.4.0.
* gnu/packages/gtk.scm (gtkmm): Update to 4.4.0.  Delete trailing #t.
2021-11-11 12:18:26 -05:00
Maxim Cournoyer 7137befc43
gnu: gtkmm-3: Update to 3.24.5.
* gnu/packages/gtk.scm (gtkmm-3): Update to 3.24.5.
[arguments]: Use meson-0.59.
2021-11-11 12:18:26 -05:00
Maxim Cournoyer 06d2227e7e
gnu: Add meson-0.59.
Since gtkmm@3 at least requires it, to workaround a possible new bug in Meson.
Keep Meson at 0.60, because it also introduces useful features, such as
validating that the build options used exist.

* gnu/packages/build-tools.scm (meson-0.59): New variable.
2021-11-11 12:18:25 -05:00
Maxim Cournoyer 5f818705b4
gnu: Add cling.
* gnu/packages/cpp.scm (cling): New variable.
(llvm-cling): New private variable.
(clang-cling): Likewise.
* gnu/packages/patches/cling-use-shared-library.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
2021-11-11 12:18:25 -05:00
Maxim Cournoyer 35b91ada73
gnu: python-lit: Update to 12.0.1.
* gnu/packages/check.scm (python-lit): Update to 12.0.1.
2021-11-11 12:18:25 -05:00
Maxim Cournoyer 00bd5d3e4f
gnu: python2-lit: Remove package.
* gnu/packages/check.scm (python2-lit): Remove package.
2021-11-11 12:18:25 -05:00
Maxim Cournoyer 5a1ddd146b
gnu: ldc: Update to 1.27.1.
* gnu/packages/dlang.scm (ldc-bootstrap): Rename to...
(ldc-bootstrap-0.17): ... this.  Fix indentation.  Disable tests.
[phases]: Remove test related patching.
{patch-phobos}: Rename to ...
{patch-paths}: ... this.
[inputs]: Remove llvm-6, which is propagated by clang-6.
(ldc-bootstrap-1.12): New variable, based on the previous ldc.
[source]: Use the official release tarball.
[build-type]: Set the build type to Release.
[configure-flags]: Pass the -GNinja configure flag.
[phases]{patch-paths}: Override to adjust for changed paths.
{build, install}: Override to use ninja.
[native-inputs]: Add ld-gold-wrapper.  Update llvm to version 11 and use
ldc-bootstrap-0.17 as the bootstrapping D compiler.  Add ninja.  Remove the
phobos-src, druntime-src and dmd-testsuite-src source inputs, now included in
the official release.
(ldc-bootstrap-1.24): Other intermediate variant for bootstrapping purposes.
(ldc): Update to 1.27.1.
[make-flags]: New argument.
[configure-flags]: Adjust.
[phases]{fix-compiler-rt-library-discovery}: New phase.
{patch-paths-in-tests}: Likewise.
{disable-problematic-tests}: Likewise.  Compared to before, many GDB tests are
reinstated.
{set-cc-and-cxx-to-use-clang}: New phase.
{tests}: Override.
[inputs]: Update clang to version 11. Bootstrap from a stage 1 version of
itself.
* gnu/packages/patches/ldc-bootstrap-disable-tests.patch: Delete file.
* gnu/packages/patches/ldc-disable-phobos-tests.patch: Likewise.
* gnu/local.mk: De-register them.
2021-11-11 12:18:25 -05:00
Maxim Cournoyer 2fc08ccde4
gnu: gdb: Update to 11.1 and remove gdb-9.2.
* gnu/packages/gdb.scm (gdb-10): Rename to...
(gdb-11): ... and update.  Update comment about disabled tests.
[origin]: Delete patch, integrated  upstream.
(gdb-9.2): Delete variable, no longer used.
(gdb): Set alias to gdb-11.
* gnu/packages/patches/gdb-hurd.patch: Delete file.
* gnu/packages/patches/gdb-9.2-sim-ppc-fno-common.patch: Likewise.
* gnu/local.mk (dist_patch_DATA): De-register them.
2021-11-11 12:18:24 -05:00
Maxim Cournoyer b9595a7659
gnu: python-numpy: Update to 1.21.3 and cleanup.
* gnu/packages/python-xyz.scm (python-numpy): Update to 1.21.3.
[native-inputs]: Add python-hypothesis and python-pytest-xdist.
[phases]: Delete trailing #t.  Do not explicitly reorder the check phase, as
it already runs after the install phase for the python build system.
{configure-blas-lapack}: Rename to...
{configure-blas}: ... this, to cleanup remnants of lapack left in commit
6623d1cd7f.
{check}: Honor TESTS?.  Invoke the tests via the runtests.py script and enable
parallel tests.
(python2-numpy-1.8)[phases]{configure-blas-lapack}: Likewise (as for the
python-numpy package).
2021-11-11 12:18:24 -05:00
Maxim Cournoyer 222b461878
gnu: zxing-cpp: Update to 1.2.0-0.00783db.
* gnu/packages/aidc.scm (zxing-cpp): Update to 1.2.0-0.00783db.
[version]: Use git-version.
[source]: Adjust accordingly.
[native-inputs]: Replace googletest-source by the regular googletest package.
Add fmt.
[arguments]: Remove field.
(zxing-cpp-1.2): New variable.
* gnu/packages/gstreamer.scm (gst-plugins-bad): Skip failing test.
[inputs]: Use zxing-cpp-1.2.
2021-11-11 12:18:24 -05:00
Maxim Cournoyer 33b28e9553
gnu: mesa: Enable support for OpenGL ES 1.1 and 2.0.
* gnu/packages/gl.scm (mesa)[native-inputs]: Add python-libxml2.  Remove TODO
comment.
2021-11-11 12:18:24 -05:00
Maxim Cournoyer c60449434b
gnu: mesa: Replace obsolete vulkan-overlay-layer build option.
The option has been replaced by `vulkan-layers', an array of options.

* gnu/packages/gl.scm (mesa): Remove trailing #t.
[configure-flags]: Replace the vulkan-overlay-layer build option by
vulkan-layers.
2021-11-11 12:18:24 -05:00
Maxim Cournoyer a4ad0187d3
gnu: gstreamer: Disable the pipelines-seek test.
* gnu/packages/gstreamer.scm (gstreamer)
[phases]{disable-problematic-tests}: New phase.
2021-11-11 12:18:24 -05:00
Maxim Cournoyer 86528cab04
gnu: gdk-pixbuf: Remove obsolete jasper support.
The newer meson 0.60 failed the build because the jasper flag no longer
exists.

* gnu/packages/gtk.scm (gdk-pixbuf)[configure-flags]<jasper>: Remove configure
flag.
[phases]{patch-docbook}: Remove condition and TODO comment.
[inputs]: Remove jasper.
2021-11-11 12:18:23 -05:00
Maxim Cournoyer 33c7e18347
gnu: python-dateutil: Update to 2.8.2.
* gnu/packages/time.scm (python-dateutil): Update to 2.8.2.
2021-11-11 12:18:23 -05:00
Maxim Cournoyer 4a43e64b41
gnu: python-six-bootstrap: Update to 1.16.0.
* gnu/packages/python-build.scm (python-six-bootstrap): Update to 1.16.0.
2021-11-11 12:18:23 -05:00
Maxim Cournoyer 175018f162
gnu: python-pytest: Update to 6.2.5.
* gnu/packages/check.scm (python-pytest): Update to 6.2.5.
2021-11-11 12:18:23 -05:00
Maxim Cournoyer fa3878f060
gnu: python-dbusmock: Update to 0.24.0.
* gnu/packages/python-xyz.scm (python-dbusmock): Update to 0.24.0.  Delete
trailing #t.
2021-11-11 12:18:23 -05:00
Maxim Cournoyer 68ce9c3884
gnu: boost: Update to 1.77.0.
* gnu/packages/boost.scm (boost): Update to 1.77.0.
2021-11-11 12:18:22 -05:00
Maxim Cournoyer 2e2c6482c9
gnu: python-dbus: Update to 1.2.18.
* gnu/packages/python-xyz.scm (python-dbus): Update to 1.2.18.
(python2-dbus)[configure-flags]: Provide the PYTHON_VERSION configure
variable.
2021-11-11 12:18:22 -05:00
Maxim Cournoyer 7b5824f1a7
gnu: python-hypothesis: Update to 6.23.4.
* gnu/packages/check.scm (python-hypothesis): Update to 6.23.4.
2021-11-11 12:18:22 -05:00
Maxim Cournoyer a248421cbd
gnu: curl: Update to 7.79.1.
* gnu/packages/curl.scm (curl): Update to 7.79.1.  Delete trailing #t.
[origin]: Remove the upstream curl-7.77-tls-priority-string.patch patch.
* gnu/packages/patches/curl-7.77-tls-priority-string.patch: Delete it.
* gnu/local.mk (dist_patch_DATA): De-register it.
2021-11-11 12:18:22 -05:00
Maxim Cournoyer e976789754
gnu: meson: Update to 0.60.0.
* gnu/packages/build-tools.scm (meson): Update to 0.60.0.
2021-11-11 12:18:22 -05:00
Maxim Cournoyer df20439d44
gnu: jsoncpp: Apply patch to regular package.
* gnu/packages/serialization.scm (jsoncpp)[source]: Apply patch.
(jsoncpp-with-pkg-version): Delete variant package.
* gnu/packages/jami.scm (libring)[inputs]: Adjust accordingly.
2021-11-11 12:18:21 -05:00
Maxim Cournoyer 8f78f61c02
gnu: nss: Update to 3.71.
This is made in an attempt to get rid of non-deterministic test failures,
namely:

  [  FAILED  ] TlsConnectDatagram13.AeadLimit

* gnu/packages/nss.scm (nss): Update comment about nss-certs.  Update to 3.71.
[phases]{check}: Update faketime date.
[inputs]{sqlite}: Use the regular version.
* gnu/packages/certs.scm (nss-certs): Inherit version and source from nss.
2021-11-11 12:18:21 -05:00
Maxim Cournoyer b8324050ad
gnu: nspr: Normalize inputs.
* gnu/packages/nss.scm (nspr)[inputs]: Remove conditional.
2021-11-11 12:18:21 -05:00
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