Commit graph

100999 commits

Author SHA1 Message Date
Maxime Devos
3c48ef60ad
gnu: hashcat: Don't embed timestamp, fixing reproducibility.
* gnu/packages/password-utils.scm (hashcat)[arguments]{#:phases}:
Remove timestamp, fixing reproducibility.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:13 +02:00
Philip McGrath
ed24d6b46c
gnu: racket: Use Racket CS on all systems.
This patch uses the 'pbarch' support added to 'racket-vm-cs' to make it
the default Racket VM implementation on all systems.

* gnu/packages/racket.scm (racket-vm-for-system): Remove.
(racket-minimal, racket)[inputs]: Replace '(racket-vm-for-system)' with
'racket-vm-cs'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00
Philip McGrath
64a27e1678
gnu: racket-vm-bc: Add workaround for ppc64le.
This is an attempt to avoid a problem with Racket BC on ppc64 reported
in <https://issues.guix.gnu.org/57050#19> that was exposed by attempting
to use Racket BC to bootstrap Chez Scheme. Thanks to Matthew Flatt for
the workaround: <https://racket.discourse.group/t/950/30>.

* gnu/packages/racket.scm (racket-vm-bc)[arguments]<#:configure-flags>:
Increase the number of bytes that should be available on the stack for
"safety" when checking for stack overflow.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00
Philip McGrath
a15d72f8e1
gnu: chez-scheme-for-racket: Support all systems.
On systems for which Racket's variant of Chez Scheme cannot generate
native code, it can use a 'pbarch' machine type: a variant of the
``portable bytecode'' backend specialized to word size and endianness.
This allows Racket CS to replace Racket BC on those systems while
maintaining comparable performance. (Racket BC lacks JIT support for
those systems anyway.) It also lets us provide a Chez Scheme package on
all systems Guix supports.

This patch adds 'pbarch' support to both 'chez-scheme-for-racket' and
'racket-vm-cs', but it does not change the Racket VM implementation used
for the 'racket' and 'racket-minimal' packages.

* gnu/packages/chez.scm (nix-system->pbarch-machine-type): New variable.
(chez-scheme-for-racket)[inputs]: Use 'libffi' for non-native systems.
[arguments]<#:configure-flags>: Always supply '-m='. Add applicable
flags for non-native systems.
[supported-systems]: Use '%supported-systems'.
[description]: Update.
(chez-scheme-for-racket-bootstrap-bootfiles)[arguments]<#:phases>: Adapt
'build' phase for non-native systems.
* gnu/packages/racket.scm (racket-vm-bc)[description]: Update.
(racket-vm-cs)[description]: Likewise.
[inputs]: Use 'libffi' for non-native systems.
[arguments]<#:configure-flags>: Add applicable flags for non-native
systems.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00
Philip McGrath
cb0d106590
gnu: racket: Support cross-compiling the VM packages.
Cross-compilation works for 'racket-vm-cgc', 'racket-vm-bc', and
'racket-vm-cs'. These changes are not enough to cross-compile
'racket-minimal' or 'racket': that would require building and loading
cross-compilation pluggins for 'racket-vm-cs', which will be much
easier once we can build the package 'raco-cross'.

* gnu/packages/racket.scm (racket-vm-cgc): Add 'this-package' when
cross-compiling.
(racket-vm-bc)[native-inputs]: Adjust accordingly.
(racket-vm-cs)[native-inputs]: Use 'racket-vm-cs' instead of
'racket-vm-bc' when cross-compiling. Adapt to changes to
'racket-vm-cgc'.
[arguments]<#:configure-flags>: Fix '--enable-scheme' for
cross-compilation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00
Philip McGrath
9ed6e51ceb
gnu: chez-scheme-for-racket: Support cross-compilation.
* gnu/packages/chez.scm (racket-cs-native-supported-system): Change to
return the applicable machine type instead of '#t'.
(chez-scheme-for-racket)[native-inputs]: When cross-compiling, add
'this-package'.
[arguments]<#:configure-flags>: When cross-compiling, supply '-m=' and
'--toolprefix='.
<#:phases>: Work around cross-compilation issues in 'build' and
'install-docs'.
(chez-scheme-for-racket-bootstrap-bootfiles): When cross-compiling,
use 'zuo' and 'chez-scheme-for-racket' instead of 'racket-vm-bc'.
[arguments]<#:phases>: Adapt 'build' phase for cross-compilation.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00
Philip McGrath
47da722838
gnu: chez-scheme: Make bootfiles regular inputs.
* gnu/packages/chez.scm (chez-scheme)[native-inputs]: Move
'chez-scheme-bootstrap-bootfiles' to ...
[inputs]: ... this field.
[arguments]<#:phases>: Update 'unpack-bootfiles' accordingly.
(chez-scheme-for-racket)[native-inputs]: Move
'chez-scheme-for-racket-bootstrap-bootfiles' to ...
[inputs]: ... this field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:12 +02:00
Philip McGrath
9647296ce6
gnu: racket: Update to 8.6.
Also, update 'chez-scheme-for-racket' to 9.5.9.2.

* gnu/packages/patches/racket-chez-scheme-bin-sh.patch: Refresh patch.
* gnu/packages/patches/racket-backport-8.6-cross-install.patch,
gnu/packages/patches/racket-backport-8.6-docindex-write.patch,
gnu/packages/patches/racket-backport-8.6-hurd.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/racket.scm (%racket-origin)[patches]: Use them and the
patches for Zuo.
(%racket-version): Update to 8.6.
(zuo)[version]: Refer to '%racket-version'.
[origin]: Use '%racket-origin'.
(racket-vm-cgc)[native-inputs]: Add 'zuo'.
[arguments]<#:make-flags>: Use 'zuo' from 'native-inputs'.
(racket)[inputs]<data, db, deinprogramm, draw, drracket, errortrace,
gui, htdp, math, option-contract, parser-tools, pict, rackunit, realm,
redex, scribble, typed-racket, string-constants, swindle, syntax-color,
web-server>: Update checksums.
* gnu/packages/chez.scm (target-chez-os): Handle Hurd and QNX.
(%chez-features-table): Likewise.
(chez-scheme-for-racket): Update to 9.5.9.2.
[native-inputs]: Add 'zuo'.
[arguments]<#:out-of-source?>: Use out-of-source build.
<#:tests?>: Skip them due to ongoing problems.
<#:configure-flags>: Add '--install-csug=' and '--installreleasenotes='.
<#:make-flags>: Use 'zuo' from 'native-inputs'. Supply 'STEXLIB=' here,
rather than in a phase.
<#:phases>: Replace 'install-docs' using new 'make' target.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:11 +02:00
Philip McGrath
07a8440f50
gnu: Add Zuo.
* gnu/packages/patches/racket-backport-8.6-zuo.patch,
gnu/packages/patches/racket-zuo-bin-sh.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/racket.scm (%zuo-version): New variable.
(zuo): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:11 +02:00
Philip McGrath
5142fba364
gnu: chez-scheme: Fix use of "/bin/sh".
The unsuccessful attempt to execute "/bin/sh" by Chez Scheme's 'process'
function seems to have caused parts of the Chez Scheme test suite to
have been silently skipped. The issue was exposed by the upcoming
changes to Racket's build system.

* gnu/packages/patches/chez-scheme-bin-sh.patch,
gnu/packages/patches/racket-chez-scheme-bin-sh.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/racket.scm (%racket-origin)[patches]: Update accordingly.
* gnu/packages/chez.scm (chez-scheme)[origin]<patches>: Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:11 +02:00
Philip McGrath
911768b6d5
gnu: racket: Adjust patch for "/bin/sh" in rktio.
Use '_PATH_BSHELL' instead of a custom preprocessor macro. This may not
be The Right Thing in the long term, but it at least avoids a
proliferation of 'CPPFLAGS'.

* gnu/packages/patches/racket-minimal-sh-via-rktio.patch: Rename to ...
* gnu/packages/patches/racket-rktio-bin-sh.patch: ... this, and change
to use '_PATH_BSHELL'.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/racket.scm (%racket-origin)[patches]: Likewise.
(racket-vm-common-configure-flags): Stop setting 'CPPFLAGS'. Change to a
constant instead of a function, since we no longer need the delay.
(racket-vm-cgc, racket-vm-bc,
racket-vm-cs)[arguments]<#:configure-flags>: Update accordingly.
[inputs]: Remove 'bash-minimal'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:11 +02:00
Philip McGrath
b8a6f6b40d
etc: teams: Add entry for Philip McGrath.
* etc/teams.scm.in ("Philip McGrath"): New member.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:11 +02:00
Philip McGrath
59b0cc6866
etc: teams: Add racket team.
* etc/teams.scm.in (racket): New team.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:11 +02:00
Philip McGrath
4176d47ef7
gnu: stex: Fix read-only gifs and math directories.
Excplicitly set the user write bit when initializing the gifs or math
directories from the skeletons installed in the store. See also upstream
discussion at <https://github.com/dybvig/stex/pull/6>. This problem
would be exposed by the upcoming changes to Racket's build system.

* gnu/packages/patches/stex-copy-from-immutable-store.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/chez.scm (stex-bootstrap)[patches]: Use it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:10 +02:00
Philip McGrath
92e8cff749
gnu: stex: Update to 1.2.2-2.afa6075.
* gnu/packages/chez.scm (stex-bootstrap): Update to 1.2.2-2.afa6075.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-04 23:10:10 +02:00
Ludovic Courtès
f1bbb06dad
guix system: Do not use 'vm-image.tmpl' in tests.
This is a followup to 95a03aa5c5.  Since
that commit, merely evaluating 'vm-image.tmpl' would trigger the build
of 'current-guix' so skip it.

* tests/guix-system.sh: Do not try to build 'vm-image.tmpl'.
2022-09-04 23:10:10 +02:00
Ludovic Courtès
9e59dbcd6c
guix describe: Adjust test to latest changes.
This is a followup to 64a070717c.

* tests/guix-describe.sh: Add trailing slash when checking URL.
2022-09-04 23:10:10 +02:00
Ludovic Courtès
7a2acbdc5a
store: Open daemon connections with SOCK_CLOEXEC.
Previously, 'guix shell' for example would leak the socket that's
connected to the daemon.

* guix/store.scm (open-unix-domain-socket, open-inet-socket): Pass
SOCK_CLOEXEC to 'socket'.
* tests/guix-shell.sh: Add test.
2022-09-04 23:10:10 +02:00
Ludovic Courtès
2028419e30
store: Remove unused variable and 'socket' call.
* guix/store.scm (open-inet-socket): Remove unused 'sock' variable.
2022-09-04 23:10:10 +02:00
Ludovic Courtès
eedf71f948
services: upower: Default to a percentage-based policy.
This is the documented default of UPower 0.99.15 (the actual default
appears to be #f though).

* gnu/services/desktop.scm (<upower-configuration>)
[use-percentage-for-policy?]: Default to #t.
* doc/guix.texi (Desktop Services): Adjust accordingly.  Explain the
tradeoff.
2022-09-04 23:10:10 +02:00
Ludovic Courtès
4765242540
services: upower: Update default percentage values.
These values are those used by default by UPower 0.99.15.

* gnu/services/desktop.scm (<upower-configuration>)[percentage-low]
[percentage-critical]: Increase.
* doc/guix.texi (Desktop Services): Update accordingly.
2022-09-04 23:10:09 +02:00
Nicolas Goaziou
41bce2414a
gnu: scintilla: Update to 5.3.0.
* gnu/packages/text-editors.scm (scintilla): Update to 5.3.0.
2022-09-04 20:46:25 +02:00
Nicolas Goaziou
afb7cb4204
gnu: emacs-autothemer: Update to 0.2.12.
* gnu/packages/emacs-xyz.scm (emacs-autothemer): Update to 0.2.12.
[description]: Add missing final full stop.
2022-09-04 20:41:46 +02:00
Paul A. Patience
75febb00a5
gnu: f3d: Update to 1.3.0-pre-0.46df21f.
* gnu/packages/graphics.scm (f3d): Update to 1.3.0-pre-0.46df21f.
[source](modules, snippet): New fields.
[arguments]<#:configure-flags>: Generate manual page, install various
resource files, and enable the now-optional external rendering feature.
[native-inputs]: New field.
[synopsis]: Add hyphen.
[description]: Reword.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-09-04 18:29:46 +01:00
Cees de Groot
8ba5075192
gnu: erlang: Update to 25.0.4.
* gnu/packages/erlang.scm (erlang): Update to 25.0.4.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-09-04 18:28:16 +01:00
Cees de Groot
d409da2f88
gnu: elixir: Update to 1.14.0.
* gnu/packages/elixir.scm (elixir): Update to 1.14.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-09-04 18:27:00 +01:00
kiasoc5
a5c24b3191
gnu: foot: Update to 1.13.1.
* gnu/packages/terminals.scm (foot): Update to 1.13.1.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-09-04 18:26:04 +01:00
gyara
f9a4923940
gnu: xmobar: Update to 0.44.2.
* gnu/packages/wm.scm (xmobar): Update to 0.44.2.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-09-04 18:25:14 +01:00
jgart
7ef04f00cd
gnu: Add cl-portable-condition-system.
* gnu/packages/lisp-xyz.scm (cl-portable-condition-system): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-09-04 18:23:43 +01:00
Christopher Baines
e40c57ba49
gnu: shotwell: Update to 0.30.16.
* gnu/packages/gnome.scm (shotwell): Update to 0.30.16.
2022-09-04 18:21:52 +01:00
Nicolas Goaziou
96f3793b33
gnu: Remove duplicate package.
* gnu/packages/emacs-xyz.scm (emacs-inheritenv): Remove duplicate package
introduced in 21f6026574.
2022-09-04 18:03:46 +02:00
Hendursaga
6199d66f8a
gnu: ding: Update to 1.9.
* gnu/packages/dictionaries.scm (ding): Update to 1.9.
[source]: Switch to HTTPS.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-04 17:57:02 +02:00
Michael Rohleder
5807a21e19
gnu: xfce4-notifyd: Update to 0.6.4.
* gnu/packages/xfce.scm (xfce4-notifyd): Update to 0.6.4.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-04 17:57:02 +02:00
Michael Rohleder
a2c6125b60
gnu: lesspipe: Update to 2.06.
* gnu/packages/less.scm (lesspipe): Update to 2.06.
[arguments]: Fixed typos in comment.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-04 17:57:02 +02:00
Matthew James Kraai
a451a809d5
Fix misspelling of GUIX_DIGITAL_OCEAN_TOKEN.
* gnu/machine/digital-ocean.scm (maybe-raise-missing-api-key-error): Fix
  misspelling of GUIX_DIGITAL_OCEAN_TOKEN.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-04 17:57:02 +02:00
Nicolas Goaziou
21f6026574
gnu: Add emacs-engrave-faces.
* gnu/packages/emacs-xyz.scm (emacs-engrave-faces): New variable.
2022-09-04 17:53:30 +02:00
Artyom V. Poptsov
353d6cbec1
gnu: guile2.2-ics: Update to 0.3.0
* gnu/packages/guile-xyz.scm (guile2.2-ics): Update to 0.3.0.
[package-inputs]: Replace "guile-smc" with "guile2.2-smc".
[propagated-inputs]: Use the new style.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-04 17:02:00 +02:00
Artyom V. Poptsov
3cf79710f3
gnu: Add guile2.2-smc
* gnu/packages/guile-xyz.scm (guile2.2-smc): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-04 17:01:56 +02:00
Artyom V. Poptsov
ae81cb6962
gnu: guile-ics: Update to 0.3.0.
* gnu/packages/guile-xyz.scm (guile-ics): Update to 0.3.0.
[phases]: Remove "strip" phase.
[propagated-inputs]: Add "guile-smc".

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-09-04 17:01:14 +02:00
Julien Lepiller
77e3042aef
nls: Update translations. 2022-09-04 16:52:02 +02:00
Olivier Dion via Guix-patches via
886306ba63
gnu: opendht: Update to 2.4.10.
* gnu/packages/networking.scm (opendht): Update to 2.4.10.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-09-04 10:18:13 -04:00
David Thompson
e4ccfcb22a
gnu: gitolite: Switch to git-minimal to reduce closure size.
* gnu/packages/version-control.scm (gitolite)[inputs]: Swap 'git' for
'git-minimal'.
[arguments]: Refer to 'git-minimal' input instead of 'git'.
2022-09-04 09:25:13 -04:00
David Thompson
1aa46a7e29
gnu: gitolite: Wrap programs instead of using propagated inputs.
* gnu/packages/version-control.scm (gitolite)[arguments]: Add git to wrapped
$PATH and additionally wrap gitolite-shell.
[inputs]: Add git and openssh.
[propagated-inputs]: Remove it.
2022-09-04 08:52:24 -04:00
Nicolas Goaziou
8b3112a355
gnu: emacs-org: Update to 9.5.5.
* gnu/packages/emacs-xyz.scm (emacs-org): Update to 9.5.5.
2022-09-04 11:17:50 +02:00
Marius Bakke
13cc34188a
gnu: ungoogled-chromium: Update to 105.0.5195.102-1.
* gnu/packages/chromium.scm (%chromium-version): Set to 105.0.5195.102-1.
(%ungoogled-origin, ungoogled-chromium): Update hashes.
2022-09-03 20:26:15 +02:00
pukkamustard
5cd7d7b3a2
gnu: Add ocaml-guile.
* gnu/packages/ocaml.scm (ocaml-guile): New variable.
2022-09-03 20:21:25 +02:00
Joeke de Graaf
5cf9b98d1c
gnu: Add eisl.
* gnu/packages/lisp.scm (eisl): New variable.

Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
2022-09-03 16:02:04 +02:00
Arun Isaac
419c56f87c
gnu: emacs-tamil99: Update to 0.1.2.
* gnu/packages/emacs-xyz.scm (emacs-tamil99): Update to 0.1.2.
2022-09-03 18:04:21 +05:30
Nicolas Goaziou
91c3120553
gnu: emacs-shell-command+: Update to 2.4.1.
* gnu/packages/emacs-xyz.scm (emacs-shell-command+): Update to 2.4.1.
2022-09-03 10:09:34 +02:00
Nicolas Goaziou
f66cb7372f
gnu: emacs-multitran: Update to 0.4.16.
* gnu/packages/emacs-xyz.scm (emacs-multitran): Update to 0.4.16.
2022-09-03 10:09:33 +02:00