services: Add ‘virtual-build-machine’ service.
* gnu/services/virtualization.scm (<virtual-build-machine>): New record type.
(%build-vm-ssh-port, %build-vm-secrets-port, %x86-64-intel-cpu-models):
New variables.
(qemu-cpu-model-for-date, virtual-build-machine-ssh-port)
(virtual-build-machine-secrets-port): New procedures.
(%minimal-vm-syslog-config, %virtual-build-machine-operating-system):
New variables.
(virtual-build-machine-default-image):
(virtual-build-machine-account-name)
(virtual-build-machine-accounts)
(build-vm-shepherd-services)
(initialize-build-vm-substitutes)
(build-vm-activation)
(virtual-build-machine-offloading-ssh-key)
(virtual-build-machine-activation)
(virtual-build-machine-secret-root)
(check-vm-availability)
(build-vm-guix-extension): New procedures.
(initialize-hurd-vm-substitutes): Remove.
(hurd-vm-activation): Rewrite in terms of ‘build-vm-activation’.
* gnu/system/vm.scm (linux-image-startup-command): New procedure.
(operating-system-for-image): Export.
* gnu/tests/virtualization.scm (run-command-over-ssh): New procedure,
extracted from…
(run-childhurd-test): … here.
[test]: Adjust accordingly.
(%build-vm-os): New variable.
(run-build-vm-test): New procedure.
(%test-build-vm): New variable.
* doc/guix.texi (Virtualization Services)[Virtual Build Machines]: New
section.
(Build Environment Setup): Add cross-reference.
Change-Id: I0a47652a583062314020325aedb654f11cb2499c
marionette: Add #:peek? to ‘wait-for-tcp-port?’.
* gnu/build/marionette.scm (wait-for-tcp-port): Add #:peek? parameter
and honor it.
Change-Id: Ie7515a5223299390ab8af6fe5aa3cf63ba5c8078
vm: Add ‘cpu-count’ field to <virtual-machine>.
* gnu/system/vm.scm (<virtual-machine>)[cpu-count]: New field.
(virtual-machine-compiler): Honor it.
Change-Id: I907a89365f32ac7a9981c4ae5f59cf6eb199c3cc
vm: Export <virtual-machine> accessors.
* gnu/system/vm.scm: Export.
Change-Id: If65d96f4052d070af5baee26f3dd9b233b8480f4
vm: Add ‘date’ field to <virtual-machine>.
* gnu/system/vm.scm (<virtual-machine>)[date]: New field.
(virtual-machine-compiler): Honor it.
Change-Id: Idab1c152466d57cbc6784c031a99fdfd37080bcb
services: secret-service: Make the endpoint configurable.
Until now, the secret service had a hard-coded TCP endpoint on port
1004. This change lets users specify arbitrary socket addresses.
* gnu/build/secret-service.scm (socket-address->string): New procedure,
taken from Shepherd.
(secret-service-send-secrets): Replace ‘port’ by ‘address’ and adjust
accordingly.
(secret-service-receive-secrets): Likewise.
* gnu/services/virtualization.scm (secret-service-shepherd-services):
Likewise.
(secret-service-operating-system): Add optional ‘address’ parameter and
honor it. Adjust ‘start’ method accordingly.
Change-Id: I87a9514f1c170dca756ce76083d7182c6ebf6578
gnu: openmolar-1: Update to release 1.1.6-g81838c8 and partial runtime fix.
Fixes <https://issues.guix.gnu.org/29365>.
WebKit was removed from Qt5 in favor of WebEngine; upstream addressed
this in their last stable release, in 2018. The package still fails at
runtime: this commit lays the ground for further fixes.
* gnu/packages/medical.scm (openmolar-1): Update to release 1.1.6-g81838c8.
[arguments]: Extend 'patch-/usr phase to source file localsettings.py.
[inputs]: Add python-pyqtwebengine.
[propagated-inputs]: Add qtwebengine-5.
Change-Id: Ia4e4c052397201c26834dec2358ca5c20beb581d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add python-scikit-opt.
* gnu/packages/python-science.scm (python-scikit-opt): New variable.
Change-Id: I47d6b35d9658a37a242b4db61d293fa7efd33802
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: gnupg: Fix cross-compilation.
* gnu/packages/gnupg.scm (gnupg)[arguments]: Pass libraries prefixes when
cross-crompiling.
Change-Id: I461ba02ddf5bb23277bd6685c2106e4ad37e2184
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
gnu: vim: Update to 9.1.0059.
* gnu/packages/vim.scm (vim): Update to 9.1.0059.
Change-Id: Idf89d04a6c4e2297bcaad7a8b275de4a124001a9
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu: fcft: Enable shaping support.
While utf8proc is an optional dependency, it is required for shaping
support. Without utf8proc, fcft_rasterize_text_run_utf32() is a no-op.
This is a popular function used—among other things—by yambar, foot,
fuzzel and fnott. Therefore, many other Linux distributions (Arch,
Debian, Fedora, …) enable this feature and I think it would be nice
to have in Guix as well.
* gnu/packages/fontutils.scm (fcft): Depend on utf8proc.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I7489dbc7a42ffcca509d090df7d2a6250bf996ff
gnu: lldb: Update to 17.0.6.
* gnu/packages/llvm.scm (lldb): Update to 17.0.6.
[inputs]: Change from LLVM-15 and CLANG-15 to LLVM-17 and CLANG-17.
Change-Id: Iad04ee722c81ecb223ea4d57d25ea57ca7df59a0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: odamex: Remove package labels.
* gnu/packages/games.scm (odamex) [inputs]: Remove labels.
Change-Id: Ie4b97a3dfaa3a0ce3a0e7c5c49ed52fe4e222480
gnu: odamex: Unbundle some libraries.
* gnu/packages/games.scm (odamex) [snippet]: Remove some bundled
libraries which may be replaced by inputs.
[arguments] <#:configure-flags>: Add options to build client, master and
server. Do not use internal libs explicitly.
[native-inputs]: Add pkg-config.
Change-Id: I1974febb2f5f37d963ecb5b663d17a330ba23129
gnu: odamex: Update to 10.4.0.
* gnu/packages/games.scm (odamex): Update to 10.4.0.
[inputs]: Add fltk, jsoncpp, libpng, miniupnpc, portmidi and protobuf.
Change-Id: I371d18498640e15a7bfae527fea12d9432368f50
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: sameboy: Update to 0.16.2.
* gnu/packages/emulators.scm (sameboy): Update to 0.16.2.
Change-Id: I86a31cfca9e69d63d3cb6a13d5db88a6b1abe2a8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: ocrad: Update to 0.29
* gnu/packages/ocr.scm (ocrad): Update to 0.29
Change-Id: I9069a4b20016ed38961cd2606a841933b3151e1a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: sssd: Update to 2.9.4.
* gnu/packages/sssd.scm (sssd): Update to 2.9.4.
Change-Id: Ib5a4e03c4c732d362f8095aeb72509cfd6e7c4a1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: r-desctools: Update to 0.99.54.
* gnu/packages/statistics.scm (r-desctools): Update to 0.99.54.
Change-Id: Ic2f1a625021f11f83bacae0454c50e52551e01cf