Commit graph

104799 commits

Author SHA1 Message Date
Maxim Cournoyer bf741cdd27
gnu: Add llvm-15.
* gnu/packages/llvm.scm (llvm-15): New variable.
(llvm-14): Inherit from it, removing duplicated fields.
* gnu/packages/patches/clang-15.0-libc-search-path.patch: New file.
* gnu/local.mk: Register it.
2022-11-16 14:08:02 -05:00
Ricardo Wurmus 615a57bdfb
gnu: Add dsp.
* gnu/packages/audio.scm (dsp): New variable.
2022-11-16 19:20:23 +01:00
Ricardo Wurmus 4073f43cbc
import/cran: Add package mapping for freetype.
* guix/import/cran.scm (transform-sysname): Map "freetype2" to "freetype".
2022-11-16 15:43:04 +01:00
Efraim Flashner 785fd09af0
gnu: rust-gfa-0.10: Update to 0.10.1.
* gnu/packages/crates-io.scm (rust-gfa-0.10): Update to 0.10.1.
2022-11-16 12:46:04 +02:00
kiasoc5 56c2afd29e
gnu: udiskie: Update to 2.4.2.
* gnu/packages/freedesktop.scm (udiskie): Update to 2.4.2.
  [phases]: Remove trailing #t.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-16 10:49:25 +01:00
Fabio Natali 996f897cf1
gnu: microscheme: Update to 0.9.4.
* gnu/packages/avr.scm (microscheme): Update to 0.9.4.
  [native-inputs]: Add clang and cppcheck.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-16 10:45:26 +01:00
Paul A. Patience 8a64495ef6
gnu: Add cl-random-sample.
* gnu/packages/lisp-xyz.scm (sbcl-random-sample, cl-random-sample,
ecl-random-sample): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-16 10:39:21 +01:00
Paul A. Patience 5bb4e9faae
gnu: Add cl-infix-math.
* gnu/packages/lisp-xyz.scm (sbcl-infix-math, cl-infix-math,
ecl-infix-math): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-16 10:36:07 +01:00
Paul A. Patience 56f73178e4
gnu: Add cl-wu-decimal.
* gnu/packages/lisp-xyz.scm (sbcl-wu-decimal, cl-wu-decimal,
  ecl-wu-decimal): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-16 10:34:42 +01:00
Paul A. Patience fd34760e28
gnu: Add cl-moira.
* gnu/packages/lisp-xyz.scm (sbcl-moira, cl-moira, ecl-moira): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-16 10:29:50 +01:00
Paul A. Patience ce9f956095
gnu: Add cl-flamegraph.
* gnu/packages/lisp-xyz.scm (sbcl-flamegraph, cl-flamegraph): New
  variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-16 10:23:53 +01:00
jgart 608999be59
gnu: Add cl-closure-template.
* gnu/packages/lisp-xyz.scm (cl-closure-template, ecl-closure-template,
  sbcl-closure-template): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2022-11-16 10:16:23 +01:00
Florian Pelz 706a916056
news: Add 'de' translation.
* etc/news.scm: Add German translation of '--symlink' entry.
2022-11-16 09:08:44 +01:00
Maxim Cournoyer 5512915c3b
gnu: mcron: Update to 1.2.1-0.5fd0ccd.
* gnu/packages/guile-xyz.scm (mcron): Update to 1.2.1-0.5fd0ccd.
[native-inputs]: Add autoconf, automake, help2man, and texinfo.
2022-11-15 16:26:16 -05:00
Maxim Cournoyer 1df89e4345
gnu: Remove guile2.2-mcron.
* gnu/packages/guile-xyz.scm (guile2.2-mcron): Delete variable.
2022-11-15 16:26:16 -05:00
Maxim Cournoyer 3d8a331518
gnu: mcron: Use gexps and strip trailing #t.
* gnu/packages/guile-xyz.scm (mcron)
[phases]: Use gexps and strip trailing #t.
2022-11-15 16:26:16 -05:00
Maxim Cournoyer 9b21cd2e9a
services: mcron: Add log? and log-format fields to mcron-configuration.
* gnu/services/mcron.scm (list-of-gexps?): New predicate.
(mcron-configuration): Rewrite using define-configuration.
[log?, log-format]: New fields.
(mcron-shepherd-services): Invoke mcron with the --log and --log-format
arguments when log? is #t,
(generate-doc): New procedure.
* doc/guix.texi (Scheduled Job Execution): Update doc.
(Mcron Home Service): Likewise.
* gnu/home/services/mcron.scm: Keep in sync with the above changes to
gnu/services/mcron.scm.
2022-11-15 16:26:16 -05:00
Maxim Cournoyer 543d971ed2
services: configuration: Re-order generated record fields.
This is so that the first field of the generated record matches the first one
declared, which makes 'define-configuration' record API compatible with
define-record-type* ones.

