Commit graph

87161 commits

Author SHA1 Message Date
Maxim Cournoyer
41f058d10d
gnu: gdb: Patch references to /bin/sh and add debug output.
* gnu/packages/gdb.scm (gdb-10)[outputs]: Add a debug output.
[phases]{patch-paths}: New phase.
[inputs]: Add bash.
(gdb-9.2)[phases]{patch-paths}: Override phase.
2021-11-11 10:31:32 -05:00
Maxim Cournoyer
472da854f1
gnu: Add ld-gold-wrapper.
* gnu/packages/commencement.scm (ld-gold-wrapper): New variable.
2021-11-11 10:31:32 -05:00
Maxim Cournoyer
8b1dfc144b
gnu: make-ld-wrapper: Add a LINKER argument.
This allows creating wrappers for other linkers than "ld", such as "ld.gold".

* gnu/packages/base.scm (make-ld-wrapper): New variable.
[linker]: New argument.  Update doc.
<ld>: Use LINKER to derive the linker source.
2021-11-11 10:31:31 -05:00
Thiago Jung Bauermann
b04a20f77f
gnu: gcc-5: Fix powerpc64le-linux build
GCC 5 has a misaligned access to a vector pointer which causes a build failure
when using GCC 8 and later.  Backport upstream fix that was applied on the GCC
6 branch.

* gnu/packages/gcc.scm (gcc-5)[source]: Apply
gcc-5-fix-powerpc64le-build.patch.
* gnu/packages/patches/gcc-5-fix-powerpc64le-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:31 -05:00
Sarah Morgensen
460d6aca0c
gnu: curl: Honor #:tests?.
* gnu/packages/curl.scm (curl)[phases]{check}: Honor #:tests?.
2021-11-11 10:31:31 -05:00
Brendan Tildesley
3dfe45c3f1
build: qt-utils: Don't wrap .X-real files.
* guix/build/qt-utils.scm (find-files-to-wrap): Exclude already wrapped
programs.  This is forbidden in wrap-program now due to a738a663a9.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:31 -05:00
Thiago Jung Bauermann
57fd6d511c
gnu: diffutils: Update to 3.8.
‘coreutils-gnulib-tests.patch’ is applied in the gnulib version shipped
with 3.8.

* gnu/packages/base.scm (diffutils): Update to 3.8.
[source]: Do not apply coreutils-gnulib-tests.patch.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:30 -05:00
Thiago Jung Bauermann
f234f5b0e1
gnu: diffutils: Fix signal processing.
diffutils has a race condition in its signal processing code which is easy to
trigger on powerpc64le-linux.  More often than not, it causes the ‘colors’
test to fail and therefore the build of the package fails as well.

Add the patch proposed in Debian bug 922552 which fixes the problem.

* gnu/packages/patches/diffutils-fix-signal-processing.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (diffutils)[source]: Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:30 -05:00
Thiago Jung Bauermann
4b4e35a771
gnu: gtk+-2: Fix ‘builder’ test.
The signal callbacks in the ‘builder’ testcase have wrong prototypes.
This causes it to fail the “/Builder/Signal Autoconnect” test on
powerpc64le-linux.

Solve the problem by backporting the upstream fix that was applied to
GTK+ 3.0.

* gnu/packages/patches/gtk2-fix-builder-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gtk.scm (gtk+-2): Use it.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:30 -05:00
Leo Famulari
af8b03b4e2
gnu: tzdata: Update to 2021e.
* gnu/packages/base.scm (tzdata, tzdata-for-tests): Update to 2021e.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:30 -05:00
Ludovic Courtès
8c801194b5
gnu: glibc: Look for the current timezone in /etc/localtime.
Fixes <https://issues.guix.gnu.org/50830>.
Reported by podiki on #guix.

Previously, glibc 2.33 would look for
/gnu/store/...-glibc-2.33/etc/localtime instead of /etc/localtime.

