Commit graph

98978 commits

Author SHA1 Message Date
Ludovic Courtès 89e2288751
profiles: Support the creation of profiles with version 3 manifests.
* guix/profiles.scm (%manifest-format-version): New variable.
(manifest->gexp): Add optional 'format-version' parameter.
[optional, entry->gexp]: Honor it.
(profile-derivation): Add #:format-version parameter and honor it.
(<profile>)[format-version]: New field.
(profile-compiler): Honor it.
* guix/build/profiles.scm (manifest-sexp->inputs+search-paths): Support
both versions 3 and 4.  Remove unused 'properties' variable.
* tests/profiles.scm ("profile-derivation format version 3"): New test.
2022-07-08 23:58:11 +02:00
Ludovic Courtès e7e04396c0
profiles: Remove support for reading versions 0 and 1.
Version 2 was introduced in commit
dedb17ad01 (May 2015), which made it into
Guix 0.9.0.

* guix/profiles.scm (find-package): Remove.
(sexp->manifest)[infer-search-paths]: Remove.
Remove clauses for versions 0 and 1.
2022-07-08 23:58:11 +02:00
Pierre Neidhardt d7d2340721
gnu: Add binary-types.
* gnu/packages/lisp-xyz.scm (cl-binary-types, ecl-binary-types,
sbcl-binary-types): New variables.
2022-07-08 22:14:36 +02:00
Pierre Neidhardt 114b40ed67
gnu: cl-slime-swank: Store .fasl in the ASDF registry.
* gnu/packages/lisp-xyz.scm (sbcl-slime-swank)[arguments]: Patch swank.asd to
store the .fasl in the ASDF registry so that they are found in the
package.
Also patch swank-loader.lisp so that it does not try to remove the .fasl from
the store.

(cl-slime-swank)[arguments]: Revert above patch of the swank.ask so that the
source package does not get bound to the SBCL package.

We would not have to do this if SLIME/Swank used ASDF properly instead of
working around it.
2022-07-08 19:32:45 +02:00
Pierre Neidhardt 1ae539eb4f
gnu: sbcl-dexador: Remove unneeded depedencies to reduce closure size.
* gnu/packages/lisp-xyz.scm (sbcl-dexador)[native-inputs]: Comment out.

This takes the closure size from 357 MiB down to 342 MiB.
2022-07-08 19:32:45 +02:00
Pierre Neidhardt 10ededddd3
gnu: sbcl-osicat: Remove bash reference from the closure.
* gnu/packages/lisp-xyz.scm (sbcl-osicat)[source]: Remove unneeded release.sh
file.

This takes the closure size of cl-osicat from 40 MiB down to 0 MiB.
2022-07-08 19:32:45 +02:00
Pierre Neidhardt 1004c54c2e
gnu: sbcl-trivial-clipboard: Replace xclip with xsel to reduce closure size.
* gnu/packages/lisp-xyz.scm (sbcl-trivial-clipboard)[inputs]: Replace xclip
with xsel.
[arguments]: Adapt reference.

This takes the closure size of cl-trivial-clipboard from 90 MiB down to 78 MiB.
2022-07-08 19:32:45 +02:00
Pierre Neidhardt ced05db048
gnu: sbcl-cluffer: Remove bash reference from the closure.
* gnu/packages/lisp-xyz.scm (sbcl-cluffer)[arguments]: Unpatch shell shebangs.

It's only needed to generate the documentation (which we should do at
build-time by the way).

This takes the closure size of cl-cluffer from 40 MiB down to 0 MiB.
2022-07-08 19:32:45 +02:00
Pierre Neidhardt 5fb69a3bed
gnu: sbcl-cl-gopher: Remove sbcl-cl-gopher reference in cl-gopher
* gnu/packages/lisp-xyz.scm (sbcl-cl-gopher)[arguments]: Delete the
useless '.lsh' files.

This takes the closure size from 150 MiB down to 0 MiB.
2022-07-08 19:32:45 +02:00
Pierre Neidhardt 6702441f17
gnu: sbcl-moptilities: Remove sbcl-moptilities reference in cl-moptilities.
* gnu/packages/lisp-xyz.scm (sbcl-moptilities)[arguments]: Delete the
'test-results' folder.

This takes the closure size from 158 MiB down to 0 MiB :)
2022-07-08 19:32:45 +02:00
Pierre Neidhardt fcac44c012
gnu: sbcl-slime-swank: Remove gawk reference from closure.
* gnu/packages/lisp-xyz.scm (sbcl-slime-swank)[source]: Delete the 'doc' folder.

This takes the closure size from 159 MiB down to 156 MiB.
2022-07-08 19:32:45 +02:00
Pierre Neidhardt 513f6c2786
gnu: sbcl-clsql: Remove Make reference from closure.
* gnu/packages/lisp-xyz.scm (sbcl-clsql)[source]: Delete the 'debian' folder
and all Makefiles.

This takes the closure size from 930 MiB down to 889 MiB.
2022-07-08 19:32:45 +02:00
Pierre Neidhardt 681a02916d
gnu: sbcl-uffi: Remove Make reference from closure.
* gnu/packages/lisp-xyz.scm (sbcl-uffi)[source]: Delete the 'debian' folder.

