gnu: Add python-pillow-heif-0.22.
* gnu/packages/python-xyz.scm (python-pillow-heif-0.22): New variable.
installer: Add KDE Plasma desktop environment.
* gnu/installer/services.scm (%system-services): Add KDE Plasma environment.
* gnu/tests/install.scm
(installation-target-desktop-os-for-gui-tests): Add
plasma-desktop-service-type to operating-system services.
(%test-gui-inst)led-desktop-os-encrypted): Extend side for Plasma.
Change-Id: Iaf55bb85f40865ee5b79abef23a98a3e04a1e244
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
publish: Explicitly update the atime for cache expiry.
Mounting file systems with ‘noatime’ is common. Thus, avoid relying on the
atime.
* guix/scripts/publish.scm (render-narinfo/cached): Add ‘utime’ call on cache
hit. Use ‘stat’ instead of ‘file-exists?’.
(bake-narinfo+nar): Update comment.
Change-Id: Id8c68d3b793922fdadca8cbd02b50368b418bb67
inferior: Caching works by checking the mtime, not the atime.
Mounting file systems with ‘noatime’ is common. Thus, avoid relying on the
atime.
* guix/inferior.scm (cached-channel-instance): Pass ‘stat:mtime’ to
‘file-expiration-time’. When ‘cached’ exists, call ‘utime’ to update its
mtime and atime.
Change-Id: Ib9bff45ed402260fdead3c23f09b431fa369e741
shell: Don’t rely on atime for caching.
Relying on atime was fine even on ‘noatime’ file systems because the atime was
explicitly updated. However, on file systems with atime enabled, cache items
were potentially retained for too long since scanning the cache directory
could update atimes.
* guix/scripts/shell.scm (options-with-caching): In ‘utime’ call, change both
the mtime and the atime.
(guix-shell)[entry-expiration]: Use ‘file-expiration-time’ with ‘stat:mtime’.
Change-Id: Ibe2aedae41a1018a95c2efe7f2dcf08bd1caae2a
gnu: glibc/hurd: Add patches from glibc 2.42.
* gnu/packages/base.scm (glibc/hurd): Remove intr-msg-clobber.patch, add
signal-fpe-exception.patch and xstate.patch.
gnu/packages/patches/glibc-hurd-signal-fpe-exception.patch, gnu/packages/patches/glibc-hurd-xstate.patch : New patches
* gnu/local.mk (dist_patch_DATA): Register them.
Change-Id: Ib5b38f1fb8b43d76ec236232be8ff7552dad7422
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Use target-hurd32? to check for 32bit hurd targets.
* gnu/packages/base.scm (grep, tar, patch, diffutils, findutils): Use target-hurd32?.
* gnu/packages/linux.scm (util-linux): Same.
Change-Id: I65c4df3483530ee395a39dd3b7462980321383dd
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
utils: Define 'target-hurd32?' predicate.
* guix/utils.scm (target-hurd32?): New predicate.
Change-Id: I19e5b2d4e76b1c5b8c233c21397b48daf9619239
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
utils: Actually check the target in target-hurd64?.
* guix/utils.scm (target-hurd64?): Check the target argument.
Change-Id: Ic303e7d6e8284767c2a55411c68c043c3d18c04f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: guix: Use native locales in native-inputs.
Fixes an issue building doc/guix.ru.info when glibc/hurd != glibc.
guix.ru.texi:3151: @node `??????????????????????' previously defined
guix.ru.texi:2251: here is the previous definition as @node
* gnu/packages/package-management.scm (guix)[native-inputs]: Use utf8-locales
for the current-system.
Change-Id: I8d8821b1017380552b90aba6edad0da86ba2a64e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: coreutils: Skip another test on the Hurd.
This test fails after 9051aa1bd14559f37ae378105d00fc2d2ec4bbca.
Previously it got skipped because the mtab file was not found.
* gnu/packages/base.scm (coreutils): Skip 'cp/parent-perm-race' test on Hurd systems.
Change-Id: I5c33cf585878b802a66bb763d5e94eca6a82a6ca
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: hurd: Update to 0.9.git20251029.
* gnu/packages/commencement.scm (hurd-headers-boot0): Update to
0.9.git20251029.
* gnu/packages/hurd.scm (hurd-headers): Same.
[#:configure-flags]: Disable check for mach_port_set_ktype.
Change-Id: Ic6c98a679c32de3493b058a54d15691aa3397194
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: hurd: Update to 0.9.git20250801.
* gnu/packages/commencement.scm (hurd-headers-boot0): Update to
0.9.git20250801.
* gnu/packages/hurd.scm (hurd-headers): Same.
(hurd): Remove hurd-socket-activation.patch.
* gnu/packages/patches/hurd-socket-activation.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Deregister it.
* gnu/packages/patches/hurd-rumpdisk-no-hd.patch: Update patch.
Change-Id: I88f94a940c49a4d938e1e21e13df9815204d5d22
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: gnumach: Fix division by zero trap on x86_64.
* gnu/packages/patches/gnumach-div0.patch: New patch
* gnu/packages/hurd.scm (gnumach): Add it.
* gnu/local.mk (dist_patch_DATA): Register patch.
Change-Id: If2c096209a23619cafd55855e519674076c6a043
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: gnumach: Update to 1.8+git20250731.
* gnu/packages/commencement.scm (gnumach-headers-boot0): Update to 1.8+git20250731.
* gnu/packages/hurd.scm (gnumach-headers): Same.
Change-Id: I7387c5f20c06c9857782c0b48e8387f9c779e872
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
daemon: Use starts_with() and ends_with() instead of string() or hasSuffix()
* nix/libstore/build.cc (DerivationGoal::tryBuildHook): Use starts_with instead
of string()
* nix/libstore/builtins.cc (lookupBuiltinBuilder): Same.
* nix/libstore/builtins.hh (isBuiltin): Same and fix indentation of the file.
* nix/libstore/derivations.cc (DerivationOutput::parseHashInfo, isDerivation):
Same and clean header files.
* nix/libstore/gc.cc (addPermRoot, LocalStore::isActiveTempFile): Same.
* nix/libstore/globals.cc: Same.
* nix/libstore/local-store.cc: Same.
* nix/libstore/misc.cc: Same.
* nix/libstore/store-api.cc (checkStoreName): Same.
* nix/libutil/affinity.cc: Same.
* nix/libutil/archive.cc: Same.
* nix/libutil/spawn.cc: Same.
* nix/libutil/util.{cc, hh} (hasSuffix): Removed.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: tensorflow-lite: Update to 2.15.1.
* gnu/packages/machine-learning.scm (tensorflow-lite): Update to 2.15.1.
Change-Id: Ideb7605cb2cb6ddae7f53f5f6841522969ffbe83
gnu: tensorflow-lite: Adjust style.
* gnu/packages/machine-learning.scm (tensorflow-lite): Tweak whitespaces.
[native-inputs]: Remove labels.
Replace auto-generated git repository tarballs to git-fetch.
Change-Id: I5993c5accffff5b5831643ac2e221f26c899e0eb
gnu: tensorflow-lite: Fix package.
Fixes some breakages since the last python-team merge.
* gnu/packages/machine-learning.scm (tensorflow-lite) [arguments]
<#:configure-flags>: Access OpenCL headers through mesa-headers.
<#:phases>: Adapt phase 'build-python to process <#:configure-flags> properly,
in particular -DCMAKE_C_FLAGS and -DCMAKE_CXX_FLAGS.
[native-inputs]: Add python-setuptools and python-wrapper.
Remove python-wheel.
[inputs]: Replace python-wrapper by python.
Remove opencl-clhpp and opencl-headers, their content is already provided
through mesa-headers.
Change-Id: I77c287141238081e4df0c8df48f374d8d6aa5a82
Signed-off-by: Hilton Chain <hako@ultrarare.space>
profiles: package->manifest-entry: Filter packages.
The new Rust packaging model moves sources to inputs and there'll be
possiblity to have sources in propagated-inputs as well.
* guix/profiles.scm (package->manifest-entry): Filter packages.
* tests/profiles.scm ("package->manifest-entry, origin in propagated inputs"):
New test.
Change-Id: Id5b9ceb693a35760289b04cd9b8f208b4cbf2e35