Calling 'delete' on the list of packages would delete *all* occurrences of a
given object, not just the first one. This meant that if the user had
something like:
(packages (cons nss-certs %base-packages))
In their operating system declaration, no nss-certs would end up in the final
list. To guard against this, guard against this by checking that more than
one nss-certs package exist even after deduplication.
* gnu/system.scm (operating-system-packages): Guard against deleting all
nss-certs when a single nss-certs package object is listed multiple times.
Fixes: https://issues.guix.gnu.org/70850
Change-Id: Id93be9242e026fd2e96a442941df80b94664ef9a
* gnu/services/pm.scm
(power-profiles-configuration): New configuration.
(power-profiles-daemon-shepherd-service): New procedure.
(power-profiles-daemon-activation): New variable.
(power-profiles-daemon-service-type): New procedure.
* doc/guix.texi (Power Management Services): Document it.
Change-Id: Ib035d993ed82eec2a43f3ba2b4c92f77e08a0fd7
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/patches/ddcci-driver-linux-linux-6.8.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/linux.scm (ddcci-driver-linux): Apply it.
Change-Id: Iac63146e67333aed2a95e8064b19f031c97a4134
Cover-letter:
Add BTF support to kernel, sysdig and dependents, zstd-compressed modules
This series adds BTF (Berkeley Type Format) support to our kernel, catching up
with other main distributions in enabling embedded BPF (Berkeley Packet
Filter) programs.
This was motivated by packaging 'sysdig', a system introspection application
that can make use of BTF. Adding BTF does incur some size increase; with
'linux-libre' package going up from 132 MiB to 164 MiB (24%). This is later
somewhat mitigated by using Zstd compressed (at maximum level, 19) kernel
modules, which brings the kernel size back down to 144 MiB, which corresponds
to a more reasonable 9% increase from before this series. The BPF kernel
variant we were carrying is removed as proper BPF support will now exists in
our main kernel.
That's it! I hope you enjoy using 'csysdig' to keep track of the syscalls and
IO usage of your process/threads.
END
Change-Id: Icb5fc659f529a2a840281284bfb0d74a0cc9b9d9
* gnu/packages/icu4c.scm (icu4c-68): Delete variable.
Only 0ad depended on it, and the dependency has been upgraded in the
previous commit.
Change-Id: If9d5741f25329ea0026401b37b30a7ab7731e3d9
Fixes build on aarch64 where icu4c-68 is broken.
* gnu/packages/games.scm (0ad)[inputs]: Replace icu4c-68 with icu4c.
Change-Id: Ie2cade592e224eb72dc3286ba3b38626cd86b85b
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/maths.scm (why3) <propagated-inputs>: Add
ocaml-ppx-deriving, ocaml-ppx-sexp-conv, ocaml-re and ocaml-sexplib to
enable extra features.
Change-Id: Ia3b66ac08cc25097967c6e18f2193601fb748cac
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/maths.scm (why3): Use new style and move arguments
above input fields.
Change-Id: Ia9cb04cafe426d7f20c5efb10ca540572dbd3be9
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/ocaml.scm (ocaml-lablgtk3-sourceview3): Move gtksourceview-3
from native-inputs to propagated-inputs. Remove native-inputs and use
inherited inputs instead.
Change-Id: I2b242343bdace17ee3e992ce71f4e49b3c375e15
Signed-off-by: Andreas Enge <andreas@enge.fr>
* gnu/packages/java.scm (java-jctools-core-1)[arguments]: When building
on aarch64-linux skip the tests.
Change-Id: I83a40b5eb352be48b9083aa57dd10e87b525c7be
* gnu/packages/game-development.scm (slade): Update to 3.2.5a.
[arguments]: Add a configure-flag to build slade.pk3.
Change-Id: I739f9d292a685e86acd4d83c1a5de367f884c523
* gnu/packages/java.scm (java-swt)[arguments]: Adjust the custom
'build-native phase to set the C compiler.
Change-Id: Ie961ea91e5cd2ce9fc7b2228e08d082a5a1cfe06
* gnu/packages/arcan.scm (arcan-sdl)[inputs]: Remove sdl, add sdl2.
[arguments]: Adjust configure-flags to remove a flag specifying sdl
version and add a flag to use the package's default sdl.
Change-Id: I691e37e682aee671752fbdcd9f5a233607fd3f29
* gnu/packages/games.scm (the-butterfly-effect)[build-system]: Switch to
the cmake-build-system.
[arguments]: Don't delete the 'configure phase. Remove custom 'install
phase. Add a phase to set some cmake variables and one to disable the
translations.
[native-inputs]: Remove cmake-minimal.
Change-Id: I8f654b1e0c3231dda87ea41c150cc85661541cda
This is a commit with which the dependent package minizinc builds
successfully.
* gnu/packages/maths.scm (gecode): Downgrade to 6.2.0-2.2d20e88.
Change-Id: I0bdb0131374639b1664e6ec40374d51b6922094c
"python-pivy" build fails when "soqt" is in the inputs (see
<https://bugs.gentoo.org/920482>.)
* gnu/packages/python-xyz.scm (python-pivy): Fix build.
[inputs]: Remove "soqt".
[arguments]: Use gexps.
Change-Id: If332ccd42b3a373e7b4118f3bcbc3646e8b59d41
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
* gnu/packages/geo.scm (qgis)[arguments]<#:phases>: Extract
ignored-tests to make them more readable. Re-indent.
Change-Id: I2373bba49b9d21ff7dfa0014cf34fafa0e1f3175
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This fixes python-scikit-image build failure as seen in
<https://ci.guix.gnu.org/build/4357310/log/raw>.
* gnu/packages/python-xyz.scm (python-lazy-loader): Update to 0.4.
[native-inputs]: Remove python-pre-commit and python-pytest-cov; add python-numpy.
Change-Id: Ie236fb30fd505fed1e07fd236403f9f456a37f29
Includes fixes for CVE-2024-4367, CVE-2024-4767, CVE-2024-4768,
CVE-2024-4769, CVE-2024-4770, and CVE-2024-4777.
* gnu/packages/gnuzilla.scm (%icecat-base-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
* gnu/packages/emacs-xyz.scm (emacs-helm-org-ql): New variable.
(emacs-org-ql)[phases]: Add phase 'remove-helm-org-ql.
[propagated-inputs]: Remove emacs-helm, emacs-helm-org.
The author didn't mean to make the package depend on helm :
"Note that Helm is not declared as a package dependency, so this does
not cause Helm to be installed.", but the way we packaged it in Guix
did. Split the extension into a separate dependency instead, this
avoids 3 Mo to be propagated in a profile where it's not meant.
Change-Id: I3537c0b08cfffac3d66b761173761a3806497358
Signed-off-by: Andrew Tropin <andrew@trop.in>
Adjust screencast such that GI_TYPELIB_PATH and GST_PLUGIN_SYSTEM_PATH refer
to all required typelibs and GStreamer plugins. This alone is not enough to
make the screencast function however -- a running pipewire service (e.g.
via Guix Home) is also needed.
* gnu/packages/gnome.scm (gnome-shell):
[inputs]: Add gst-plugins-good and pipewire.
[#:phases]<'wrap-programs>: Wrap org.gnome.Shell.Screencast.
Change-Id: I2c31bf1bd92e281b86c57b06988c6a3793a58d40
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
dhclient provides a hook mechanism for users. In order to run these hooks,
dhclient-script uses run-parts to run all the executable files found in
requested directory. run-parts is part of debianutils packages.
* gnu/packages/admin.scm (isc-dhcp)[inputs]: Add "debianutils" to provide
access to run-parts.
Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: I2057881da57a6065d65d1de95e51ed1c8b19e15f
sfsexp is a C/C++ library for the manipulation (read, parse, modify, and
create) of symbolic expressions. In an environment where sfsexp is available,
Notmuch will compile with support for a S-expression-based query format. This
commit is to add sfsexp as a Notmuch dependency and therefore to add S-exp
support.
* gnu/packages/mail.scm (notmuch)[native-inputs]: Add git-minimal/pinned.
[inputs]: Add sfsexp.
Change-Id: Ic3b4a30b2672ad690d66b283e9bdc8e2197f97a7
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/textutils.scm (utf8proc): fix cross-compilation.
[arguments]<#:make-flags>: Use CC-FOR-TARGET.
<#:phases>: When cross-compilation, Get test data from native-inputs.
Change-Id: I42699e62f28585cc215a8843b5daad9c52af44c9
This is a followup to 7757fdd491.
* gnu/packages/package-management.scm (guix): Update to 7ca9809.
Change-Id: Ic1e6d75223eb7e1371805f51b9f230ef846c536c
* gnu/system/file-systems.scm (%pseudo-file-system-types): Add "virtiofs"
to the list of pseudo file system types.
Change-Id: Ib1d99127e65f6543c592faec1c54bd0c5eae3ad7
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
As this avoids the indirect dependency on nss, which has a testsuite that
takes a long time to run.
* gnu/packages/package-management.scm (guix)[native-inputs]: Use po4a-minimal.
* guix/self.scm (%packages, translate-texi-manuals): Use po4a-minimal.
Change-Id: Iac7555cc850c1618d3d54f1b290faa4f9cfb4f8a
The main reason is to avoid the texlive-updmap.cfg input indirectly pulling in
nss, which has a very time consuming testsuite.
* gnu/packages/gettext.scm (po4a-minimal): New variable.
Change-Id: If8d46a18a02e57d5427852e8e122de01f970ded4
As I'm seeing this test fail with results of 5 to 7 seconds.
* gnu/packages/nss.scm (nss/fixed)[arguments]: Tweak a test to have a higher
time threshold.
Change-Id: Icb0551cd986acf67b2ba17dc8772a67b9747d31a
* gnu/packages/geo.scm (gnome-maps): Update to 46.10.
[arguments]: Add phase to setup time zones for a new test.
[native-inputs]: Add libportal and tzdata-for-tests.
Change-Id: Ife9b17eda68662d2adb289acfeacf1dc8f179a46
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/gnome.scm (libshumate): Update to 1.2.1.
[arguments]: Drop `-Dlibsoup3=true` configure flag as it got removed
upstream. It only supports libsoup3 now.
[native-inputs]: Add gperf.
[propagated-inputs]: Add json-glib and protobuf-c.
Change-Id: Ibe63b6f2060f6684f8f68f44c2221ba9d6ad5a45
Signed-off-by: Christopher Baines <mail@cbaines.net>
As last update was in February and new changes for new models and memory leaks
fixes since then.
* gnu/packages/machine-learning.scm (llama-cpp): Update to 0.0.0-2.fed0108.
[arguments]<#:phases>: Add 'disable-unrunable-tests' phase. Change
replacement of 'install to be a post-install 'install-main' phase so libraries
and header files are normally installed.
Change-Id: Ia6532945f588747c4d58fdb7611d6a9c3c596705
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/sycl.scm (adaptivecpp): New variable.
(opensync): Redefine using DEPRECATED-PACKAGE.
Change-Id: I7ac3f49409d539962de34510ed9255021b795724
Signed-off-by: Christopher Baines <mail@cbaines.net>
* gnu/packages/astronomy.scm (alfa)[arguments]: Set test-target. Replace
custom 'post-install-check phase with the standard 'check phase.
Change-Id: Ic5f77ac3a3a6ef62ce36ad5fa8892db6d0894d04
This helps reduce the dependencies on git, as I think it's find to build
ruby-gem-hadar with a slightly older git, at least during periods when
git-minimal/pinned needs updating.
* gnu/packages/ruby.scm (ruby-gem-hadar)[propagated-inputs]: Use
git-minimal/pinned.
Change-Id: I48e7725f8e4956f1a8311df1867d8d441c5cb4c2
As the test suite seems to consume all the disk space.
* gnu/packages/astronomy.scm (alfa)[arguments]: Don't run tests on riscv64.
Change-Id: Ifa52b8205387c22b386ccad97fd6e69723193a16
* gnu/packages/python-xyz.scm (python-vdf): New variable.
Reviewed-by: Steve George <steve@futurile.net>
Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: Ie8a14292b9c9937d22f011ac078562e81abd6b36
* gnu/packages/gnome.scm (gnome-js-common)[arguments]: Replace the
config.guess and config.sub files when building for powerpc64le-linux.
[native-inputs]: Add config when building for powerpc64le-linux.
Change-Id: If0cf8fff36347f6bd52b8cf1f43a11fc7f5323b7