* gnu/services/configuration.scm (define-configuration-helper): Move the
%location field below the ones declared by the user.
* gnu/services/monitoring.scm (zabbix-front-end-config): Adjust match pattern
accordingly.
2022-11-15 16:26:16 -05:00
Maxim Cournoyer 8f9588185d
news: Add entry for 'guix shell --symlink'.
* etc/news.scm: Add entry.
2022-11-15 14:40:53 -05:00
Maxim Cournoyer b538ccc208
etc/news.scm: Normalize indentation.
* etc/news.scm: Normalize indentation.
2022-11-15 14:38:28 -05:00
Maxim Cournoyer 788602b37f
shell: Detect --symlink spec problems early.
* guix/scripts/pack.scm (symlink-spec-option-parser): Remove extraneous
char-set.  Raise an exception when the target is an absolute file name.
(guix-pack): Move with-error-handler earlier.
* guix/scripts/shell.scm (guix-shell): Likewise.
* guix/scripts/environment.scm (guix-environment): Wrap the whole
guix-environment* call with the with-error-handling handler.
* tests/guix-environment-container.sh: Add tests.
* tests/guix-pack.sh: Adjust symlink spec.
2022-11-15 14:15:11 -05:00
Maxim Cournoyer b31ea797ed
guix: shell: Add '--symlink' option.
* guix/scripts/pack.scm (%options): Extract symlink parsing logic to...
(symlink-spec-option-parser): ... here.
(self-contained-tarball/builder): Add a comment mentioning why a relative file
name is used for the link target.
* guix/scripts/environment.scm (show-environment-options-help): Document new
--symlink option.
(%default-options): Add default value for symlinks.
(%options): Register new symlink option.
(launch-environment/container): Add #:symlinks argument and extend doc, and
create symlinks using evaluate-populate-directive.
(guix-environment*): Pass symlinks arguments to launch-environment/container.
* doc/guix.texi (Invoking guix shell): Document it.
* tests/guix-shell.sh: Add a --symlink (negative) test.
* tests/guix-environment-container.sh: Add tests.
2022-11-15 14:15:11 -05:00
Maxim Cournoyer 0bb872b379
install: Validate symlink target in evaluate-populate-directive.
* gnu/build/install.scm (evaluate-populate-directive): By default, error when
the target of a symlink doesn't exist.  Always ensure TARGET ends with "/".
(populate-root-file-system): Call evaluate-populate-directive with
 #:error-on-dangling-symlink #t and add comment.
2022-11-15 14:15:11 -05:00
Maxim Cournoyer 8934827014
Makefile.am: Sort EXTRA_DIST entries.
* Makefile.am (EXTRA_DIST): Sort.
2022-11-15 14:15:10 -05:00
Efraim Flashner 45ae3c830f
gnu: Add rust-1.65.
* gnu/packages/rust.scm (rust-1.65): New variable.
2022-11-15 18:13:37 +02:00
Efraim Flashner b4762e1e87
gnu: Add rust-1.64.
* gnu/packages/rust.scm (rust-1.64): New variable.
2022-11-15 18:13:37 +02:00
kiasoc5 9a27b61d37
gnu: Add rust-1.63.
* gnu/packages/rust.scm (rust-1.63): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 18:13:37 +02:00
kiasoc5 f0ccfcc0a7
gnu: Add rust-1.62.
* gnu/packages/rust.scm (rust-1.62): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 18:13:36 +02:00
kiasoc5 27237344d3
gnu: Add rust-1.61.
* gnu/packages/rust.scm (rust-1.61): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 18:13:36 +02:00
Marius Bakke 2f5607badc
gnu: libjxl: Propagate required inputs.
* gnu/packages/image.scm (libjxl)[inputs]: Move GOOGLE-BROTLI and
GOOGLE-HIGHWAY ...
[propagated-inputs]: ... here.
2022-11-15 13:09:04 +01:00
Tobias Geerinckx-Rice d2b4226709
gnu: nano: Update to 7.0.
* gnu/packages/nano.scm (nano): Update to 7.0.
2022-11-13 01:00:06 +01:00
Tobias Geerinckx-Rice ee1241fef6
gnu: fuzzel: Fix typo in description.
* gnu/packages/xdisorg.scm (fuzzel)[description]: Fix ‘foot’ typo.
2022-11-13 01:00:06 +01:00
Ludovic Courtès 5b555d639d
doc: Add missing closing parentheses in examples.
* doc/guix.texi (VNC Services, Guix Home Services): Add missing closing
parentheses.
2022-11-15 12:16:44 +01:00
pelzflorian (Florian Pelz) fd13259d85
doc: Link to the Git book instead of the git-scm.com homepage.
The Pro Git book, unlike the git-scm.com homepage, is translated to
many languages.  Therefore translators of the Guix Manual can point
to the appropriate translation now.

