Commit graph

81402 commits

Author SHA1 Message Date
Ludovic Courtès
fb40ec8aab
gnu: findutils-boot0: Really disable 'test-fnmatch' on i686-linux.
Commit f08b070019 intended to skip
'test-fnmatch' on both x86_64-linux and i686-linux but it ended up
skipping it on x86_64-linux only.

* gnu/packages/commencement.scm (findutils-boot0)[arguments]: Use
'member' to test whether (%current-system) is "x86_64-linux" or
"i686-linux".
2021-07-02 11:47:17 +02:00
Ludovic Courtès
98c075c24e
packages: 'package-derivation' honors 'system' again.
Fixes a regression introduced in
7d873f194c.

Starting from 7d873f194c, running

  guix build -s aarch64-linux sed

on an x86_64-linux machine would return an x86_64-linux machine, whereby
only the top derivation of the graph would be aarch64-linux while all
its dependencies would be x86_64-linux.

* guix/packages.scm (expand-input): Add 'system' parameter and honor it.
(bag->derivation, bag->cross-derivation): Pass SYSTEM to 'expand-input'.
* tests/packages.scm ("package-derivation, different system"): New test.
2021-07-01 21:34:42 +02:00
Ludovic Courtès
6bd8501e68
gnu: gcc-toolchain: Remove duplicate gcc-toolchain@10.
This is a followup to 4796b5d6d1.

Fixes the "fold-available-packages with/without cache" test in
'tests/packages.scm'.

* gnu/packages/commencement.scm (gcc-toolchain-8): Explicitly refer to
GCC-8.
(gcc-toolchain-10): Turn into an alias for GCC-TOOLCHAIN.
2021-07-01 14:10:18 +02:00
Tobias Geerinckx-Rice
4c0cf61afd
gnu: cups-filters: Update to 1.28.9.
* gnu/packages/cups.scm (cups-filters): Update to 1.28.9.
2021-06-27 01:12:52 +02:00
Chris Marusich
45dd2b4505
gnu: Simplify the use of --with-long-double-128.
Fixes <https://bugs.gnu.org/48825>.

In short, this change adds the hard-coded "--with-long-double-128" configure
option in one place and removes it from two other places.  This changes and
simplifies the use of this option for various architectures that start with
the string "powerpc".

* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add a clause for
targets starting with "powerpc64le-" or "powerpc-" which adds the
"--with-long-double-128" option.  This causes any package using this procedure
to be built using this new option on these architectures.  In particular, this
affects the gcc package and the gcc-final package, in addition to all the
other versions of GCC defined in (gnu packages gcc).
* gnu/packages/commencement.scm (gcc-boot0)[#:configure-flags]: Remove the
code that adds the "--with-long-double-128" configure option for all
architectures starting with "powerpc", since it is now redundant on the
architectures where it is needed. The gcc-boot0 package uses (and adds to) the
gcc package's configure options. This means that the above change in gcc.scm
is sufficient to ensure that the gcc-boot0 package's configure options will
include "--with-long-double-128" on powerpc64le and powerpc architectures.
Additionally, since the option is apparently not required on the big-endian
powerpc64 architecture, this change also has the nice effect of omitting the
option in that case.
* gnu/packages/cross-base.scm (cross-gcc-arguments)[#:configure-flags]: Remove
the code that adds the "--with-long-double-128" configure option for
powerpc64le, since it is now redundant. The cross-gcc-arguments procedure uses
(and adds to) the configure options of its xgcc argument (a package).  This
means that regardless of which gcc from gcc.scm is used as the xgcc, the above
change in gcc.scm is sufficient to ensure that the cross-gcc-arguments
procedure's configure options will include "--with-long-double-128" on the
powerpc64le and powerpc architectures.
2021-06-24 20:45:48 -07:00
Chris Marusich
50fed5b522
gnu: valgrind: Update to 3.17.0.
* gnu/packages/valgrind.scm (valgrind): Update to 3.17.0.
2021-06-23 20:59:05 -07:00
Chris Marusich
e4b5a23841
tests: gremlin: Skip file-needed/recursive if DT_NEEDED is empty.
* tests/gremlin.scm (file-needed/recursive): Skip the test when (file-runpath
%guile-executable) evaluates to the empty list.  This causes the test to be
correctly skipped in the case where Guix has been built using a foreign
distro's toolchain and libraries.
2021-06-23 20:30:22 -07:00
Tobias Geerinckx-Rice
a3d9af5eb1
gnu: Remove dead cups-CVE-2020-10001.patch.
* gnu/packages/patches/cups-CVE-2020-10001.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2021-06-23 18:53:11 +02:00
Tobias Geerinckx-Rice
9dea3f101f
Merge branch 'master' into core-updates
Conflicts:
	gnu/packages/cups.scm
	gnu/packages/python-web.scm
	gnu/packages/web.scm
	guix/build/maven/pom.scm
2021-06-23 18:45:21 +02:00
Tobias Geerinckx-Rice
620669fd17
gnu: cups: Add replacement to fix CVE-2020-10001.
* gnu/packages/patches/cups-CVE-2020-10001.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/cups.scm (cups-minimal/fixed): New variable.
(cups-minimal)[replacement]: Assign it to new field.
2021-06-23 18:41:23 +02:00
Ludovic Courtès
3694c0d4fe
.guix-authorizations: Update bavier's key.
As requested at
<https://lists.gnu.org/archive/html/guix-devel/2021-06/msg00123.html>.

* .guix-authorizations: Update bavier's signing key fingerprint.
2021-06-23 15:43:00 +02:00
Xinglu Chen
91b29aa373
gnu: ocaml-dose3: Fix tests.
* gnu/packages/ocaml.scm (ocaml-dose3)[arguments]<#:phases>: Add phase to
patch tests script.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-23 14:41:49 +02:00
Guillaume Le Vaillant
976a49bacc
gnu: bitcoin-unlimited: Fix build.
* gnu/packages/finance.scm (bitcoin-unlimited)[arguments]: Disable a test.
2021-06-23 13:38:51 +02:00
Nicolas Goaziou
cde7068e8c
gnu: texmacs: Update to 2.1.
* gnu/packages/text-editors.scm (texmacs): Update to 2.1.
[arguments]: Remove #t at the end of phases.
2021-06-23 09:36:35 +02:00
Carlo Zancanaro
6b83da9616
gnu: Fix references to emacs-build-system's expand-load-path phase.
* gnu/packages/emacs-xyz.scm (emacs-pdf-tools)[#:phases]: Use
emacs-expand-load-path instead of emacs-add-source-to-load-path.
* gnu/packages/erlang.scm (emacs-erlang)[#:phases]: Use expand-load-path
instead of add-source-to-load-path.
* gnu/packages/protobuf.scm (emacs-protobuf-mode)[#:phases]: Use
expand-load-path instead of add-source-to-load-path.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
2021-06-23 09:08:41 +02:00
Vinicius Monego
5ab7fbad27
gnu: Add python-cartopy.
* gnu/packages/geo.scm (python-cartopy): New variable.
2021-06-23 06:45:21 +02:00
Vinicius Monego
4b39a6fa14
gnu: Add python-pykdtree.
* gnu/packages/python-xyz.scm (python-pykdtree): New variable.
2021-06-23 06:45:20 +02:00
Vinicius Monego
ac8fb4b9f4
gnu: Add python-pyshp.
* gnu/packages/geo.scm (python-pyshp): New variable.
2021-06-23 06:45:20 +02:00
Chris Marusich
7f0af119a1
tests: Remove stale reference to %derivation-cache.
* guix/tests.scm (call-with-external-store): Remove the stale reference to
%derivation-cache.  This was causing the tests to error out, since it was
removed from (guix packages) in 7d873f194c.
2021-06-22 18:32:20 -07:00
Tobias Geerinckx-Rice
828ceee7db
services: cups: Remove obsolete KeepAliveTimeout directive.
461bd4e501

* gnu/services/cups.scm (<cups-configuration>): Remove keep-alive-timeout field.
* doc/guix.texi (Printing Services): Likewise.
2021-06-23 03:26:33 +02:00
Tobias Geerinckx-Rice
ed44e62636
installer: Remove unused procedure.
NETWORKING-SYSTEM-SERVICE? was obsoleted in commit
2e55f37c0c.

* gnu/installer/services.scm (networking-system-service?): Remove it.
2021-06-23 03:01:49 +02:00
Tobias Geerinckx-Rice
e254287b0c
services: cups: Fix ‘files-config’ typo/left-over.
* gnu/services/cups.scm (<policy-configuration>): Substitute
<files-configuration> for <files-config> in documentation.
* doc/guix.texi (Printing Services): Likewise.
2021-06-23 03:01:48 +02:00
Tobias Geerinckx-Rice
c655bbb376
services: cups: Support CUPS 2.3.3op2's LogFileGroup directive.
* gnu/services/cups.scm (<files-configuration>): Add a log-file-group
field.
* doc/guix.texi (Printing Services): Document it.
2021-06-23 02:51:30 +02:00
Tobias Geerinckx-Rice
e02123bd94
gnu: cups: Update to 2.3.3op2 [fixes CVE-2020-10001].
* gnu/packages/cups.scm (cups): Update to 2.3.3op2.
[home-page]: Update as well.
2021-06-23 02:51:29 +02:00
Tobias Geerinckx-Rice
192d74719a
gnu: cups: Fetch source directly from the Git repository.
* gnu/packages/cups.scm (cups)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
2021-06-23 02:51:29 +02:00
Tobias Geerinckx-Rice
a437bd9180
gnu: cups-minimal: Remove the server settings from the /admin Web UI.
* gnu/packages/cups.scm (cups-minimal)[arguments]: Add a new
'remove-Web-UI-server-settings phase.
2021-06-23 02:51:29 +02:00
Tobias Geerinckx-Rice
3b5297d975
gnu: cups-minimal: Never cupsAdminGetServerSettings.
* gnu/packages/cups.scm (cups-minimal)[arguments]: Add a new
'never-cupsAdminGetServerSettings phase.
2021-06-23 02:51:29 +02:00
Tobias Geerinckx-Rice
8d9a2dee1f
gnu: cups: Inherit & modify cups-minimal arguments.
* gnu/packages/cups.scm (cups)[arguments]: Use
substitute-keyword-arguments on cups-minimal's arguments to do away
with the redundant 'patch-makedefs and 'make-manpages-writable phases.
2021-06-23 02:51:28 +02:00
Solene Rapenne via Guix-patches via
4605ea1a78
gnu: mednafen: Update to 1.27.1.
* gnu/packages/emulators.scm (mednafen): Update to 1.27.1.
[inputs]: Add flac.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-06-22 23:44:05 +02:00
Solene Rapenne via Guix-patches via
35ae64b3a3
gnu: odamex: Update to 0.9.3.
* gnu/packages/games.scm (odamex): Update to 0.9.3.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-06-22 23:14:34 +02:00
Solene Rapenne via Guix-patches via
4cb70e08b2
gnu: armagetronad: Update to 0.2.9.1.0.
* gnu/packages/games.scm (armagetronad): Update to 0.2.9.1.0.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-06-22 23:13:14 +02:00
Solene Rapenne via Guix-patches via
65c9251ef2
gnu: wesnoth: Update to 1.14.17.
* gnu/packages/games.scm (wesnoth): Update to 1.14.17.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2021-06-22 23:01:46 +02:00
Brice Waegeneire
83d29ccf64
gnu: tmux: Correct home-page.
* gnu/packages/tmux.scm (tmux)[home-page]: Replace it with its
redirection.
2021-06-22 20:22:30 +02:00
Matthew James Kraai
4a8ca205f7
gnu: tmux: Update to 3.2a.
* gnu/packages/tmux.scm (tmux): Update to 3.2a.

Signed-off-by: Brice Waegeneire <brice@waegenei.re>
2021-06-22 20:22:16 +02:00
Leo Prikler
6f58ca5fb3
gnu: Add emacs-packed.
* gnu/packages/emacs-xyz.scm (emacs-packed): New variable.
2021-06-22 18:34:39 +02:00
Leo Prikler
b994ff128b
gnu: Add apostrophe.
* gnu/packages/gnome.scm (apostrophe): New variable.
2021-06-22 18:34:38 +02:00
Leo Prikler
f356c71ade
gnu: Add audio-to-midi.
* gnu/packages/audio.scm (audio-to-midi): New variable.
2021-06-22 18:34:38 +02:00
Leo Prikler
9e2cdf724e
gnu: Add python-python3-midi.
* gnu/packages/audio.scm (python-python3-midi): New variable.
2021-06-22 18:34:38 +02:00
Leo Prikler
5893257626
gnu: Add python-soundfile.
* gnu/packages/audio.scm (python-soundfile): New variable.
2021-06-22 18:34:37 +02:00
Ludovic Courtès
6623d1cd7f
gnu: python-numpy, python-scipy: Remove dependency on lapack.
The dependency on lapack was unused; the LAPACK interface of OpenBLAS is
used instead.  The dependency on lapack was added in
cba256f8fa (numpy) and
719b01c157 (scipy).

* gnu/packages/python-science.scm (python-scipy)[inputs]: Remove
LAPACK.
* gnu/packages/python-xyz.scm (python-numpy)[inputs]: Likewise.
2021-06-22 17:55:05 +02:00
Ludovic Courtès
b9a95420ab
profiles: Build union of inputs in the right order.
Fixes <https://bugs.gnu.org/49102>.
Reported by Mathieu Othacehe <othacehe@gnu.org>
and Tobias Geerinckx-Rice <me@tobias.gr>.

Fixes a regression introduced in
8cef92d063, whereby in case of file
collisions, the "wrong" one would take precedence.

* guix/build/profiles.scm (manifest-sexp->inputs+search-paths): Perform
a breadth-first traversal.  Reverse INPUTS and SEARCH-PATHS in the base
case.
* tests/profiles.scm ("profile-derivation, ordering & collisions"):
New test.
2021-06-22 17:55:05 +02:00
Ludovic Courtès
c7a5c3e0bb
gnu: petsc: Link against OpenBLAS rather than LAPACK.
OpenBLAS performs better than LAPACK, the reference implementation.
This is also consistent with the choice of BLAS/LAPACK implementations
made in most other packages.

* gnu/packages/maths.scm (petsc)[inputs]: Replace LAPACK by OPENBLAS.
[arguments]: Pass "--with-openblas=1".
2021-06-22 17:55:05 +02:00
Nicolas Goaziou
7c5d50f431
gnu: python-pikepdf: Update to 2.13.0.
* gnu/packages/python-xyz.scm (python-pikepdf): Update to 2.13.0.
2021-06-22 17:42:15 +02:00
Marius Bakke
a5e6b705ac
gnu: python-pika: Update to 1.2.0.
* gnu/packages/python-xyz.scm (python-pika): Update to 1.2.0.
[source]: Change to GIT-FETCH.
[arguments]: New field.  Override and disable tests.
[native-inputs]:  Remove PYTHON-PYEV.  Add PYTHON-MOCK, PYTHON-NOSE, and
PYTHON-GEVENT.
(python2-pika): Remove variable.
2021-06-22 17:21:34 +02:00
Vinicius Monego
33fa648f75
gnu: libngspice: Delete autogenerated config.h.
* gnu/packages/engineering.scm (libngspice)[arguments]<#:phases>: Rename phase
  'delete-script-files to 'delete-scripts-and-config and delete config.h.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-06-22 16:43:49 +02:00
Vinicius Monego
e22a711c97
gnu: libngspice: Fix KiCad compilation.
* gnu/packages/engineering.scm (libngspice)[arguments]<#:configure-flags>:
  Pass "--with-readline=no".
  [inputs]: Remove readline.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2021-06-22 16:42:55 +02:00
Julien Lepiller
347846ea86
gnu: java-kafka-clients: Disable failing test.
* gnu/packages/java.scm (java-kafka-clients): Disable a test that fails
non-deterministically.
2021-06-22 14:27:20 +02:00
Julien Lepiller
1b1eeb3b12
gnu: java-jmh: Switch to maven-build-system.
* gnu/packages/java.scm (java-jmh): Switch to maven-build-system.
2021-06-22 13:11:02 +02:00
Julien Lepiller
901d48cc17
gnu: java-jmh: Update to 1.32.
* gnu/packages/java.scm (java-jmh): Update to 1.32.
[source]: Switch to the git repository.
2021-06-22 13:10:59 +02:00
Julien Lepiller
98d2ba1a5a
gnu: maven-enforcer-parent-pom: Fix pom.
* gnu/packages/maven.scm (maven-enforcer-parent-pom): Fix dependency
versions in pom file.
2021-06-22 13:10:45 +02:00