Commit graph

107454 commits

Author SHA1 Message Date
Ludovic Courtès
80902fc210
gnu: guile-avahi: Fix cross-compilation.
Previously ./configure would fail because 'guile.m4' wouldn't be picked
up by 'autoreconf' when generating it.

* gnu/packages/guile-xyz.scm (guile-avahi)[native-inputs]: Add GUILE-3.0.
2023-01-05 15:16:17 +01:00
Ludovic Courtès
b5e3701f1a
environment: Avoid false positive on 'PS1' check.
* guix/scripts/environment.scm (validate-child-shell-environment): Do
not warn when 'PS1' refers to 'GUIX_ENVIRONMENT'.
2023-01-05 15:01:29 +01:00
Ludovic Courtès
632e2f7ce1
environment: Simplify 'PS1' suggestion on '--check'.
* guix/scripts/environment.scm (validate-child-shell-environment): In
'PS1' suggestion, remove 'export' and avoid 'if'.
2023-01-05 15:01:29 +01:00
Ludovic Courtès
086df6ef21
system: Define default 'PS1' in /etc/bashrc rather than ~/.bashrc.
Users can override 'PS1' in ~/.bashrc if they wish.

Previously, on Guix Home, the "default" 'PS1' would be set in ~/.bashrc
when 'home-bash-configuration-guix-defaults?' is true, preventing users
from overriding it via the 'environment-variables' field of
'home-bash-extension'.

* gnu/system/shadow.scm (%default-bashrc): Remove 'PS1' setting.
* gnu/system.scm (operating-system-etc-service): Define PS1 in
/etc/bashrc.
* gnu/home/services/shells.scm (add-bash-configuration): When
'home-bash-configuration-guix-defaults?' is true, add a default 'PS1' to
~/.bash_profile.
2023-01-05 15:00:27 +01:00
Ludovic Courtès
2127e56bd8
system, home: Factorize default '.bashrc'.
* gnu/system/shadow.scm (%default-bashrc): New variable.  Source
/etc/bashrc only if it exists.
(default-skeletons): Use it.
* gnu/home/services/shells.scm (guix-bashrc): Remove.
(add-bash-configuration): Refer to '%default-bashrc' instead.
2023-01-05 14:21:19 +01:00
Ludovic Courtès
73684dc90e
home: services: environment-variables: Add support for literal strings.
* gnu/home/services.scm (<literal-string>): New record type.
(environment-variable-shell-definitions): Split 'shell-quote' into
'quote-string' and 'shell-double-quote'.  Add 'shell-single-quote'.
Add clause for 'literal-string' records.
* tests/guix-home.sh: Test it.
* doc/guix.texi (Essential Home Services): Document it.
2023-01-05 14:20:23 +01:00
Ludovic Courtès
2c757e8fb4
home: '--version' really says "guix home".
* guix/scripts/home.scm (%options): Fix argument to 'show-version-and-exit'.
2023-01-05 13:12:24 +01:00
Julien Lepiller
dc7eb6f07a
nls: Update translations.
* po/guix/ka.po: New file.
* po/guix/LINGUAS: Add it.
* po/packages/uk.po: New file.
* po/packages/LINGUAS: Add it.
2023-01-05 08:14:55 +01:00
Ricardo Wurmus
658c09333d
gnu: kodi/wayland: Fix syntax error.
This is a follow-up to commit dbd9305a56.
Fixes the cuirass evaluation problems reported and investigated by Leo
Famulari.

* gnu/packages/kodi.scm (kodi/wayland)[inputs]: Do not wrap arguments to
"prepend" in "list".
2023-01-04 21:40:46 +01:00
Ricardo Wurmus
5f83dd03a2
gnu: kodi/wayland: Do not use package/inherit.
* gnu/packages/kodi.scm (kodi/wayland): Use regular inheritance.
2023-01-04 21:40:20 +01:00
Ricardo Wurmus
ec5b9fe27e
gnu: bamtools: Build shared libraries.
* gnu/packages/bioinformatics.scm (bamtools)[arguments]: Build shared
libraries instead of static libs.
2023-01-04 19:49:59 +01:00
Leo Famulari
c2c93abd18
gnu: zlib: Update to 1.2.12 [fixes CVE-2018-25032].
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-25032
https://seclists.org/oss-sec/2022/q1/191