* gnu/packages/base.scm (glibc)[arguments]: Remove #:make-flags.
[phases]: In 'pre-configure', modify 'inet/Makefile' instead of
'sunrpc/Makefile' since this is where these bits are in 2.33.
(glibc-2.31)[arguments]: Add 'set-etc-rpc-installation-directory'
phase.
(glibc-2.30): Inherit from GLIBC-2.31.
* gnu/tests/base.scm (run-basic-test)["libc honors /etc/localtime"]: New
test.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:29 -05:00
Ludovic Courtès
24e5cf5184
gnu: glibc: Remove unneeded nscd patching.
This change had no effect already in glibc 2.29, which has proper
versioning.

* gnu/packages/base.scm (glibc)[arguments]: Remove obsolete
'nscd/nscd_stat.c' 'substitute*' statement.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:29 -05:00
Maxim Cournoyer
8b11b4a829
gnu: python-keras: Skip a flaky test.
* gnu/packages/machine-learning.scm (python-keras)
[phases]{check}: Also skip the test_stateful_metrics test.
2021-11-11 10:31:29 -05:00
Brice Waegeneire
7b38a96829
bluez: Update to 5.61.
* gnu/packages/linux.scm (bluez): Update to 5.61.
2021-11-11 10:31:29 -05:00
Maxim Cournoyer
a91c3d336c
gnu: libnice: Update to 0.1.18-0.47a9633 and disable test-bind test.
This resolves a build failure following the GStreamer update to 1.18.5.

* gnu/packages/networking.scm (libnice): Update to 0.1.18-0.47a9633.
[phases]{disable-failing-tests}: Comment out rather than delete
test-set-port-range; disable the bind test, which is flaky.
2021-11-11 10:31:29 -05:00
Maxim Cournoyer
81bda13ad2
gnu: dbus-c++: Fix build.
* gnu/packages/glib.scm (dbus-c++)[inputs]: Add libunwind.
2021-11-11 10:31:28 -05:00
Maxim Cournoyer
11e7a534f7
gnu: python-keras: Enable parallel tests.
* (python-keras)[phases]: Delete trailing #t.
{check}: Honor TESTS?.  Run the tests in parallel.  Disable PEP8 lint.
2021-11-11 10:31:28 -05:00
Maxim Cournoyer
92c3d1c3d0
gnu: tensorflow: Enable parallel build (at least partially).
There are still many parts of the build that happen sequentially, but at least
this hastens the long build somewhat.