This takes the closure size from 209 MiB down to 151 MiB.
2022-07-08 19:32:44 +02:00
Pierre Neidhardt 474a3da8e4
gnu: sbcl-rss: Remove Make reference from closure.
* gnu/packages/lisp-xyz.scm (sbcl-rss)[source]: Delete the 'debian' folder.

This takes the closure size from 234 MiB down to 176 MiB.
2022-07-08 19:32:44 +02:00
Pierre Neidhardt 04e3aa711a
gnu: sbcl-cl-base64: Remove Make reference from closure.
* gnu/packages/lisp-xyz.scm (sbcl-cl-base64)[source]: Delete the 'debian' folder.

This takes the closure size from 209 MiB down to 151 MiB.
2022-07-08 19:32:44 +02:00
Pierre Neidhardt b48e086e32
gnu: sbcl-kmrcl: Remove Make reference from closure.
* gnu/packages/lisp-xyz.scm (sbcl-kmrcl)[source]: Delete the 'debian' folder.

This takes the closure size from 209 MiB down to 151 MiB.
2022-07-08 19:32:44 +02:00
Pierre Neidhardt b212cdaedb
gnu: sbcl-puri: Remove Make reference from closure.
* gnu/packages/lisp-xyz.scm (sbcl-puri)[source]: Delete the 'debian' folder.

This takes the closure size from 209 MiB down to 151 MiB.
2022-07-08 19:32:44 +02:00
Pierre Neidhardt baed82efa7
gnu: sbcl-xlunit: Remove Make reference from closure.
* gnu/packages/lisp-check.scm (sbcl-xlunit)[source]: Delete the 'debian' folder.

This takes the closure size from 209 MiB down to 151 MiB.
2022-07-08 19:32:44 +02:00
Pierre Neidhardt ffc6e0a391
gnu: sbcl-ptester: Remove Make reference from closure.
* gnu/packages/lisp-check.scm (sbcl-ptester)[source]: Delete the 'debian' folder.

This takes the closure size from 209 MiB down to 151 MiB.
2022-07-08 19:32:44 +02:00
Pierre Neidhardt fef5fa4815
gnu: sbcl-rt: Remove Make reference from closure.
* gnu/packages/lisp-check.scm (sbcl-rt)[source]: Delete the 'debian' folder.

This takes the closure size from 209 MiB down to 151 MiB.
2022-07-08 19:32:44 +02:00
Pierre Neidhardt d14070bd29
gnu: sbcl: Remove Coreutils reference from closure.
* gnu/packages/lisp.scm (sbcl)[arguments]: Add phase to do it.

