Commit graph

95375 commits

Author SHA1 Message Date
Ludovic Courtès
0b4300d4fd
gnu: commencement: Remove redundant import.
Reported by Josselin Poiret on #guix.

* gnu/packages/commencement.scm: Remove redundant #:use-module (guix gexp).
2022-05-12 12:29:38 +02:00
Philip McGrath
3547bb6a66
gnu: chez-scheme-for-system: Adjust for bytecode backend.
Change 'chez-scheme-for-system' to return 'chez-scheme-for-racket' in
two cases when it previously returned 'chez-scheme':

 1. When 'chez-scheme' is not distributed with bootstrap bootfiles,
    since we can only cross-compile 'chez-scheme' for those systems; and

 2. When neither 'chez-scheme' nor 'chez-scheme-for-racket' supports
    native code generation, since we will be able to use the ``portable
    bytecode'' backends of 'chez-scheme-for-racket' as soon as the
    issues in <https://racket.discourse.group/t/950> are resolved.

* gnu/packages/chez.scm (chez-scheme-for-racket): Change condition.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:08 +02:00
Philip McGrath
4c0ac41ba4
gnu: chez-scheme-for-racket: Fix supported systems.
This commit fixes the treatment of systems like "powerpc-w64-mingw32",
where the combination of architecture and kernel is not supported, even
though both are supported in other combinations. The build failure fixed
in b8fc916951 highlighted this problem:
see also <https://issues.guix.gnu.org/54292#6>. The correct support
status is specified by '%chez-features-table', which was added to
improve 'chez-upstream-features-for-system': this commit uses it to fix
the repair.

Once the issues in <https://racket.discourse.group/t/950> are resolved,
'chez-scheme-for-racket' and 'racket-vm-cs' will be able to run even on
systems for which native code generation is not supported. It's not
clear what behavior would be useful from 'nix-system->chez-machine':
since the current implementation is flawed and easy to misuse, we remove
it for now, replacing the remaining uses with
'racket-cs-native-supported-system?'.

* gnu/packages/chez.scm (nix-system->chez-machine): Remove it.
(racket-cs-native-supported-system?): New variable.
(chez-scheme-for-racket)[supported-systems]: Use it.
* gnu/packages/racket.scm (racket-vm-for-system): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:08 +02:00
Philip McGrath
9322697636
gnu: chez-upstream-features-for-system: Improve implementation.
This commit is a follow-up to b8fc916951.
While that commit fixed a breaking build, this one begins to address the
faulty assumptions that lead to the failure: see also
<https://issues.guix.gnu.org/54292#6>.

In this commit, we reimplement 'chez-upstream-features-for-system' using
the new '%chez-features-table', which explicitly specifies platform
support for both 'chez-scheme' and 'chez-scheme-for-racket', rather than
assuming a non-false result from 'nix-system->chez-machine' means that
the system is supported.

The remaining uses of 'nix-system->chez-machine' still make that
incorrect assumption and must be repaired in a future commit.

* gnu/packages/chez.scm (%nix-arch-to-chez-alist,
%nix-os-to-chez-alist): Replace with ...
(target-chez-arch, target-chez-os): ... these new variables.
(nix-system->chez-machine): Rewrite using them.
(%chez-features-table): New variable.
(chez-upstream-features-for-system): Rewrite using it.
(chez-scheme)[supported-systems]: Update armhf-linux comment.
(chez-scheme-bootstrap-bootfiles)[supported-systems]: Use
'chez-upstream-features-for-system'.
(chez-machine->nonthreaded, chez-machine->threaded,
chez-machine->nix-system): Remove unused functions.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:08 +02:00
Philip McGrath
9f88d8b72d
gnu: stex: Get machine type dynamically.
* gnu/packages/chez.scm (stex)[arguments]: Run 'scheme' to determine
the machine type.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:08 +02:00
Philip McGrath
7ea79beda3
gnu: chez-scheme: Refactor configure phase and fix '--threads'.
Move Chez-specific logic into '#:configure-flags' and a new
'configure-environment-variables' phase, leaving the 'configure' phase
as just a variant of the one from 'gnu-build-system' (including support
for '#:out-of-source?') that doesn't add implicit Autoconf-style flags.

In the process, do the right thing for "--threads", rather than assuming
the only nonthreaded platform is broken.