* gnu/packages/compression.scm (zlib)[replacement]: New field.
(zlib-1.2.12): New variable.
2023-01-04 12:54:39 -05:00
Ricardo Wurmus
5fd9d3ba82
gnu: Add sugar.
* gnu/packages/sugar.scm (sugar): New variable.
2023-01-04 17:16:48 +01:00
Ricardo Wurmus
2ba9fbd32e
gnu: sugar-toolkit-gtk3: Add missing inputs.
* gnu/packages/sugar.scm (sugar-toolkit-gtk3)[propagated-inputs]: Add
python-pycairo and python-dateutil.
2023-01-04 17:14:59 +01:00
Ricardo Wurmus
7bd9994384
gnu: Add python-gwebsockets.
* gnu/packages/python-web.scm (python-gwebsockets): New variable.
2023-01-04 17:14:33 +01:00
Ricardo Wurmus
10e1025c63
gnu: Add scallop.
* gnu/packages/bioinformatics.scm (scallop): New variable.
2023-01-04 17:14:01 +01:00
Ricardo Wurmus
ddebb5c563
gnu: Add sugar-artwork.
* gnu/packages/sugar.scm (sugar-artwork): New variable.
2023-01-04 14:19:14 +01:00
Ricardo Wurmus
e1e76b7ab8
gnu: Add sugar-datastore.
* gnu/packages/sugar.scm (sugar-datastore): New variable.
2023-01-04 14:08:58 +01:00
Ricardo Wurmus
12c815e985
gnu: sugar-toolkit-gtk3: Propagate some inputs.
* gnu/packages/sugar.scm (sugar-toolkit-gtk3)[inputs]: Move gdk-pixbuf,
gobject-introspection, and librsvg-for-system from here...
[native-inputs]: ...and move gtk+ from here...
[propagated-inputs]: ...to here.
2023-01-04 14:06:51 +01:00
Brian Cully
201793fd07
gnu: hunspell: Move hunspell and dictionaries to hunspell module.
Consolidate hunspell and its dictionaries into the (gnu packages hunspell)
module instead of having them scattered about.

* gnu/packages/aspell.scm (aspell-word-list, define-word-list-dictionary,
hunspell-dict-{en, en-au, en-gb, en-gb-ize, en-us}): Remove variables.
* gnu/packages/libreoffice.scm (hunspell, dicollecte-french-dictionary,
define-french-dictionary, hunspell-dict-fr-{classique, moderne, réforme,
toutes-variantes}, hunspell-dict-pl, hunspell-dict-de, hunspell-dict-hu):
Remove variables.
* gnu/packages/hunspell.scm (hunspell, dicollecte-french-dictionary,
define-french-dictionary, hunspell-dict-fr-{classique, moderne, réforme,
toutes-variantes}, hunspell-dict-pl, hunspell-dict-de, hunspell-dict-hu,
aspell-word-list, define-word-list-dictionary, hunspell-dict-{en, en-au,
en-gb, en-gb-ize, en-us}): Add variables.
(hunspell-dictionary): Explicitly declare upstream libreoffice version to
prevent circular dependency.
* gnu/packages/ebook.scm,
gnu/packages/enchant.scm,
gnu/packages/freedesktop.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/messaging.scm,
gnu/packages/scribus.scm,
gnu/packages/task-management.scm,
gnu/packages/telegram.scm,
gnu/packages/tex.scm,
gnu/packages/text-editors.scm,
gnu/packages/video.scm: Adjust module imports.
2023-01-04 12:40:17 +01:00
Ricardo Wurmus
d62c65d5ad
gnu: Add sugar-toolkit-gtk3.
* gnu/packages/sugar.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2023-01-04 11:22:03 +01:00
Ricardo Wurmus
1f66dd0cfc
gnu: Correct file prefix.
* gnu/local.mk (dist_patch_DATA): Use "%D%" instead of "gnu" as prefix for
tootle patch files.
2023-01-04 11:22:03 +01:00
Sughosha
a8f1571150
gnu: Add wdl.
Alined and improved the definition, as per the chat in IRC.

