Commit graph

89682 commits

Author SHA1 Message Date
Ricardo Wurmus abbe291fc2
gnu: ecj-javac-wrapper: Remove rt.jar from classpath.
* gnu/packages/java.scm (ecj-javac-wrapper)[arguments]: Do not add jamvm's
rt.jar to the classpath.
2021-12-23 20:27:45 +01:00
Ricardo Wurmus 3287c7c781
gnu: ecj-bootstrap: Remove trailing #T.
* gnu/packages/java.scm (ecj-bootstrap)[arguments]: Remove trailing #T from
build phase.
2021-12-23 20:27:45 +01:00
Ricardo Wurmus f668edc468
gnu: jamvm: Simplify snippet.
* gnu/packages/java.scm (jamvm)[source]: Simplify snippet.
2021-12-23 20:27:41 +01:00
Foo Chuan Wei a29360ade9
gnu: Add quantlib.
* gnu/packages/finance.scm (quantlib): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 19:09:31 +01:00
Mathieu Othacehe aa3cb57aab
gnu: libite: Edit synopsis and description.
* gnu/packages/linux.scm (libite)[synopsis]: Improve it.
[description]: Ditto.
2021-12-23 19:09:31 +01:00
Mathieu Othacehe 6f01565ef0
gnu: watchdogd: Add a missing dot.
* gnu/packages/linux.scm (watchdogd)[description]: Add a missing dot.
2021-12-23 19:09:30 +01:00
Leo Famulari fe5ade556b
gnu: linux-libre 4.4: Update to 4.4.296.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.296.
(linux-libre-4.4-pristine-source): Update hash.
2021-12-23 12:35:11 -05:00
Leo Famulari da9e21848b
gnu: linux-libre 4.9: Update to 4.9.294.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.294.
(linux-libre-4.9-pristine-source): Update hash.
2021-12-23 12:35:11 -05:00
Leo Famulari ccdf221b20
gnu: linux-libre 4.14: Update to 4.14.259.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.259.
(linux-libre-4.14-pristine-source): Update hash.
2021-12-23 12:35:10 -05:00
Leo Famulari 57cd616122
gnu: linux-libre 4.19: Update to 4.19.222.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.222.
(linux-libre-4.19-pristine-source): Update hash.
2021-12-23 12:35:10 -05:00
Leo Famulari c9ea9506bb
gnu: linux-libre 5.4: Update to 5.4.168.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.168.
(linux-libre-5.4-pristine-source): Update hash.
2021-12-23 12:35:10 -05:00
Leo Famulari d6d81aba54
gnu: linux-libre 5.10: Update to 5.10.88.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.88.
(linux-libre-5.10-pristine-source): Update hash.
2021-12-23 12:35:10 -05:00
Leo Famulari f38393f335
gnu: linux-libre: Update to 5.15.11.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.11.
(linux-libre-5.15-pristine-source): Update hash.
2021-12-23 12:35:10 -05:00
Petr Hodina 18576c4db4
gnu: Add watchdogd.
* gnu/packages/linux.scm (watchdogd): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 18:13:00 +01:00
Petr Hodina 00cf011a83
gnu: Add libuev.
* gnu/packages/linux.scm (libuev): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 18:13:00 +01:00
Petr Hodina 4ea4db5f8a
gnu: Add libite.
* gnu/packages/linux.scm (libite): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 18:13:00 +01:00
Leo Famulari 18248844ea
gnu: Remove unused module import from (gnu packages linux).
This caused an ambiguous import warning:

------
WARNING: (gnu packages linux): `build' imported from both (gnu packages build-tools) and (guix store)
------

This is a followup to commit 6961c8368c.

* gnu/packages/linux.scm: Do not import (gnu packages build-tools).
2021-12-23 12:06:12 -05:00
Vinicius Monego 01477bce71
gnu: Add qelectrotech.
* gnu/packages/engineering.scm (qelectrotech): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 17:52:17 +01:00
Attila Lendvai 037c2b6d3a
tests: gnupg: Factor out and export KEY-FINGERPRINT-VECTOR.
* guix/tests/gnupg.scm (key-fingerprint-vector): New procedure.  Export it.
(key-fingerprint): Use it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 17:31:51 +01:00
Attila Lendvai 07145c8a8c
tests: Smarten up git repository testing framework.
* guix/tests/git.scm (with-git-repository): New macro, exported.  It can be used
repeatedly inside a WITH-TEMPORARY-GIT-REPOSITORY.
(populate-git-repository): Extend the DSL with (ADD "some-noise"), (RESET
"[commit hash]"), (CHECKOUT "branch" ORPHAN).

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-23 17:31:44 +01:00
Mathieu Othacehe c0a693dfec
gnu: guix: Update to 1.3.0-17.2a49ddb.
Also add a note about updating the guix package when it fails to build.

* gnu/packages/package-management.scm (guix): Update to 1.3.0-17.2a49ddb.
2021-12-23 16:59:24 +01:00
Mathieu Othacehe 2a49ddb513
tests: rsync: Fix it.
* gnu/tests/rsync.scm ("Test file not copied to read-only share"): This
returns the error code 1 and not 10.
2021-12-23 16:05:13 +01:00
Timothy Sample 05b1f024be
self: Add guile-lzma as a dependency.
This is a follow-up to 35ce3e5de6, fixing
Disarchive recovery when the download script is run from a 'guix pull'
profile.

* guix/self.scm (specification->package): Add "guile-lzma".
(compiled-guix): Add GUILE-LZMA to DEPENDENCIES in
the #:dependencies argument to 'guix-command'.
2021-12-23 08:59:44 -05:00
Sharlatan Hellseher 7f6260d9fe
gnu: cl-ana: Update to 0.0.0-2.848185e.
* gnu/packages/lisp-xyz.scm (sbcl-cl-ana): Update to 0.0.0-2.848185e.
  [inputs]: Use new style.
  [native-inputs]: Add openmpi and pkg-config.
  [propagated-inputs]: Add gnuplot.
  [arguments]: Update 'fix-paths' phase.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2021-12-23 14:41:42 +01:00
Mathieu Othacehe 7682145b9b
tests: reconfigure: Fix it.
* gnu/tests/reconfigure.scm (run-install-bootloader-test): Use a non volatile
VM so that a bootloader configuration file is installed.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe c717f27c5f
scripts: system: Add a missing module.
* guix/scripts/system.scm: Add a missing module.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe dbd3454c3b
tests: nfs: Fix nfs-root-fs test.
This test has probably never been working. Rename it nfs-full, and test that
an NFS server can be started in a VM and mounted in another VM.

* gnu/tests/nfs.scm (run-nfs-root-fs-test): Rename it ...
(run-nfs-full-test): ... this way.
(%test-nfs-root-fs): Rename it ...
(%test-nfs-full): ... this way.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe 207ee9d9cd
services: nfs: Fix statd and mountd ports.
* gnu/services/nfs.scm (nfs-shepherd-services): Fix rpcstatd-port and
rpcmountd-port arguments.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe 102c360624
tests: docker: Fix it.
The docker tests are broken because the docker overlay doesn't support running
on our own storage overlay. Use the new <virtual-machine> volatile? field to
spawn a VM with a persistent storage and no overlay.

* gnu/tests/docker.scm (run-docker-test): Add the docker-tarball to the gc
roots as the host store is not shared anymore. Spawn a VM without volatile
storage.
(run-docker-system-test): Ditto.
(%test-docker-system): Adapt it to use the image API.
2021-12-23 10:54:01 +01:00
Mathieu Othacehe bce55cec88
scripts: system: Use the disk-image size argument for VM generation.
* guix/scripts/system.scm (system-derivation-for-action): Use the given
image-size unconditionnaly when calling system-qemu-image/shared-store-script.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe c37cd41764
scripts: system: Pass the volatile field to VM generation.
* guix/scripts/system.scm (system-derivation-for-action): Add new volatile?
argument and pass it to system-qemu-image/shared-store-script.
(perform-action): Add new volatile? argument and pass it to
system-derivation-for-action.
(process-action): Pass the volatile? argument to perform-action.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe 3ed8ddd606
scripts: system: Deprecate the docker-image command.
* guix/scripts/system.scm (system-derivation-for-action): Use the image API to
generate the docker images and deprecate the docker-image command.
(process-action): Ditto.
* doc/guix.texi (Invoking guix system): Adapt it.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe 05a9d1f378
Remove VM generation dead-code.
This code duplicates the (gnu system image) and (gnu build image) code. Using
VM for image generation is not needed, not portable and really slow. Remove
all the VM image generation code to make sure that only the image API is used.

* gnu/build/vm.scm: Remove it. Move the qemu-command procedure to ...
* gnu/build/marionette.scm: ... here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adapt it.
* tests/modules.scm: Ditto.
* gnu/tests/install.scm: Ditto.
* gnu/system/vm.scm: Adapt it and remove expression->derivation-in-linux-vm,
qemu-img, system-qemu-image/shared-store and system-docker-image procedures.
* doc/guix.texi (G-Expressions): Adapt it.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe da92479674
system: vm: Use the image API to generate QEMU images.
Also add a volatile? argument to the virtual-machine record. When volatile? is
true generate a QEMU script that mounts an overlay on top of a read only
storage. When volatile? is false, use a persistent, read-write storage.

* gnu/system/vm.scm (common-qemu-options): Add a rw-image? argument to use a
persistent storage.
(system-qemu-image/shared-store-script): Add a volatile? argument and honor
it. Use the image API to build the QEMU image.
(<virtual-machine>)[volatile?]: New field.
(virtual-machine-compiler): Pass the volatile? argument to the
system-qemu-image/shared-store-script procedure.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe 59912117d4
system: image: Add docker support.
* gnu/system/image.scm (docker-image, docker-image-type): New variables.
(system-docker-image): New procedure.
(image->root-file-system): Add docker image support.
(system-image): Ditto.
2021-12-23 10:54:00 +01:00
Mathieu Othacehe dcc843a716
image: Add a shared-network? field.
* gnu/image.scm (<image>)[shared-network?]: New field.
2021-12-23 10:53:59 +01:00
Mathieu Othacehe 594e9428c5
image: Add a shared-store? field.
* gnu/image.scm (<image>)[shared-store?]: New field.
2021-12-23 10:53:59 +01:00
Mathieu Othacehe cc4e8a84f4
build: image: Add optional closure copy support.
* gnu/build/image.scm (initialize-root-partition): Add a closure-copy?
argument and honor it.
2021-12-23 10:53:59 +01:00
Vinicius Monego 258150fd6e
gnu: pre-commit: Update to 2.16.0.
* gnu/packages/version-control.scm (pre-commit): Update to 2.16.0.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-22 23:52:58 -05:00
Vinicius Monego f700471b1c
gnu: gsequencer: Update to 3.14.5.
* gnu/packages/music.scm (gsequencer): Update to 3.14.5.
[source]<origin>: Update url.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-22 23:52:57 -05:00
Vinicius Monego 5228707781
gnu: gsequencer: Build with libsoup 2.
* gnu/packages/music.scm (gsequencer)[native-inputs]: Use the new style.
[inputs]: Replace libsoup with libsoup-minimal-2 and webkitgtk with
webkitgtk-with-libsoup2. Use the new style.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-22 23:52:57 -05:00
Vinicius Monego bcbe090fbb
gnu: gnome-commander: Update to 1.12.3.1.
* gnu/packages/gnome.scm (gnome-commander): Update to 1.12.3.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-22 23:52:57 -05:00
Vinicius Monego 69fbc885ce
gnu: openexr: Update to 3.1.3.
* gnu/packages/graphics.scm (openexr): Update to 3.1.3.

Signed-off-by: Leo Famulari <leo@famulari.name>
2021-12-22 23:52:54 -05:00
Marius Bakke f37c999e0a
gnu: libksba: Fix cross-compilation.
* gnu/packages/gnupg.scm (libksba)[native-inputs]: Remove.
2021-12-23 03:07:34 +01:00
Marius Bakke 0ef4da9f09
gnu: qemu-minimal: Actually remove unnecessary native-inputs.
This is a follow-up to commit d64bd1254a.

* gnu/packages/virtualization.scm (qemu-minimal)[native-inputs]: Filter static
outputs and remove "gettext-minimal" instead of "gettext".
2021-12-23 03:07:34 +01:00
Marius Bakke 57f011818e
gnu: seabios: Build vgabios targets.
* gnu/packages/firmware.scm (seabios)[arguments]: Add new phase to build
various vgabiosen.  While at it, create a "bios-256k.bin" as expected by
QEMU.
2021-12-23 03:07:34 +01:00
Marius Bakke b7719d81cf
gnu: seabios: Encode version information in the binary.
...to make the build deterministic.

* gnu/packages/firmware.scm (seabios)[arguments]:  Create a ".version" file as
expected by the build system.  While at it, set EXTRAVERSION as recommended by
upstream.
2021-12-23 03:07:34 +01:00
Marius Bakke e839bbc880
gnu: seabios: Update to 1.15.0.
* gnu/packages/firmware.scm (seabios): Update to 1.15.0.
[arguments]: Remove trailing #t's.
[native-inputs]: Remove label.
2021-12-23 03:07:34 +01:00
Marius Bakke 91918e9405
gnu: gcl: Avoid referencing GCC from the top-level.
* gnu/packages/lisp.scm (gcl)[arguments]: Use SEARCH-INPUT-FILE instead of
referencing the GCC variable.
2021-12-23 03:07:34 +01:00
Marius Bakke c0c9912b44
gnu: rsync: Remove 3.1.3.
* gnu/packages/rsync.scm (rsync-next): Remove variable.
(rsync): Update to 3.2.3.  While at it, remove input labels.
2021-12-23 03:07:34 +01:00