* gnu/packages/chez.scm (chez-scheme)[arguments]: Set configure flags in
'#:configure-flags' and separate 'configure-environment-variables' from
the residual 'configure' phase. More closely follow 'gnu-build-system'.
Use 'chez-upstream-features-for-system' for "--threads".
(chez-scheme-for-racket)[arguments]<#:configure-flags>: Add "--threads"
unconditionally.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:08 +02:00
Philip McGrath
d35920daf0
gnu: chez-scheme: Refactor documentation phases.
Patches merged in both upstream Chez Scheme and Racket's variant will
soon let us replace the 'install-docs' phase with just
'make install-docs'.  Separating the 'link-doc-pdfs' phase (which won't
change) leaves us well-prepared for the transition, regardless of
whether Chez Scheme 9.5.10 or Racket 8.6 is released first.

* gnu/packages/chez.scm (chez-scheme)[arguments]: Split 'install-doc'
phase into 'install-docs' (matching the future 'make' target) and
'link-doc-pdfs'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:08 +02:00
Philip McGrath
e9ac2a8f4b
gnu: chez-scheme: Update to 9.5.8.
* gnu/packages/chez.scm (chez-scheme): Update to 9.5.8.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:08 +02:00
Philip McGrath
544fbdcc9e
gnu: racket: Fix out-of-source build.
* gnu/packages/racket.scm (racket-vm-cgc)[arguments]: Supply
'#:out-of-source? #t'. Wrap 'install-license-files' to work around
limitation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:07 +02:00
Philip McGrath
af375c6394
gnu: racket: Update to 8.5.
* gnu/packages/patches/racket-gui-tethered-launcher-backport.patch,
gnu/packages/patches/racket-enable-scheme-backport.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/chez.scm (chez-scheme-for-racket): Update to 9.5.7.6.
* gnu/packages/racket.scm (%racket-version): Update to 8.5.
(%racket-origin)[patches]: Remove obsolete patches.
(racket-vm-common-configure-flags): Correct comment.
(racket)[inputs]<2d, datalog, deinprogramm, draw, drracket, expeditor,
htdp, pict, plot, quickscript, racklog, rackunit, redex, scribble,
typed-racket, string-constants, syntax-color, web-server, xrepl>: Update
checksums.
<gui, srfi>: Likewise, and remove obsolete backports.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-05-12 10:30:07 +02:00
Arun Isaac
8980f6c532
gnu: quark: Use G-expressions.
* gnu/packages/web.scm (quark)[arguments]: Rewrite using G-expressions.
2022-05-12 13:29:57 +05:30
Arun Isaac
a1a55e5b60
gnu: fastahack: Wrap long line.
* gnu/packages/bioinformatics.scm (fastahack): Wrap long line.
2022-05-12 12:59:18 +05:30
Efraim Flashner
2e0d02ebe3
gnu: agda.scm: Add missing import.
* gnu/packages/agda.scm: Also use (guix gexp).
2022-05-12 08:42:09 +03:00
Leo Famulari
b33ebc22fb
gnu: linux-libre 5.4: Update to 5.4.192.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.192.
(linux-libre-5.4-pristine-source, deblob-scripts-5.4): Update hashes.
2022-05-11 20:29:49 -04:00
Leo Famulari
2d7264721e
gnu: linux-libre 5.10: Update to 5.10.114.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.114.
(linux-libre-5.10-pristine-source, deblob-scripts-5.10): Update hashes.
2022-05-11 20:29:49 -04:00
Leo Famulari
f8057fdb7e
gnu: linux-libre 5.15: Update to 5.15.38.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.38.
(linux-libre-5.15-pristine-source, deblob-scripts-5.15): Update hashes.
2022-05-11 20:29:49 -04:00
Leo Famulari
96795f6be3
gnu: linux-libre: Update to 5.17.6.
* gnu/packages/linux.scm (linux-libre-5.17-version): Update to 5.17.6.
(linux-libre-5.17-pristine-source, deblob-scripts-5.17): Update hashes.
2022-05-11 20:29:45 -04:00
Tobias Geerinckx-Rice
f04dceac72
gnu: beep: Drop obsolete $(pkgdocdir) make flag.
* gnu/packages/terminals.scm (beep)[arguments]: Remove "pkgdocdir="
from #:make-flags.
2022-05-08 02:00:40 +02:00
Tobias Geerinckx-Rice
e6c3e7d741
gnu: beep: Use G-expressions.
* gnu/packages/terminals.scm (beep)[arguments]:
Rewrite as G-expressions.
2022-05-08 02:00:40 +02:00
Tobias Geerinckx-Rice
de15ca7af8
gnu: beep: Update to 1.4.12.
* gnu/packages/terminals.scm (beep): Update to 1.4.12.
[arguments]: Set $(CC) #:make-flag.
Manually substitute the correct value of make check's $(PWD). (!)
2022-05-08 02:00:40 +02:00
Tobias Geerinckx-Rice
cd00881d72
gnu: lighttpd: Update style.
* gnu/packages/web.scm (lighttpd)[arguments]:
Rewrite as G-expressions.  Don't explicitly return #t from phases.
[inputs]: Remove input labels.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
fd7130e4b5
gnu: lighttpd: Update to 1.4.64.
* gnu/packages/web.scm (lighttpd): Update to 1.4.64.
[arguments]: Add a new 'skip-failing-tests phase.
[inputs]: Substitute pcre2 for pcre & pcre:bin.
2022-05-08 02:00:01 +02:00
Tobias Geerinckx-Rice
faf715b1dc
gnu: lighttpd: Fix bash reference.
* gnu/packages/web.scm (lighttpd)[arguments]:
Substitute SEARCH-INPUT-FILE for WHICH.
[inputs]: Add bash-minimal.