* gnu/packages/cpp.scm (wdl): New public variable.
* gnu/packages/patches/wdl-link-libs-and-fix-jnetlib.patch: New file.
* gnu/local.mk: Register the patch file.
2023-01-04 11:22:03 +01:00
Nicolas Goaziou
3bb7c43a6f
gnu: emacs-inspector: Update to 0.9.
* gnu/packages/emacs-xyz.scm (emacs-inspector): Update to 0.9.
2023-01-04 10:53:45 +01:00
Nicolas Goaziou
8c68cdecfb
gnu: emacs-embark: Update to 0.19.
* gnu/packages/emacs-xyz.scm (emacs-embark): Update to 0.19.
2023-01-04 10:53:45 +01:00
Efraim Flashner
1d3098fc3b
gnu: libavif: Add rav1e when it is supported.
* gnu/packages/image.scm (libavif)[inputs]: Add rav1e when building on
a supported system.
2023-01-04 09:51:44 +02:00
Efraim Flashner
fe1ed81d28
gnu: libavif: Add configure-flag for rav1e when available.
* gnu/packages/image.scm (libavif)[arguments]: Adjust configure-flags to
build with rav1e support when it is in the build closure.
2023-01-04 09:51:44 +02:00
Efraim Flashner
9c098979a2
gnu: libavif: Honor #:tests? flag.
* gnu/packages/image.scm (libavif)[arguments]: Adjust custom 'check
phase to honor the #:tests? flag.
2023-01-04 09:51:40 +02:00
Maxim Cournoyer
6f53d04c32
gnu: jami-qt: Remove deprecated alias.
* gnu/packages/jami.scm (jami-qt): Delete variable.
2023-01-03 22:49:11 -05:00
Maxim Cournoyer
3e8071e3f2
gnu: jami-gnome: Remove deprecated alias.
* gnu/packages/jami.scm (jami-gnome): Delete variable.
2023-01-03 22:49:01 -05:00
Maxim Cournoyer
9a2af63b27
gnu: libring: Remove deprecated alias.
* gnu/packages/jami.scm (libring): Delete variable.
2023-01-03 22:48:34 -05:00
Ricardo Wurmus
4a487941ad
gnu: r-qs: Add missing inputs.
Use existing packages for zstd and lz4 instead of compiling bundled sources.

