gnu: rust: Add profiling support.
* gnu/packages/rust.scm (rust-1.52)
[phases] <unpack-profiler-rt, enable-profiling>: New phases.
Change-Id: Iecb4aef518e52f71ff7f539778bf0341288a3458
import: go: Emit new-style package inputs.
Since PACKAGE-NAMES->PACKAGE-INPUTS is used by both the go and crate
importers, give the crate importer a copy of the original so it
continues to use old-style inputs until it is updated.
* guix/import/utils.scm (package-names->package-inputs)[make-input]:
Return new-style package inputs.
(maybe-inputs): Wrap PACKAGE-INPUTS in 'list' instead of 'quasiquote'.
* guix/import/crate.scm (package-names->package-inputs): New variable.
* tests/go.scm ("go-module->guix-package"): Adjust to new-style package
inputs.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
import: crate: Emit new-style package inputs.
* guix/import/crate.scm (maybe-cargo-development-inputs)
(maybe-cargo-inputs): Wrap PACKAGE-INPUTS in unquoted 'list'.
* tests/crate.scm ("crate->guix-package")
("cargo-recursive-import")
("cargo-recursive-import-honors-existing-packages"): Adjust accordingly.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I4dfb745272ecbc893926446872514fb815c07236
build-system/go: Honor #:parallel-tests?.
guix/build/go-build-system.scm (build): Honor #:parallel-tests?.
guix/build-system/go.scm (go-build): Add PARALLEL-TESTS? parameter.
[builder]: Use it.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
build-system/go: Honor #:parallel-build?.
guix/build/go-build-system.scm (build): Honor #:parallel-build?.
guix/build-system/go.scm (go-build): Add PARALLEL-BUILD? parameter.
[builder]: Use it.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu: dbm: Regenerate Autotools files.
This way, overriding the 'detection of 'build' isn't needed anymore.
* gnu/packages/dbm.scm (bdb-snippet): New procedure.
(bdb-4.8)[source]: Add the snippet.
[arguments]: Copy "config.sub"," "config.guess" and "install-sh" in a new
'boostrap phase', this time from automake. Move macros from aclocal_java
to aclocal. Move configure flags to #:configure-flags. Remove 'configure'
phase, instead add a pre-configure phase for adjusting Makefile.in and use
'#:out-of-source' to perform an out-of-source build. Run "s_config" to fix up
the version numbers.
(bdb-5.3)[source]: Inherit from bdb-4.8's source, to get the snippet.
(bdb-6)[source]: Likewise, and be careful to not add a patch.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I03aa7ed4afda15d970856efed9f14fd851ee7634
gnu: man-pages-posix: Remove redundant manpage compression.
* gnu/packages/man.scm (man-pages-posix)[arguments]: Don't run build
phase.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
build/gnu: Support compressing non-numeric man sections.
* guix/build/gnu-build-system.scm (compress-documentation)
[maybe-compress]: Expand regex to include man sections with alphabetic
suffixes.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu: bluez: enable wiimote plugin.
* gnu/packages/linux.scm (bluez)[configure-flags]: Add "--enable-wiimote".
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu: libxres: Update to 1.2.2.
* gnu/packages/xorg.scm (libxres): Update to 1.2.2.
[source]: Fix uri due to release of xz archive.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu: xset: Update to 1.2.5.
* gnu/packages/xorg.scm (xset): Update to 1.2.5.
[source]: Fix uri due to release of xz archive.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu: xprop: Update to 1.2.6.
* gnu/packages/xorg.scm (xprop): Update to 1.2.6.
[source]: Fix uri due to release of xz archive.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu: transset: Update to 1.0.3.
* gnu/packages/xorg.scm (transset): Update to 1.0.3.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu: libice: Update to 1.1.0.
* gnu/packages/xorg.scm (libice): Update to 1.1.0.
[source]: Fix uri due to release of xz archive.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu: libxcomposite: Update to 0.4.6.
* gnu/packages/xorg.scm (libxcomposite): Update to 0.4.6.
[source]: Fix uri due to release of xz archive.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
gnu: webrtc-audio-processing: Update to 1.0.
* gnu/packages/audio.scm (webrtc-audio-processing): Update to 1.0.
[source]: Add snippet that fixes building on riscv and powerpc
architectures.
[arguments]: Remove patch-source phase.
[build-system]: Update to meson-build-system.
[inputs]: Add abseil-cpp as input.
* gnu/packages/patches/webrtc-audio-processing-big-endian.patch: Update
to 1.0.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I3e4a9e34aa23336ab09d4d5f098abe8c53f32f9d
gnu: libgpg-error: Update to 1.46.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.46, passing
--enable-install-gpg-error-config to ./configure because some packages still
uses gpg-error-config (e.g., libassuan 2.5.5)
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I471a3c95a75565f5f4a69e90b40e8aac4fc7c69b
gnu: font-charter: Install license file.
* gnu/packages/fonts.scm (font-charter)[arguments]<#:license-file-regexp>:
Add.
gnu: font-fontna-yasashisa-antique: Install license file.
* gnu/packages/fonts.scm (font-fontna-yasashisa-antique)[arguments]<#:phases>:
Add "enter-license-directory" phase.
gnu: font-jetbrains-mono: Remove obsolete phase.
* gnu/packages/fonts.scm (font-jetbrains-mono)[arguments]<#:phases>: Remove
obsolete "install-license-files" phase.