f fix lighttpd xcc
2022-05-08 02:00:01 +02:00
Tobias Geerinckx-Rice
20fbd87093
gnu: recutils: Fix cross-compilation.
* gnu/packages/databases.scm (recutils)
[arguments]: Point "--with-bash-headers" to the root bash
"/include" directory.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
b4c9a3d23b
gnu: recutils: Remove some input labels.
* gnu/packages/databases.scm (recutils)[inputs]:
Remove input labels.
[arguments]: Adjust accordingly.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
5fdc955615
doc: Avoid leading ‘But’.
* doc/guix.texi (Manual Installation): End sentence later.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
5ed3fca18c
gnu: iceauth: Update to 1.0.9.
* gnu/packages/xorg.scm (iceauth): Update to 1.0.9.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
914d2c2142
gnu: agda: Use G-expressions.
* gnu/packages/agda.scm (agda)[arguments]:
Rewrite as G-expressions.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
2c67e1cfbf
gnu: agda: Update to 2.6.2.2.
* gnu/packages/agda.scm (agda): Update to 2.6.2.2.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
388e039044
gnu: isc-dhcp: Update to 4.4.3.
* gnu/packages/admin.scm (isc-dhcp): Update to 4.4.3.
[source]: Remove upstreamed patch.
* gnu/packages/patches/isc-dhcp-gcc-compat.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2022-05-08 02:00:00 +02:00
Ludovic Courtès
d355381062
gnu: python-pygit2: Update to 1.9.1.
* gnu/packages/python-xyz.scm (python-pygit2): Update to 1.9.1.
[propagated-inputs]: Change LIBGIT2-1.3 to LIBGIT2.
2022-05-11 23:50:27 +02:00
Ludovic Courtès
e764b89a52
gnu: libgit2: Update to 1.4.3.
* gnu/packages/version-control.scm (libgit2): Update to 1.4.3.
[source]: Adjust snippet to comment out the "10 years ago" test, which
was changed in 1.4.3 but is still problematic.
[arguments]: Add "-DUSE_SSH=ON".  Remove 'fix-hardcoded-paths' phase.
Adjust 'check' phase for new executable name.
(libgit2-1.3): New variable.
(libgit2-1.1): Inherit from 'libgit2-1.3'; inherit from its origin too.
* gnu/packages/crates-io.scm (rust-git2-0.13)[inputs]: Use LIBGIT2-1.3.
* gnu/packages/python-xyz.scm (python-pygit2)[propagated-inputs]: Likewise.