* gnu/packages/machine-learning.scm (tensorflow)[phases]: Remove trailing #t.
{build-pip-package}: Honor the PARALLEL-BUILD? argument.
2021-11-11 10:31:28 -05:00
Maxim Cournoyer
a91eaf1bdc
gnu: gstreamer-docs: Update to 1.18.5.
* gnu/packages/gstreamer.scm (gstreamer-docs): Update to 1.18.5.  Delete
trailing #t.
2021-11-11 10:31:28 -05:00
Maxim Cournoyer
b7771cd6a3
gnu: python-gst: Update to 1.18.5.
* gnu/packages/gstreamer.scm (python-gst): Update to 1.18.5.
2021-11-11 10:31:28 -05:00
Maxim Cournoyer
9076b06846
gnu: gst-editing-services: Update to 1.18.5.
* gnu/packages/gstreamer.scm (gst-editing-services): Update to 1.18.5.
2021-11-11 10:31:27 -05:00
Maxim Cournoyer
0268db5671
gnu: gst-libav: Update to 1.18.5.
* gnu/packages/gstreamer.scm (gst-libav): Update to 1.18.5.
[source]: Remove patch, now integrated upstream.
* gnu/packages/patches/gst-libav-64channels-stack-corruption.patch: Delete file.
* gnu/local.mk: De-register it.
2021-11-11 10:31:27 -05:00
Maxim Cournoyer
5ce79ae740
gnu: gst-plugins-ugly: Update to 1.18.5.
* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.18.5.
[source]: Remove patches.
* gnu/packages/patches/gst-plugins-ugly-fix-out-of-bound-reads.patch: Delete file.
* gnu/local.mk: De-register it.
2021-11-11 10:31:27 -05:00
Maxim Cournoyer
1b858b122a
gnu: gst-plugins-bad: Update to 1.18.5.
* gnu/packages/gstreamer.scm (gst-plugins-bad): Update to 1.18.5.
[source]: Remove patches.
Delete trailing #t.
* gnu/packages/patches/gst-plugins-bad-fix-overflow.patch: Delete file.
* gnu/local.mk: De-register it.
2021-11-11 10:31:27 -05:00
Maxim Cournoyer
7ea92af545
gnu: gst-plugins-good: Update to 1.18.5.
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.18.5.
[source]: Remove the CVE patches, included in the release.
* gnu/packages/patches/gst-plugins-good-CVE-2021-3497.patch: Delete file.
* gnu/packages/patches/gst-plugins-good-CVE-2021-3498.patch: Likewise.
* gnu/local.mk: De-register them.
2021-11-11 10:31:27 -05:00
Maxim Cournoyer
a87cfa250d
gnu: gst-plugins-base: Update to 1.18.5.
* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.18.5.
[source]: Remove patches.
[inputs]: Move wayland...
[propagated-inputs]: here.
* gnu/packages/patches/gst-plugins-base-fix-id3v2-invalid-read.patch: Delete
file.
* gnu/local.mk: De-register it.
2021-11-11 10:31:26 -05:00
Maxim Cournoyer
553a8696cf
gnu: gstreamer: Update to 1.18.5.
* gnu/packages/gstreamer.scm (gstreamer): Update to 1.18.5.  Remove trailing
 #t.
(%common-gstreamer-phases): Remove trailing #t.
2021-11-11 10:31:26 -05:00
Maxim Cournoyer
d8a0fc90b5
Revert gstreamer update to 1.19.2.
This reverts commits from e49190cf2b to
b2fe4c44e3.

Reason: 1.19 is an unstable (development) release rather than a stable one.
2021-11-11 10:31:26 -05:00
Maxim Cournoyer
e151f94467
gnu: polkit: Update to 0.120 and ungraft.
* gnu/packages/polkit.scm (polkit): Update to 0.120.
[origin]: Update URL and remove libsystemd-login substitution.  Remove
replacement.
[inputs]: Update mozjs-60 to mozjs-78.
[native-inputs]: Add libxslt and docbook-xsl for manpage generation.
[phases]{fix-manpage-generation}: New phase.
(polkit/fixed): Delete package.
* gnu/packages/patches/polkit-CVE-2021-3560.patch: Delete file.
* gnu/local.mk: De-register it.

Co-authored-by: Morgan Smith <Morgan.J.Smith@outlook.com>
2021-11-11 10:31:26 -05:00
Maxim Cournoyer
50c00ab955
gnu: Add a missing copyright.
This adjustment is made considering the contributions to the (gnu packages
polkit) module in commits cb151c68bf and 222e3319bd.

Suggested-by: Morgan Smith <Morgan.J.Smith@outlook.com>
2021-11-11 10:31:26 -05:00
Maxim Cournoyer
74ca1190e9
gnu: mozjs-78: Update to 78.15.0.
* gnu/packages/gnuzilla.scm (mozjs-78): Update to 78.15.0.
2021-11-11 10:31:25 -05:00
Maxim Cournoyer
f0ce5a6051
gnu: abseil-cpp: Update to 20210324.2.
But keep the older variant for Tensorflow.

* gnu/packages/cpp.scm (abseil-cpp-20200923.3): Renamed older variant.
(abseil-cpp): New variable.
* gnu/packages/machine-learning.scm (tensorflow-lite)
[inputs]: Adjust to use the older abseil-cpp-20200923.3.
* gnu/packages/rpc.scm (grpc-1.16.1)[native-inputs]: Likewise.

