gnu: xz: Update to 5.8.1.
* gnu/packages/compression.scm (xz): Update to 5.8.1.
Change-Id: I34bd64c5e18ea331e4bfe91d79dd419486296fe3
build/gnu: Add a compress-debug-info phase.
This new phase reduces the debug output of large C++ packages such as
qtdeclarative by about 20%.
* guix/build/gnu-build-system.scm (compress-debug-info): New procedure.
(%standard-phases): Register it.
Relates-to: #3617
Change-Id: I9463f1299d97c20eee5d6f685a2f1abbb05545f0
build/gnu: Do not attempt to strip Guile byte-compiled files.
This fails and produces noise and spurious debug files.
* guix/build/gnu-build-system.scm (strip) <guile-bytecode?>: New predicate.
Use it to filter out .go files from the files to be stripped.
Change-Id: I3063083a7d04d903d85d28d9526fdec079914fce
gnu %final-inputs: Add dwz-final.
* gnu/packages/commencement.scm (%final-inputs): Register dwz-final.
Change-Id: Iff6842cbf691d3ea38bdfecc7d3816b0806d6f0d
gnu: Add dwz-final.
* gnu/packages/commencement.scm (dwz-final): New variable.
Change-Id: I2a0453fbca2184e3f31c9b92190dfd7259c5541a
gnu: Add xxhash-final.
* gnu/packages/commencement.scm (xxhash-final): New variable.
Change-Id: Ib3839b2233026527c8bf942db9cd9904eb079c5f
gnu: Add elfutils-final.
* gnu/packages/commencement.scm (elfutils-final): New variable.
Change-Id: Ibcd0cdf2ba2d90232f097ea6599548e30aeb20d8
gnu: Add dwz.
* gnu/packages/elf.scm (dwz): New variable.
Co-authored-by: Danny Milosavljevic <dannym@friendly-machines.com>
Change-Id: I6d328109c246ee098680a14eed556d29b890a057
gnu: binutils: Use zstd compression level 19.
* gnu/packages/base.scm (binutils) [#:phases]
{use-zstd-compression-level-19}: New phase.
(binutils-gold) [#:phases]
{use-zstd-compression-level-19-for-gold}: New phase.
Change-Id: I0e75329bb231dba39db61a880eb306c58c0acc11
gnu: binutils-boot0: Refactor arguments.
When the inherited binutils package had a #:phases argument, it would replace
that fo binutils-boot0 (being appended), and causing breakage.
* gnu/packages/commencement.scm (binutils-boot0): Do not append the inherited
binutils arguments; modify them with a chained ensure-keyword-arguments and
substitute-keyword-arguments.
Suggested-by: Rutherther <rutherther@ditigal.xyz>
Change-Id: If1245556e363b9a1da2e2bb65c83e3b3aa4ff6de
gnu: binutils: Enable zstd compression.
* gnu/packages/base.scm (binutils) [native-inputs]: Add pkg-config.
[inputs]: Add zstd:lib.
(binutils-gold) [#:phases] {set-LD_LIBRARY_PATH}: New phase.
Change-Id: I344242724b5978c98dd20d8309de02702e78cf9a
gnu: binutils: Do not compress debug sections.
This is in preparation to a new phase which will deduplicate debug symbols
with dwz (and compress them after via objcopy).
* gnu/packages/base.scm (binutils) [#:configure-flags]: Remove
--enable-compressed-debug-sections=all.
Change-Id: I992bc680f3e5f7bb6b7aae81e9311352745402cf
gnu: binutils: Fix indentation.
* gnu/packages/base.scm (binutils): Fix indentation.
Change-Id: Icd8d298e00ae6c826aaef5f4e59688b6d8374b9e
gnu: binutils-final: Enable zstd support.
* gnu/packages/commencement.scm (binutils-final)
[#:allowed-references]: Add zstd-final:lib.
[native-inputs]: Add pkg-config-final.
[inputs]: Add zstd-final:lib.
Change-Id: I2c57f376f79ab866bce4456a41e752fcfa5c9826
gnu: Add pkg-config-final.
* gnu/packages/commencement.scm (pkg-config-final): New package.
(make-gnu-make-final): Use it.
Change-Id: I1452a09e765de863ac9725ac7924a0a97d3010ca
gnu: %final-inputs: Use zstd-final.
* gnu/packages/commencement.scm (%final-inputs): Use zstd-final instead of
computing it, now that there's a binding for it.
Change-Id: I3d28538b56f2480397d827cd4dac1275f0d27d66
gnu: Add zstd-final.
* gnu/packages/commencement.scm (zstd-final): New variable.
Change-Id: Ic6bef892f35a4bca809ff80dd279190b0f4902bd
gnu: python-parabam: Update to 3.0.1-0.be5bd35, fix build.
* gnu/packages/bioinformatics.scm (python-parabam): Update to
be5bd35012d37df8cfa88771325a0273519c8c98 commit.
[source]: Switch to git-fetch.
[arguments] <tests?>: No tests.
<phases>: Add 'cythonize.
[native-inputs]: Remove python-wheel; add python-cython.
Change-Id: I56e2dbeac106f2942289e2b751520b3bf1abb60f
gnu: python-schema-0.5: Deprecate in favor of python-schema.
There is no any users in Guix main channel, keeping the symbol for one
month.
* gnu/packages/python-xyz.scm (python-schema-0.5): Deprecate variable.
Change-Id: I099b91df49448eae5f38b066eca0ae6f61f80a5c
gnu: python-usbrelay: Fix build.
* gnu/packages/hardware.scm (python-usbrelay): Fix build.
[arguments] <#:phases>: Replace 'check phase.
[native-inputs]: Remove python-wheel.
Change-Id: I8b1de9158c277e83775fad4cab9ce56f87a8caab