* gnu/packages/cran.scm (r-qs)[inputs]: Add zstd:lib and lz4.
[arguments]: Patch configure script to accept slightly older zstd.
2023-01-04 00:30:56 +01:00
Ricardo Wurmus
4fda13bd82
gnu: Add r-multidplyr.
* gnu/packages/cran.scm (r-multidplyr): New variable.
2023-01-04 00:30:56 +01:00
Ricardo Wurmus
d63f01d3e2
gnu: synfigstudio: Update to 1.4.4.
* gnu/packages/animation.scm (synfigstudio): Update to 1.4.4.
[source]: Remove snippet.
2023-01-04 00:30:56 +01:00
Ricardo Wurmus
df116a89f9
gnu: synfigstudio: Use gexp.
* gnu/packages/animation.scm (synfigstudio)[arguments]: Use gexp.
2023-01-04 00:30:56 +01:00
Ricardo Wurmus
5c08ed0939
gnu: synfig: Update to 1.4.4.
* gnu/packages/animation.scm (synfig): Update to 1.4.4.
[inputs]: Drop labels; remove ffmpeg.
[propagated-inputs]: Drop labels; add ffmpeg-4; replace glibmm with
glibmm-2.64; replace libxml++ with libxml++-2.
[arguments]: Remove.
2023-01-04 00:30:56 +01:00
Ricardo Wurmus
7957fdb88c
gnu: etl: Update to 1.4.4.
* gnu/packages/animation.scm (etl): Update to 1.4.4.
[inputs]: Add glibmm-2.64.
[native-inputs]: Add pkg-config.
2023-01-04 00:30:56 +01:00
Tobias Kortkamp
2361086b7c
gnu: sugar-*-sddm-theme: Fix install location.
* gnu/packages/display-managers.scm (sugar-dark-sddm-theme,
sugar-light-sddm-theme): Fix install location.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-03 16:37:55 -05:00
jgart
c13c890138
services: certbot: Fix broken link.
* gnu/services/certbot.scm (certbot-renewal-jobs): Fix broken link.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-03 16:34:44 -05:00
jman
4dab99ac9f
guix: Fix typos.
* gnu/home/services.scm (home-files-service-type): Fix typo.
(home-xdg-configuration-files-service-type): Likewise.
(home-xdg-data-files-service-type): Likewise.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-03 16:29:02 -05:00
Bruno Victal
ec365d1959
doc: Fix broken link for go-build-system.
* doc/guix.texi (Build Systems): Fix broken link for go-build-system.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-01-03 16:25:38 -05:00
Maxim Cournoyer
5588d9bd7a
gnu: %guile-static-3.0: New variable.
* gnu/packages/make-bootstrap.scm (%guile-static-3.0): New variable.
(%guile-static-stripped): Use it.
2023-01-03 16:17:37 -05:00
Maxim Cournoyer
45ac52239a
gnu: %guile-static-stripped: Update to Guile 3.0.8.
* gnu/packages/make-bootstrap.scm (%guile-static-stripped): Use
guile-3.0-latest, currently at 3.0.8.  This resolves a segfault in the Guix
System Linux initrd when running Guile 3.0.7 on a Cortex A9 CPU (NXP i.MX6
Quad).
2023-01-03 16:17:37 -05:00
Maxim Cournoyer
2707b6ccd7
gnu: cross-base: Standardize API to use keyword arguments.
This makes it possible to invoke the procedures with a single or fewer
optional arguments.

* gnu/packages/cross-base.scm (contains-keyword?): New procedure.
(cross-binutils): Dispatch to either...
(cross-binutils/deprecated): ... this renamed procedure or ...
(cross-binutils*): ... this new procedure.
(cross-kernel-headers, cross-libc/deprecated): Likewise.
2023-01-03 16:12:06 -05:00
Maxim Cournoyer
5dc8cf849b
gnu: dtc: Install documentation.
* gnu/packages/bootloaders.scm (dtc) [modules]: New argument.
[phases]: Add install-doc phase.
2023-01-03 16:03:26 -05:00
Maxim Cournoyer
a5b00d2733
gnu: dtc: Use gexps.
* gnu/packages/bootloaders.scm (dtc) [arguments]: Use gexps.
2023-01-03 16:03:26 -05:00
Maxim Cournoyer
ec3c37d733
gnu: dtc: Move native-inputs and inputs after arguments.
* gnu/packages/bootloaders.scm (dtc) [native-inputs, inputs]: Move after the
arguments field, per convention.
2023-01-03 16:03:26 -05:00
Parnikkapore
5dcf82452f
gnu: dbus: Add dbus to inputs.
* gnu/packages/stenography.scm (plover): Add dbus to inputs and
LD_LIBRARY_PATH.  Plover tries to load dbus during startup (visible
with --log-level debug).  This will allow it to find it.
[inputs]: Add dbus.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-01-03 21:56:53 +01:00
Parnikkapore
f9cd9ed869
gnu: plover: Wrap so that icons can be found.
* gnu/packages/stenography.scm (plover): Wrap and add qtsvg to QT_PLUGIN_PATH
  This is needed for the icons in Plover's UI to appear.
[inputs]: Add BASH-MINIMAL.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-01-03 21:56:53 +01:00
Nicolas Goaziou
a6b8d4e336
gnu: emacs-visual-fill-column: Update to 2.5.1.
* gnu/packages/emacs-xyz.scm (emacs-visual-fill-column): Update to 2.5.1.
2023-01-03 21:56:53 +01:00