Co-authored-by: Maxime Devos <maximedevos@telenet.be>
2022-05-11 23:50:26 +02:00
Tobias Geerinckx-Rice
d24ad39491
gnu: nq: Use G-expressions.
* gnu/packages/admin.scm (nq)[arguments]:
Rewrite as G-expressions.
2022-05-08 02:00:01 +02:00
Tobias Geerinckx-Rice
4051231d20
gnu: nq: Update to 0.5.
* gnu/packages/admin.scm (nq): Update to 0.5.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
09e885d848
gnu: netcat-openbsd: Update to 1.218-5.
* gnu/packages/admin.scm (netcat-openbsd): Update to 1.218-5.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
85d56c1780
gnu: inxi-minimal: Update to 3.3.15-1.
* gnu/packages/admin.scm (inxi-minimal): Update to 3.3.15-1.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
8de6d6ffb2
gnu: htop: Update to 3.2.0.
* gnu/packages/admin.scm (htop): Update to 3.2.0.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
6f4ceb5449
gnu: libscrypt: Use G-expressions.
* gnu/packages/crypto.scm (libscrypt)[arguments]:
Rewrite as G-expressions.
2022-05-08 02:00:00 +02:00
Tobias Geerinckx-Rice
601d95206d
gnu: libscrypt: Update to 1.22.
* gnu/packages/crypto.scm (libscrypt): Update to 1.22.
2022-05-08 02:00:00 +02:00
Lars-Dominik Braun
dc00098535
gnu: mergerfs: Update to 2.33.5.
* gnu/packages/file-systems.scm (mergerfs): Update to 2.33.5.
2022-05-11 12:31:14 +02:00
Efraim Flashner
427dbce3a8
gnu: rust-rand-distr-0.4: Move code changes to snippet.
* gnu/packages/crates-io.scm (rust-rand-distr-0.4)[arguments]: Move code
relaxing version requirements ...
[source]: ... to a snippet.
2022-05-11 11:29:37 +03:00
Efraim Flashner
d47b7bbfc8
gnu: rust-nalgebra-macros-0.1: Move code changes to snippet.
* gnu/packages/crates-io.scm (rust-nalgebra-macros-0.1)[arguments]: Move
code relaxing version requirements ...
[source]: ... to a snippet.
2022-05-11 11:28:21 +03:00
Efraim Flashner
9dd784bace
gnu: rust-nalgebra-0.26: Move code changes to snippet.
* gnu/packages/crates-io.scm (rust-nalgebra-0.26)[arguments]: Move code
relaxing version requirements ...
[source]: ... to a snippet.
(rust-nalgebra-macros-0.1, rust-statrs-0.14)[arguments]: Adjust
accordingly.
2022-05-11 11:18:51 +03:00
Efraim Flashner
408d78d3ef
gnu: rust-average-0.13: Move code changes to snippet.
* gnu/packages/crates-io.scm (rust-average-0.13)[arguments]: Move code
relaxing version requirements ...
[source]: ... to a snippet.
(rust-nalgebra-0.26, rust-nalgebra-macros-0.1, rust-rand-distr-0.4,
rust-statrs-0.14)[arguments]: Adjust accordingly.
2022-05-11 11:11:12 +03:00
Efraim Flashner
210bc02c50
gnu: rust-pyo3-0.15: Adjust version dependency relaxing code.
* gnu/packages/crates-io.scm (rust-pyo3-0.15)[source]: Adjust snippet to
require at least the desired version, not an exact version.
2022-05-11 10:45:46 +03:00
Efraim Flashner
f0ce201f49
gnu: rust-proc-macro-error-1: Move code changes to snippet.
* gnu/packages/crates-io.scm (rust-proc-macro-error-1)[arguments]: Move
code relaxing version requirements from custom phase ...
[source]: ... to a snippet.
2022-05-11 10:03:36 +03:00
Efraim Flashner
ef1d3d44d0
gnu: rust-parking-lot-core-0.8: Move code changes to snippet.
This allows the changes to propagate through the cargo-build-system.

* gnu/packages/crates-io.scm (rust-parking-lot-core-0.8)[source]: Add
snippet to relax version dependencies.
[arguments]: Remove 'relax-dependencies phase.
2022-05-11 09:49:55 +03:00
Arun Isaac
aaa981f7c5
gnu: cwltool: Do not propagate inputs.
* gnu/packages/bioinformatics.scm (cwltool)[propagated-inputs]: Move to ...
[inputs]: ... here.
2022-05-11 10:52:45 +05:30
Stephen Paul Weber
57baf246e8
gnu: Add ruby-money-open-exchange-rates.
* gnu/packages/ruby.scm (ruby-money-open-exchange-rates): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-05-10 22:15:14 -04:00
Stephen Paul Weber
b9365c163d
gnu: Add ruby-monetize.
* gnu/packages/ruby.scm (ruby-monetize): New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
2022-05-10 22:15:14 -04:00