This is to allow version-specific options to the list of defaults.
* gnu/packages/linux.scm (%default-extra-linux-options): Transform to...
(default-extra-linux-options): ... this procedure, which accepts a 'version'
argument.
(make-linux-libre, linux-libre-arm-generic, linux-libre-arm-generic-5.10)
(linux-libre-arm-generic-5.4, linux-libre-arm64-generic)
(linux-libre-arm64-generic-5.10, linux-libre-arm64-generic-5.4)
(linux-libre-riscv64-generic, linux-libre-mips64el-fuloong2e)
(linux-libre-with-bpf): Adjust accordingly.
* doc/guix-cookbook.texi (Customizing the Kernel): Adjust accordingly.
Change-Id: Ifd3be8b7ed8699bada224a938dbc84205366ff3d
This reduces the total build time by about 20%.
* gnu/packages/linux.scm (make-linux-libre*) [phases] {install}: Ensure that
-jN is used for the install targets. Also honor make flags.
Change-Id: Ib3f4fdcbdeab736315a91eafa8d6d1dff5b89884
This causes the test suite to run in about in nearly a third of the original
time (from 145 min to 52 minutes on a particular machine).
* gnu/packages/nss.scm (nss/fixed) [phases] {check}: Set NSS_CYCLES
environment variable to 'standard'.
Change-Id: I5dab1ed16b302af2276b0f075a790f6193edbe95
* gnu/packages/patches/jami-enable-testing.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/jami.scm (jami) [source]: Apply it.
[phases] <check>: Use 'ctest' to run tests. Update comment explaining why the
QML test suite is disabled.
Change-Id: I5c9333a3b5064ecec9a2dd4fe13ae597d5354b7c
* gnu/packages/networking.scm (dhtnet): Update to 0.0.1-3.7733109.
[arguments] <delete-problematic-tests>: Update comment for disabling
connectionManager. Also disable the new turnCache and peerDiscovery tests.
Change-Id: I68ca66283e9b7b79411b1735f7bbec68eb41f77e
* gnu/packages/patches/grub-ignore-metadata-csum-seed.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/bootloaders.scm (grub): Use it.
Change-Id: I3bfed24b38ecf31b85ed4ac654399fca2d2e12f6
* gnu/tests/install.scm (qemu-command*): Adjust qemu command when run on
armhf-linux or aarch64-linux to include a machine type.
(run-install): Same.
Change-Id: I32f85183cd8ec39c6a2e66624954743fd5983582
1.47.0 would, by default, create an ext4 filesystem which was not
readable by our current version of grub. This should also address a
number of the system test failures.
* gnu/packages/linux.scm (e2fsprogs): Downgrade to 1.46.6.
Change-Id: Ifa6841185ab85d24479f981afc1b42a349716d80
* gnu/packages/gnome.scm (system-config-printer)[arguments]: When config
is an input add a phase to replace config.guess and config.sub.
[native-inputs]: Add config when building for riscv64-linux.
Change-Id: Iad0d2cbadd9c9f90b88e97e7690ad3b0ad0e6882
* gnu/packages/gnome.scm (gnome-keyring)[arguments]: When building for
riscv64-linux don't run the tests in parallel.
Change-Id: Ib86965c52d42e3fcaa35efc97890d0da4478e46f
Big thanks to Dariqq <dariqq@posteo.net> for debugging and communicating
upstream about a problem with the deblobbing scripts in this kernel
series!
* gnu/packages/linux.scm (linux-libre-6.9-version, linux-libre-6.9-gnu-revision,
deblob-scripts-6.9, linux-libre-6.9-pristine-source, linux-libre-6.9-source,
linux-libre-headers-6.9, linux-libre-6.9): New variables.
* gnu/packages/aux-files/linux-libre/6.9-arm.conf,
gnu/packages/aux-files/linux-libre/6.9-arm64.conf,
gnu/packages/aux-files/linux-libre/6.9-i686.conf,
gnu/packages/aux-files/linux-libre/6.9-x86.conf: New files.
* Makefile.am (AUX_FILES): Add them.
Signed-off-by: Leo Famulari <leo@famulari.name>
Change-Id: I8dc011a603684f0be88766b7881aa6c560b94443
* gnu/packages/admin.scm (fasd): Update to 1.0.2.
[source]: Use project fork that integrates recent pull requests as the
original project is unmaintained and archived.
[home-page]: Update.
[description]: Improve formatting.
[license]: Change to expat (MIT) license as "LICENSE" file of the project
contains MIT license.
Change-Id: I0070c394a9a8b80ac137728831c0eb7a0e15e2b4
Signed-off-by: Christopher Baines <mail@cbaines.net>
The sbcl-* packages are sorted in alphabetical order, but the cl-* and ecl-*
variants are kept just below the main sbcl package.
* gnu/packages/lisp-xyz.scm: Sort packages.
Change-Id: I95d7151923284bd3d8da57af8ad3a160370941f0
Fixes <https://issues.guix.gnu.org/71144>.
Fixes a bug whereby, when loading a service file would fail, for
instance due to an unbound variable, a REPL would be opened on the
console, preventing the system from booting.
This fixes that by isolating service load errors and making them
non-fatal.
* gnu/services/shepherd.scm (shepherd-configuration-file)[config]:
Remove call to ‘call-with-error-handling’. Use ‘filter-map’ instead of
‘map’ to iterate over service files, and catch exceptions raised by
‘load-compiled’.
Change-Id: Ie6e76ea514837f85386232f797bc77b2882b5c22
This commit allows for loading an OCI image tarball before running an
OCI backed Shepherd service. It does so by adding a one shot Shepherd
service to the dependencies of the OCI backed service that at boot runs
docker load on the tarball.
* gnu/services/docker.scm (oci-image): New record;
(lower-oci-image): new variable, lower it;
(string-or-oci-image?): sanitize it;
(oci-container-configuration)[image]: allow also for oci-image records;
(oci-container-shepherd-service): use it;
(%oci-image-loader): new variable.
Change-Id: Ie504f479ea0d47f74b0ec5df9085673ffd3f639d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/services/docker.scm (exports): Add missing procedures;
(oci-container-service-type)[description]: Docker and OCI images should
mean the same thing;
(oci-container-configuration): clarify field types;
[extra-arguments]: new field;
(oci-sanitize-extra-arguments): sanitize it;
(oci-container-shepherd-service): use it.
* doc/guix.texi: Document it.
Change-Id: I64e9d82c8ae538d59d1c482f23070a880156ddf7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This is a follow-up to 9901416233.
* gnu/packages/gnome.scm (gssdp-1.4)[arguments]: Override inherited
arguments to set the configure-flags specifically.
Change-Id: Ifbdaf278a402a26b344b6dcd7a5e3d4e22148561
* gnu/packages/accessibility.scm (libbraille)[arguments]: When building
with config as a native-input replace the config.guess and config.sub
files.
[native-inputs]: When building for aarch64-linux, powerpc64le-linux or
riscv64-linux add config.
Change-Id: I7e7953a2b91868fa3f2698d3cb82da134564c06b
* gnu/packages/gnome.scm (gtk-vnc)[native-inputs] Use gjs as an input on
architectures where it is supported.
Change-Id: I723f53be8e225732572ede81a03d712a946be528
* gnu/packages/gnome.scm (glade3)[inputs]: Use gjs as an input on
architectures where it is supported.
Change-Id: I6d6596045b7a3f0dc22207350b353fcd82961958
* gnu/packages/accessibility.scm (brltty)[native-inputs]: Only build
with icedtea on x86_64-linux, i686-linux and aarch64-linux.
Change-Id: I95e2cfa17c1f484677ad8f26e3a865eba83362dd
eog was removed because it required librsvg built with rust, but
gnome-shell also requires the same librsvg already, so there was no
reason to limit the architectures eog was installed on.
* gnu/packages/gnome.scm (gnome-meta-core-utilities)[propagated-inputs]:
Add eog unconditionally.
Change-Id: I333d1a712b1d04409f3deccc90aa5adb2a4fac1b
* gnu/packages/gnome.scm (gssdp)[arguments]: Adjust configure-flags to
only build the manpages when pandoc is an input.
[native-inputs]: Only add pandoc when on architectures where it is
supported.
Change-Id: I6e69833295fc19b311cdaf977b3b5cc7abc01589
* gnu/packages/ipfs.scm (kubo)
[inputs]: Remove go-golang-org-x-text. Add annotation for indirect
inputs where they are needed for.
Change-Id: I90eb26ab5d386a70f3581030ef4b3f9b35e05e88
* gnu/packages/cpp.scm (abseil-cpp)[arguments]: When building for
riscv64-linux adjust the configure-flags to link with latomic.
Change-Id: I12099d1a99b54f20f7ddbba2fbd495379a05476b
* gnu/packages/golang.scm (go-github-com-syndtr-goleveldb-leveldb): Move
from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: Ib457abe33612b371c33985c6b3b0e9372221e37d
* gnu/packages/golang.scm (go-github-com-go-task-slim-sprig): Move from
here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I540e4211e7e4006d654c7da40bba35e2bd577c78
* gnu/packages/python-science.scm (python-pandera): Update to 0.18.0.
[arguments] <#:test-flags>: Disable one more failing test.
Change-Id: I4d3f59dae8d90ea0afbe9cc932fc6163def282c9
* gnu/packages/databases.scm (python-pymysql): Update to 1.1.1.
[source]: Refresh archive name as seen on
<https://pypi.org/project/PyMySQL/#files>.
[build-system]: Swap to pyproject-build-system.
Change-Id: I20d06f6d1d252f501df001120ee44520e6e5d785
* gnu/packages/emacs-xyz.scm (emacs-denote): Update source location and bump
version to 2.3.0.
Change-Id: I573db7f285832bf27659b33274e1d592d1c5aa45
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu/packages/admin.scm (shepherd-0.10)[native-inputs]: When target-riscv64?
is true, use guile-fibers-1.1.
Change-Id: I89d2e1a7bd6cbc69d19230d9b1c45ce6e339a13d
* gnu/system/image.scm: Switch Inversion logic, it allow we use customize
bootloader with gpt image.
Change-Id: I801327f6e826a37588b8f0f5246ca820e742f721
Buildah is fundamentally similar to podman and provides its own Makefile.
This commit switches from go-build-system to gnu-build-system so that the
build can be done using `make' instead of reinvention some parts (like
documentation) in the guile. The package pretty much follows how podman
package looks like.
* gnu/packages/containers.scm (buildah)[source]: Reformat.
[build-system]: Use gnu-build-system.
[arguments]<#:import-path, #:unpack-path, #:go, #:install-source?>: Delete.
<#:make-flags>: Set make flags.
<#:test-target>: Set, even though the tests are disabled.
<#:imported-modules>: Also import (guix build go-build-system) for the
remove-go-references phase.
<#:phases>{'prepare-install-docs, 'build-docs, 'install-docs}: Delete.
{'configure}: Delete.
{'set-env, 'check, 'symlink-helpers, 'wrap-buildah, 'remove-go-references}
{'install-completions}: New phases.
[inputs]: Remove no longer used cni-plugins, conmon, runc. Add bash-minimal.
[native-inputs]: Remove gnu-make, add go-1.21 and bats.
Change-Id: I0ddd5febb0116a71a857e2a98a9951dbe8bd40d9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Substantial rework of the podman package. The source is no longer patched (at
all) and all necessary modifications were moved into wrap-program and phases.
Not everything is supported out of the box, but description mentions what
packages to install to get additional functionality working.
* gnu/packages/containers.scm (podman)[source]: Remove snippet and patches.
[arguments]<#:make-flags>: Add HELPER_BINARIES_DIR. Add GOMD2MAN to actually
use go-github-com-go-md2man package instead of the bundled version.
<#:imported-modules>: Add (guix build go-build-system).
<#:phases>{'set-env}: Set `CC' as an environment variable due to bug in make
before 4.4.
{'fix-hardcoded-paths}: Remove everything except patching `libexec' and `lib'
locations.
{'symlink-helpers}: New phase symlinking tools not discoverable via $PATH into
one directory (`HELPER_BINARIES_DIR').
{'wrap-podman}: New phase wrapping `podman' to set correct $PATH.
{'remove-go-references}: New phase stripping references to the golang
toolchain from the binaries.
[inputs]: Remove no longer needed cni-plugins, slirp4netns. Remove referenced
in 'wrap-podman conmon, crun, iptables, passt. Move go-github-com-go-md2man
into native-inputs. Add bash-minimal.
[native-inputs]: Add custom grep with supported -P. Use newer go. Add
mandoc.
[description]: Explain how to get `podman compose' and `podman machine'
working.
* gnu/packages/patches/podman-program-lookup.patch: Delete file.
Change-Id: Ifc28971a68751831d781517b041eec951a617087
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This is handled automatically by go-build-system, but (obviously) not by the
gnu-build-system, so add the phase manually.
* gnu/packages/containers.scm (gvisor-tap-vsock)[arguments]<#:phases>: Add
'remove-go-references phase.
Change-Id: I5cef0bc03dfa7f219bdfec4226d0e7772401a5a5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>