Co-authored-by: Greg Hogan <code@greghogan.com>
2021-11-11 10:31:25 -05:00
Maxim Cournoyer
d102bd7316
gnu: abseil-cpp: Remove googletest patch.
* gnu/packages/patches/abseil-cpp-fix-gtest.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
* gnu/packages/cpp.scm (abseil-cpp)[source]: Remove patch.

Co-authored-by: Greg Hogan <code@greghogan.com>
2021-11-11 10:31:25 -05:00
Greg Hogan
169354db38
gnu: googletest: Update to 1.11.0.
* gnu/packages/check.scm (googletest): Update to 1.11.0.
2021-11-11 10:31:25 -05:00
Maxim Cournoyer
9c59623564
Revert commits made to resolve a gdk-pixbuf+svg propagation issue.
Fixes <https://issues.guix.gnu.org/50957>.

This reverts the following commits:

 - 42231bc (gnu: cheese: Propagate gdk-pixbuf+svg rather than gdk-pixbuf)
 - ad6a950 (gnu: mutter: Propagate gdk-pixbuf+svg rather than gdk-pixbuf)
 - 5e02d1a (gnu: cogl: Propagate gdk-pixbuf+svg rather than gdk-pixbuf)
 - 5c467b2 (gnu: libgweather: Propagate gdk-pixbuf+svg rather than gdk-pixbuf)
 - 26487f6 (gnu: librsvg-next: Do not propagate gdk-pixbuf)
 - d891922 (gnu: librsvg: Do not propagate gdk-pixbuf)
 - 22476d3 (gnu: libgsf: Do not propagate gdk-pixbuf)
 - 099ca0e (gnu: libnotify: Propagate gdk-pixbuf+svg rather than gdk-pixbuf)
 - fb6a1ff (gnu: appstream-glib: Propagate gdk-pixbuf+svg rather than gdk-pixbuf)
 - 4fb525d (gnu: weasyprint: Propagate gdk-pixbuf+svg rather than gdk-pixbuf)

These commits were made to resolve a gdk-pixbuf loaders clash that could occur
in a profile when both gdk-pixbuf and gdk-pixbuf+svg were propagated.
Unfortunately, librsvg really needs to propagate gdk-pixbuf itself, which
would introduce a cycle.  Packages such as 'efl' were broken as a result of
not propagating gdk-pixbuf.

A more definitive fix will be proposed for core-updates, which includes a
profile hook to generate the gdk-pixbuf loaders.cache file, as well as a build
phase and search path specification, that should resolve the issue for good.
2021-11-11 10:31:25 -05:00
Brice Waegeneire
c0443cffe8
gnu: pulseaudio: Update to 15.0.
The 'bluez5' configuration options is removed to ease transformation of the
package by users.  It is auto-enabled by Meson based on the inputs available,
so it's still enabled in this package.
* gnu/packages/pulseaudio.scm (pulseaudio): Update to 15.0.
[arguments]: Fix the 'oss-output' value and remove the 'bluez5' option.
[inputs]: Add 'elogind'.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2021-11-11 10:31:24 -05:00
Maxim Cournoyer
8ee17f03a5
gnu: lib2geom: Update to 1.1.
* gnu/packages/graphics.scm (lib2geom): Update to 1.1.
[source]: Remove patches, modules and snippet fields.
[phases]: Remove trailing #t.
* gnu/packages/patches/lib2geom-fix-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
2021-11-11 10:31:24 -05:00
Maxim Cournoyer
55ad2f80f2
gnu: e2fsprogs: Update to 1.46.4.
This resolves a test failure on armhf-linux (when building on a aarch64-linux
system).