* doc/guix.texi (Invoking guix pull): Point to the Pro Git book's URL.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-15 12:16:44 +01:00
Ludovic Courtès 0be722a0b5
doc: Build pt_BR manual.
* doc/build.scm (%manual-languages): Add "pt_BR".
2022-11-15 12:16:44 +01:00
pelzflorian (Florian Pelz) 8162d207b1
doc: Refer to the pt_BR translation.
* doc/guix.texi (Top): Mention Brazilian Portuguese.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-15 12:16:44 +01:00
kiasoc5 feaa52801a
gnu: Add fuzzel.
This patch avoids building fuzzel with bundled nanosvg and uses librsvg instead.

* gnu/packages/xdisorg.scm (fuzzel): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-15 12:16:43 +01:00
Antero Mejr 7d1add80b2
gnu: Add safeint.
* gnu/packages/cpp.scm (safeint): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-11-15 12:16:43 +01:00
Ludovic Courtès 94dc60841b
installer: Migrate to 'guile-gnutls'.
* gnu/installer.scm (installer-program): Replace GNUTLS with GUILE-GNUTLS.
2022-11-15 12:16:43 +01:00
Ludovic Courtès 514fedbf39
installer: Report known-unsupported PCI devices.
* gnu/installer/hardware.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add it.
* po/guix/POTFILES.in: Add it.
* gnu/installer.scm (installer-steps): Pass #:pci-database to the
'welcome' step procedure.
* gnu/installer/newt.scm (welcome-page): Add #:pci-database and pass it
to 'run-welcome-page'.
* gnu/installer/newt/welcome.scm (check-hardware-support): Add #:pci-database.
Enumerate unsupported PCI devices and run an error page when unsupported
devices are found.
(run-welcome-page): Add #:pci-database and pass it to
'check-hardware-support' and to the recursive call.
* gnu/installer/record.scm (<installer>)[welcome-page]: Adjust comment.
* doc/guix.texi (Hardware Considerations): Mention it.
2022-11-15 12:16:43 +01:00
Ludovic Courtès 6b39c3afcc
installer: Error page width is parameterized.
* gnu/installer/newt/page.scm (run-error-page): Add #:width and honor
it.
2022-11-15 12:16:43 +01:00
Ludovic Courtès 938d6161cb
installer: Use 'current-guix' for extensions.
This lets us use the latest (gnu build linux-modules) for instance.
Note that items listed in 'with-extensions' come first in the load path,
before the directory containing the modules in 'with-imported-modules'.

* gnu/installer.scm (installer-program): Use (current-guix) instead of
'guix' in 'with-extensions'.
2022-11-15 12:16:43 +01:00
Ludovic Courtès afbd4d8470
linux-modules: Add 'load-pci-device-database'.
* gnu/build/linux-modules.scm (read-pci-device-database)
(load-pci-device-database): New procedures.
2022-11-15 12:16:43 +01:00
Ludovic Courtès 655fb8feac
linux-modules: Add support for listing PCI devices.
* gnu/build/linux-modules.scm (<pci-device>): New record type.
(pci-device-class-predicate, storage-pci-device?, network-pci-device?)
(display-pci-device?, pci-devices?): New procedures.
2022-11-15 12:16:42 +01:00
Ludovic Courtès 4f7ffb97a4
installer: Warn about hardware support after the welcome page.
This is a followup to 682639c107, which
added the uvesafb upfront, before welcome page had been displayed.

* gnu/installer/newt/welcome.scm (check-hardware-support): New
procedure.
(run-welcome-page): Use it.
2022-11-15 12:16:42 +01:00
James Smith de61a0aa4a
gnu: slade: Update to 3.2.1.
* gnu/packages/game-development.scm (slade): Update to 3.2.1.
[arguments]: Use G-expressions.
[phases]: Remove reset-slade.pk3-timestamp phase.
[inputs]: Remove input labels. Add lua and mpg123. Replace wxwidgets-3.1
with wxwidgets.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 12:30:49 +02:00
michaeldelago 3f58fbe34a
gnu: fzf: update to 0.34.0.
* gnu/packages/terminals.scm (go-github-com-junegunn-fzf): Update to
0.34.0.
[inputs]: Add go-github-com-rivo-uniseg, go-golang-org-x-term.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 12:30:49 +02:00
jgart d15373655b
gnu: python-bottle: Update to 0.12.23.
* gnu/packages/python-web.scm (python-bottle): Update to 0.12.23.
[native-inputs]: Add python-pytest.
[arguments]: Use pytest to call test suite.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 12:30:49 +02:00
Sharlatan Hellseher 3775e997ba
gnu: python-mdurl: Enable tests.
* gnu/packages/python-xyz.scm (python-mdurl): Enable tests.
[source]: Use git checkout with tests.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pytest.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 12:30:48 +02:00
Sharlatan Hellseher 153e7d8956
gnu: python-colorful: Enable tests.
* gnu/packages/python-xyz.scm (python-colorful): Enable tests.
[source]: Use git checkout which has tests.
[build-system]: Use pyproject-build-system.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-11-15 12:30:41 +02:00