Commit graph

104661 commits

Author SHA1 Message Date
Andrew Tropin d69b90e9aa
gnu: ungoogled-chromium-wayland: Use PipeWire by default.
* gnu/packages/chromium.scm (ungoogled-chromium/wayland)[arguments]<#:builder>:
Add --enable-features=WebRTCPipeWireCapture to wrapping executable.
2022-11-17 08:38:37 +04:00
Marius Bakke abf214cda0
gnu: crc32c: Fix build on x86_64-linux.
* gnu/packages/cpp.scm (crc32c)[arguments]: Remove #:phases.  The check is for
SSE support in the compiler, not the build machine; and the runtime code tests
for SSE availability on the CPU before enabling the SSE code path.
2022-11-17 02:28:32 +01:00
Tobias Geerinckx-Rice 0081807e16
guix: Replace defective freemirror.org.
This ‘mirror’ is particularly problematic because it's the only one checked
by ‘guix refresh’.

* guix/gnu-maintenance.scm (%savannah-base): Substitute freedif.org.
* guix/download.scm (%mirrors): Likewise.

Reported by sash-kan on #guix.
2022-11-13 01:00:07 +01:00
Tobias Geerinckx-Rice 39e4e00f75
services: configuration: Revert to a working ‘guix home’.
This reverts commit 543d971ed2, and
its dependent commit 9b21cd2e9a, which
appear to have triggered a recent wave of ‘guix home’ regressions
involving (services (list (service home-bash-service-type))):

In gnu/home/services/shells.scm:
    504:7  3 (home-bash-extensions #<<home-bash-configuration> package: #<package bash@5.1.8 gnu/packages/ba…> …)
In unknown file:
           2 (append #<<location> file: "…" line: 14 column: 12> ())
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure append: Wrong type argument in position 1 (expecting empty list): #<<location> file: "…" line: 14 column: 12>

I should love to dive in & fix this rather than revert, but urgently
need sleep.
2022-11-13 01:00:00 +01:00
Tobias Geerinckx-Rice 0ad036b090
gnu: bind: Update to 9.16.35.
* gnu/packages/dns.scm (isc-bind): Update to 9.16.35.
2022-11-13 01:00:00 +01:00
Mark H Weaver 0747cacc58
gnu: icecat: Update to 102.5.0-guix0-preview1 [security fixes].
Includes fixes for CVE-2022-45403, CVE-2022-45404, CVE-2022-45405,
CVE-2022-45406, CVE-2022-45408, CVE-2022-45409, CVE-2022-45410,
CVE-2022-45411, CVE-2022-45412, CVE-2022-45416, CVE-2022-45418,
CVE-2022-45420, and CVE-2022-45421.

* gnu/packages/gnuzilla.scm (%icecat-version, %icecat-build-id): Update.
(icecat-source): Update gnuzilla commit, base version, and hashes.
2022-11-16 16:45:54 -05:00
Maxim Cournoyer 6aa5d1dc24
guix-install.sh: Expand mktemp template for busybox compatibility.
Fixes <https://issues.guix.gnu.org/58858>.

* etc/guix-install.sh (main): Use 6 'X' characters in the template, as this is
the minimum required by Busybox's mktemp (which matches glibc's mktemp
behavior).

Reported-by: conses <contact@conses.eu>
2022-11-16 16:23:15 -05:00
Maxim Cournoyer e06df550e2
Update NEWS. 2022-11-16 14:28:09 -05:00
Maxim Cournoyer 83fb681658
gnu: Add clang-toolchain-15.
* gnu/packages/llvm.scm (clang-toolchain-15): New variable.
2022-11-16 14:08:03 -05:00
Maxim Cournoyer 68cb4f0760
gnu: Add libomp-15.
* gnu/packages/llvm.scm (libomp-15): New variable.
(libomp-14): Inherit from it.
[arguments]: Use substitute-keyword-arguments and override the
chdir-to-source-and-install-license phase.  Remove redundant fields.
2022-11-16 14:08:03 -05:00
Maxim Cournoyer ac99ead663
gnu: Add clang-15.
* gnu/packages/llvm.scm (clang-from-llvm): Add LEGACY-BUILD-SHARED-LIBS?
argument and update doc.
[configure-flags]: Conditionally add -DCLANG_LINK_CLANG_DYLIB=ON.
[phases]{change-directory}: Conditionally add phase.
{add-tools-extra}: Conditionally patch AddClang.cmake file.
(clang-15): New variable.
(clang-14): Streamline.
(clang-13, clang-12, clang-11, clang-10, clang-9, clang-8, clang-7, clang-6)
(clang-3.9.1, clang-3.8, clang-3.7, clang-3.5): Set LEGACY-BUILD-SHARED-LIBS?
argument to #t.
2022-11-16 14:08:03 -05:00
Maxim Cournoyer 52c1f5c825
gnu: Add clang-runtime-15.
* gnu/packages/llvm.scm (clang-runtime-15): New variable.
2022-11-16 14:08:02 -05:00
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