This shrinks SBCL from 167MiB to 150MiB.
Most importantly, this propagates to all sbcl-* packages.
2022-07-08 19:32:41 +02:00
Gabriel Wicki 1051db2526
gnu: Add ack.
* gnu/packages/textutils.scm (ack): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-07-08 18:41:35 +02:00
Gabriel Wicki dbb40b883e
gnu: Add perl-file-next.
* gnu/packages/perl.scm (perl-file-next): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2022-07-08 18:41:35 +02:00
Ricardo Wurmus bafa7a00a1
gnu: Add python-pyro-api.
* gnu/packages/machine-learning.scm (python-pyro-api): New variable.
2022-07-08 18:41:35 +02:00
Ricardo Wurmus 22e223e489
gnu: Add python-nbstripout.
* gnu/packages/jupyter.scm (python-nbstripout): New variable.
2022-07-08 18:41:35 +02:00
Ricardo Wurmus e56b07663c
gnu: Add python-pytest-cram.
* gnu/packages/python-check.scm (python-pytest-cram): New variable.
2022-07-08 18:41:35 +02:00
Ricardo Wurmus 684c718e6a
gnu: Add python-opt-einsum.
* gnu/packages/python-science.scm (python-opt-einsum): New variable.
2022-07-08 18:41:35 +02:00
Ricardo Wurmus c6136b48c2
gnu: Add python-torchfile.
* gnu/packages/machine-learning.scm (python-torchfile): New variable.
2022-07-08 18:41:35 +02:00
Leo Famulari 788ba04f38
gnu: FFmpeg 3: Update to 3.4.11.
* gnu/packages/video.scm (ffmpeg-3.4): Update to 3.4.11.
2022-07-08 12:15:30 -04:00
Leo Famulari df7acf25bc
gnu: FFmpeg 2: Update to 2.8.20.
* gnu/packages/video.scm (ffmpeg-2.8): Update to 2.8.20.
2022-07-08 12:15:29 -04:00
Leo Famulari f081342e10
gnu: linux-libre 4.9: Update to 4.9.322.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.322.
(linux-libre-4.9-pristine-source): Update hash.
2022-07-08 11:50:37 -04:00
Leo Famulari 564b60796e
gnu: linux-libre 4.14: Update to 4.14.287.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.287.
(linux-libre-4.14-pristine-source): Update hash.
2022-07-08 11:50:37 -04:00
Leo Famulari 942627ab14
gnu: linux-libre 4.19: Update to 4.19.251.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.251.
(linux-libre-4.19-pristine-source): Update hash.
2022-07-08 11:50:36 -04:00
Leo Famulari 010c233095
gnu: linux-libre 5.4: Update to 5.4.204.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.204.
(linux-libre-5.4-pristine-source): Update hash.
2022-07-08 11:50:36 -04:00
Leo Famulari f18e4e268b
gnu: linux-libre 5.10: Update to 5.10.129.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to 5.10.129.
(linux-libre-5.10-pristine-source): Update hash.
2022-07-08 11:50:36 -04:00
Leo Famulari 8dc0de8adb
gnu: linux-libre 5.15: Update to 5.15.53.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to 5.15.53.
(linux-libre-5.15-pristine-source): Update hash.
2022-07-08 11:50:35 -04:00
Leo Famulari e554c67e0e
gnu: linux-libre 5.18: Update to 5.18.10.
* gnu/packages/linux.scm (linux-libre-5.18-version): Update to 5.18.10.
(linux-libre-5.18-pristine-source): Update hash.
2022-07-08 11:50:28 -04:00
Paul A. Patience e07fa9b040
gnu: Add cppawk and cppawk-egawk.
* gnu/packages/gawk.scm (cppawk, cppawk-egawk): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-08 17:36:51 +02:00
Paul A. Patience 1fed71ce19
gnu: Add egawk-next.
* gnu/packages/gawk.scm (egawk-next): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-08 17:36:38 +02:00
Paul A. Patience 2e5c519b3f
gnu: Add gawk-mpfr.
* gnu/packages/gawk.scm (gawk-mpfr): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-08 17:36:27 +02:00
Paul A. Patience f5efde47f7
gnu: Use 'license:' prefix in (gnu packages gawk).
* gnu/packages/gawk.scm: Import (guix licenses) with 'license:' prefix.
(gawk, mawk)[license]: Prefix with 'license:'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-08 17:36:23 +02:00
Ale Abdo b4e74f875f
gnu: python-graph-tool: Update to 2.45.
* gnu/packages/graph.scm (python-graph-tool): Update to 2.45.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-08 17:32:15 +02:00
Ludovic Courtès 9100acb6fb
doc: cookbook: Link to "A Scheme Primer".
* doc/guix-cookbook.texi (A Scheme Crash Course): Link to "A Scheme
Primer".  Group references in @quotation for clarity.
2022-07-08 17:28:50 +02:00
Ludovic Courtès da7bee91fa
doc: cookbook: Suggest 'guix shell'.
* doc/guix-cookbook.texi (A Scheme Crash Course): Suggest 'guix shell'
instead of 'guix environment'.
(Customizing the Kernel, The benefits of manifests): Likewise.
2022-07-08 17:28:50 +02:00
Ludovic Courtès 3759b71dc8
gnu: curl@7.84.0: Reduce lib3026 resource use on 32-bit platforms.
This is a followup to c145e51844.

See discussion at
<https://lists.gnu.org/archive/html/guix-devel/2022-07/msg00011.html>.

* gnu/packages/curl.scm (curl-7.84.0)[arguments]: Remove
'skip-failing-tests' and add 'tweak-lib3026-test'.
2022-07-08 17:28:50 +02:00
Björn Höfling ff751a68dc
etc: teams: Add entry for Björn Höfling.
* etc/teams.scm.in ("Björn Höfling"): New member.
2022-07-08 17:11:24 +02:00
Felix Gruber 6f909b37fa
gnu: gdal: Use cmake-build-system.
Gdal declared its configure script as deprecated with the release of
version 3.5 and is planning to deprecate it with release 3.6 which is
scheduled for November 2022.

* gnu/packages/geo.scm (gdal)[build-system]: Use cmake-build-system.
  [arguments]: Remove configure flags for library search paths;
  they are found automatically by cmake now. Add
  -DGDAL_USE_INTERNAL_LIBS=WHEN_NO_EXTERNAL and
  -DGDAL_USE_JPEG12_INTERNAL=OFF to get approximately the same results
  as with the old configure script.
  [inputs]: Remove pcre. Add pcre2 and qhull.
2022-07-08 17:11:23 +02:00
jgart 15943fa757
gnu: python-debug: Improve synopsis.
* gnu/packages/python.scm (python-debug) [synopsis]: Update.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-07-08 09:33:12 -04:00
Timotej Lazar a9fd061212
gnu: sssd: Update to 2.7.3.
* gnu/packages/sssd.scm (sssd): Update to 2.7.3.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-07-08 13:52:13 +01:00
Christopher Baines b4c4a6acb1
guix: inferior: Fix the behaviour of open-inferior #:error-port.
I'm looking at this as the Guix Data Service uses this behaviour to record and
display logs from inferior processes.

* guix/inferior.scm (open-bidirectional-pipe): Call dup2 for file descriptor
2, passing either the file number for the current error port, or a file
descriptor for /dev/null.
* tests/inferior.scm ("#:error-port stderr", "#:error-port pipe"): Add two new
tests that cover some of the #:error-port behaviour.
2022-07-08 13:51:34 +01:00