The aim is to improve the efficiency of computing the man pages database,
which must decompress the man pages. Zstd is faster than gzip, especially for
decompression, and has a similar compression ratio.
* gnu/packages/commencement.scm (%final-inputs): Add zstd.
* guix/build/gnu-build-system.scm
(compress-documentation) Update doc.
<info-compressor, info-compressor-flags, man-compressor, man-compressor-flags>
<man-compressor-file-extension>: New arguments.
<compressed-documentation-extension>: Rename argument to...
<info-compressor-file-extension>: ... this. Add an 'extension' argument to
the retarget-symlink nested procedure. Use new arguments in nested
'maybe-compress' procedure.
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: Ibaad4658f8e5151633714d263d9198f56d255020
This is a followup to 02d21712be1eb31a917313662b924763e81affb3.
* gnu/packages/rust.scm (rust-1.55)[arguments]: In
‘set-linker-locale-to-utf8’, change to C.UTF-8.
Change-Id: I94f27123ca8ac4761fd9bae6267c3a9d122b3a1d
This reverts commit 4eebb73295.
The ‘--disable-year2038’ flag appears to be unnecessary (tested on
i686-linux). More importantly, it’s potentially harmful as it could
prevent rebuilds after year 2038 due to timestamp inconsistencies as
they wrap around, and could make the tools unusable altogether.
Change-Id: Iad828d38f84bd1824b83731ac3a3897da4b8b6d3
* gnu/packages/imagemagick.scm (imagemagick/stable)
[arguments]: Ungexp reference to NAME variable.
Reported-by: Simon South <simon@simonsouth.net>
Change-Id: Id0584b35ede05ef14e957b2b2c9c754d9f9c0a90
This fixes#48018, as suggested by Saku Laesvuori on the issue tracker.
* gnu/packages/imagemagick.scm (imagemagick/stable)[inputs]: Add libwebp.
Change-Id: I3c02d0fb6c421f7d865b19af359e20068d00b60a
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/java.scm (icedtea-8)[arguments]: When building for
powerpc-linux add a configure-flag to skip the java flight recorder.
Change-Id: I3b9e137c82766507c46ba7a54dff64c3c50c3685
Replace custom phase with copy-build-system newly added #:output parameter.
Additionally remove extra slashes from license URIs and obsolete inputs.
* gnu/packages/docbook.scm (docbook-dsssl)[source]: Remove empty directories
from source using a snippet.
[arguments]<#:phases>: Relocate 'install-doc logic into …
<#:install-plan>: … here. Remove obsolete exclusion rules.
[native-inputs]: Remove bzip2 and tar since these are already available by
default.
[license]: Remove extraneous slash.
(docbook-dsssl-doc)[license]: Remove extraneous slash.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Suggested by Sergey Bugaev.
* gnu/packages/patches/glibc-2.38-hurd-ucontext.patch: New file.
* gnu/packages/base.scm (glibc)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.
Change-Id: Ib74e93f2414eda2ec4b3e01fc2bb67b02838fabb
* gnu/packages/base.scm (%default-utf8-locales): Add "C".
(make-glibc-utf8-locales): Delete "C" from LOCALES for glibc versions
lower than or equal to 2.35.
Change-Id: I6a6faa68dc18bf0f87c372109a17f476d3561278
* gnu/packages/commencement.scm (%boot5-inputs): Make an alias for
‘%boot4-inputs’.
(with-boot5): Turn into an alias for ‘with-boot4’.
(%final-inputs): Override ‘native-inputs’ of GAWK. Remove "locales"
entry.
(canonical-package): Add “glibc-utf8-locales” entry.
* gnu/packages/base.scm (libc-utf8-locales-for-target): Use
‘canonical-package’.
* gnu/packages/gawk.scm (gawk)[native-inputs]: New field.
* gnu/packages/texinfo.scm (texinfo)[native-inputs]: Add
‘libc-utf8-locales-for-target’.
Change-Id: I2283ffc6c6000c98ad2db89c04d581e050667c94
This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3.
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): #:locale now
defaults to "C.UTF-8".
* guix/build/gnu-build-system.scm (install-locale): Likewise.
* gnu/packages/linux.scm (util-linux)[arguments]: In ‘pre-check’ phase,
remove ‘invalid-multibyte’ modification so the test runs under C.UTF-8.
Change-Id: I9a4bfe564bcd8bbd0d57ba04568eb6b8020bd051
* gnu/packages/maths.scm (gsl)[outputs]: New field.
[arguments]: Remove configure-flag disabling static library. Add
make-flag to produce PIC output. Add a phase to move the static
libraries into the static output.
Change-Id: I4c5dddb8d384f4e2f82122b239da44350bacf57a
This replaces ‘glibc-cross-objdump.patch’ and
‘glibc-cross-objcopy.patch’ (not applied to glibc@2.38): these patches
were committed upstream and later reverted on the grounds that ‘gcc
-print-prog-name=objdump’ should find the cross ‘objdump’:
https://inbox.sourceware.org/libc-alpha/d72f5f6f-cc3a-bd89-0800-ffb068928e0f@linaro.org/t/
* gnu/packages/cross-base.scm (cross-libc*): Add
‘add-cross-binutils-to-PATH’ phase.
Change-Id: I38dc7a6134177ec73313c0a9c8b0a12c85c60e26
This partially reverts 3b2de6529b9d77c8a74d431859a3ec334e9603c2, itself
a followup to 25b30622b4.
* gnu/packages/base.scm (glibc)[arguments]: In ‘move-static-libs’ phase,
remove ‘empty-static-libraries’ variable and rewrite
‘empty-static-library?’ to check file type and size.
* gnu/packages/commencement.scm (make-gcc-toolchain): Remove ‘copy-file’
call to create ‘librt.a’.
Change-Id: I33c6825d5b1e6e790dfff494bac1da07d3389e77
This change ensures that $prefix/lib/locale, which now contains C.UTF-8
data, is always searched. Thus, “setlocale (LC_ALL, "C.UTF-8")” is
guaranteed to always succeed.
* gnu/packages/patches/glibc-2.37-versioned-locpath.patch: Adjust.
Change-Id: I6aaf2757da98e811aa55e0959126065537cd8970
* gnu/packages/patches/glibc-2.38-ldd-x86_64.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc): Update to 2.38.
[source]: Adjust list of patches.
[arguments]: Add ‘--enable-crypt’.
(glibc-2.35): New variable.
Change-Id: I040b724c47d2ee5f90f2deb03a4828e79d1bfc4e
This fixes building mpfr with glibc-2.38.
* gnu/packages/multiprecision.scm (mpfr): Update to 4.2.1.
Change-Id: Ib8a8eecc9e72587e0fc1b8b0ee965aa274b85c7b
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Previously code was dependent on the ‘name’ field of the GLIBC package.
* gnu/packages/base.scm (make-glibc-utf8-locales): Use gexps. Replace
references to ‘%build-inputs’ by calls to ‘which’. Replace reference to
‘version’ by (package-version this-package).
Change-Id: I1e7003047aa85df74069b233191ab331b5f887b6