OpenSFX 1.0.1 uses a different build system from the old one, which causes
weird errors.
* gnu/packages/games.scm (openttd-opensfx)[native-inputs]: Add tar.
[#:make-flags]: Drop INSTALL_DIR. Add DIR_NAME and TAR.
[#:tests?]: New argument.
[#:phases]: Add ‘prebuild’. Replace ‘install’ with a simple copy.
In commit 1cdf1cd7fe, the URI was updated to the
wrong value and the hash not updated at all, so people would erroneously fetch
the old package from a wrong description.
* gnu/packages/games.scm (openttd-opensfx)[uri]: Use
<https://cdn.openttd.org/opensfx-releases>.
[sha256]: Update accordingly.
* gnu/packages/machine-learning.scm (xnnpack): New variable.
* gnu/packages/patches/xnnpack-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/parallel.scm (cpuinfo): New variable.
* gnu/packages/patches/cpuinfo-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/parallel.scm (pthreadpool): New variable.
* gnu/packages/patches/pthreadpool-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/maths.scm (fxdiv): New variable.
* gnu/packages/patches/fxdiv-system-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
Fixes <https://issues.guix.gnu.org/49697>.
Reported by Philippe Swartvagher <philippe.swartvagher@inria.fr>.
* guix/transformations.scm (patched-source): New procedure.
(transform-package-patches)[package-with-extra-patches]: Use it
when (package-source p) is not an origin.
* tests/transformations.scm ("options->transformation, with-commit +
with-patch"): New test.
This is an old and customized version of msgpack-python.
* gnu/packages/backup.scm (borg)[source]: In the snippet, don't delete the
bundled 'msgpack' directory, and remove the related substition applied to
setup.py.
[arguments]: Remove the 'use-system-msgpack' phase.
[inputs]: Remove 'python-msgpack-transitional'.
Currently "sendmail" installs executables to $PREFIX/usr/sbin and
$PREFIX/usr/bin directories. This patch changes them to $PREFIX/sbin and
$PREFIX/bin respectively. Also this patch fixes broken symlinks in
$PREFIX/bin and updates package definitions that use old sendmail paths.
* gnu/packages/mail.scm (sendmail): Set new paths.
[arguments]<#:phases>{replace-/usr}: Remove /usr prefix.
[arguments]<#:phases>{post-install}: Fix broken symlinks
[arguments]<#:phases>{configure}: Set paths without /usr prefix.
* gnu/packages/mail.scm (claws-mail): Use new sendmail paths.
* gnu/packages/version-control.scm (python-git-multimail): Use new
sendmail paths.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Allow custom change commit messages by supplying a commit message and
optionally a changelog message as arguments.
* etc/committer.scm.in (break-string-with-newlines)
(custom-commit-message): New procedures.
(main)[change-commit-message*]: New sub-procedure. Use them.
(main): Use it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
The rocksdb test can take an egregious amount of time on a spinning HDD.
This will inherit guixbuild's /tmp mount for the rocksdb testing
directory.
* gnu/packages/databases.scm (rocksdb)[arguments]: set TEST_TMPDIR for
check phase
Signed-off-by: Ludovic Courtès <ludo@gnu.org>