* gnu/packages/linux.scm (e2fsprogs): Update to 1.46.4.  Remove trailing #t.
2021-11-11 10:31:24 -05:00
Maxim Cournoyer
62683f51c3
gnu: python-gst: Update to 1.19.2.
* gnu/packages/gstreamer.scm (python-gst): Update to 1.19.2.
[meson]: Use meson-0.55.
2021-11-11 10:31:24 -05:00
Maxim Cournoyer
7d92a4523a
gnu: gst-editing-services: Update to 1.19.2.
* gnu/packages/gstreamer.scm (gst-editing-services): Update to 1.19.2.
[meson]: Use meson-0.55.
2021-11-11 10:31:24 -05:00
Maxim Cournoyer
5be7ae7bf3
gnu: gst-libav: Update to 1.19.2.
* gnu/packages/gstreamer.scm (gst-libav): Update to 1.19.2.
[source]: Re-indent origin.  Delete patches field.
[meson]: Use meson-0.55.
* gnu/packages/patches/gst-libav-64channels-stack-corruption.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
2021-11-11 10:31:23 -05:00
Maxim Cournoyer
b59ad1e176
gnu: gst-plugins-ugly: Update to 1.19.2.
* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.19.2.  Delete
trailing #t.
[patches]: Delete field.
[meson]: Use meson-0.55.
* gnu/packages/patches/gst-plugins-ugly-fix-out-of-bound-reads.patch: Delete
file.
* gnu/local.mk (dist_patch_DATA): De-register it.
2021-11-11 10:31:23 -05:00
Maxim Cournoyer
543367ae89
gnu: gst-plugins-bad: Update to 1.19.2.
* gnu/packages/gstreamer.scm (gst-plugins-bad): Update to 1.19.2.
* gnu/packages/patches/gst-plugins-bad-fix-overflow.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
2021-11-11 10:31:23 -05:00
Maxim Cournoyer
95e99e3829
gnu: zxing-cpp: Update to 1.2.0.
* gnu/packages/aidc.scm (zxing-cpp): Update to 1.2.0.  Remove trailing #t.
[native-inputs]: Remove field.
[out-of-source?]: Remove argument.
[tests?]: Set to #f.
[configure-flags]: New argument.
[phases]: Remove argument.
2021-11-11 10:31:23 -05:00
Maxim Cournoyer
a9e83d7c7e
gnu: gst-plugins-good: Update to 1.19.2.
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.19.2.  Remove
trailing #t.
[patches]: Remove.
[meson]: Use meson-0.55.
* gnu/packages/patches/gst-plugins-good-CVE-2021-3497.patch: Delete file.
* gnu/packages/patches/gst-plugins-good-CVE-2021-3498.patch: Likewise.
* gnu/packages/patches/gst-plugins-good-fix-test.patch: Likewise.
* gnu/local.mk: De-register them.
2021-11-11 10:31:23 -05:00
Maxim Cournoyer
8f22b547ef
gnu: gst-plugins-base: Update to 1.19.2.
* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.19.2
[origin]: Delete patches field.  Remove trailing #t.
[meson]: Use meson-0.55.
* gnu/packages/patches/gst-plugins-base-fix-id3v2-invalid-read.patch: Delete.
* gnu/local.mk (dist_patch_DATA): De-register.
2021-11-11 10:31:22 -05:00
Maxim Cournoyer
9b6dfe664e
gnu: gstreamer: Update to 1.19.2.
* gnu/packages/gstreamer.scm (gstreamer): Update to 1.19.2.
[meson]: Use meson-0.55.
[phases]{disable-some-tests}: Delete phase.
2021-11-11 10:31:22 -05:00
Maxim Cournoyer
05f5244e9f
gnu: gstreamer-docs: Update to 1.19.2.
* gnu/packages/gstreamer.scm (gstreamer-docs): Update to 1.19.2.  Remove
trailing #t.
2021-11-11 10:31:22 -05:00
Maxim Cournoyer
08247055a6
gnu: python-sphinx: Update to 4.2.0.
* gnu/packages/sphinx.scm (python-sphinx): Update to 4.2.0.
2021-11-11 10:31:22 -05:00
Maxim Cournoyer
a768c3ecab
gnu: python-sphinxcontrib-serializinghtml: Update to 1.1.5.
* gnu/packages/sphinx.scm (python-sphinxcontrib-serializinghtml): Update to 1.1.5.
2021-11-11 10:31:22 -05:00