Commit graph

102693 commits

Author SHA1 Message Date
John Kehayias
c7ba5f38b8
environment: Add '--emulate-fhs'.
* guix/scripts/environment.scm (show-environment-options-help, %options): Add
'--emulate-fhs'.
(setup-fhs): New procedure.  Setup for the Filesystem Hierarchy Standard (FHS)
container.  Defines and uses FHS-SYMLINKS and LINK-CONTENTS to create FHS
expected directories and creates /etc/ld.so.conf.
(launch-environment): Add 'emulate-fhs?' key and implement it to set $PATH and
generate /etc/ld.so.cache before calling COMMAND.
(launch-environment/container): Add 'emulate-fhs?' and 'setup-hook' keys and
implement them.  Define and use FHS-MAPPINGS, to set up additional bind mounts
in the container to follow FHS expectations.
(guix-environment*): Add glibc-for-fhs to the container packages when
'emulate-fhs?' key is in OPTS.
* doc/guix.texi (Invoking guix shell): Document '--emulate-fhs'.
(Invoking guix environment): Document '--emulate-fhs'.
* tests/guix-environment-container.sh: Add tests for '--emulate-fhs'.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-10-13 09:19:08 +02:00
John Kehayias
3d1d29e440
gnu: Add glibc-for-fhs.
* gnu/packages/base.scm (glibc-for-fhs): New variable. Hidden package for use
in forthcoming --emulate-fhs option for guix containers.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-10-13 09:19:08 +02:00
Nicolas Graves via Guix-patches via
910f2b5d88
gnu: Add ydotool.
* gnu/packages/xdisorg.scm (ydotool): New variable.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2022-10-13 11:09:29 +04:00
( via Guix-patches via
4ab434958b
gnu: home: Add home-dbus-service-type.
* gnu/home/services/desktop.scm (home-dbus-service-type): New variable.
(home-dbus-configuration): New record type.
* doc/guix.texi: Document them.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2022-10-13 09:05:46 +04:00
Liliana Marie Prikler
4bc5383b3b
gnu: mcg: Cleanup style.
* gnu/packages/mpd.scm (mcg)[source]: Indent as with ‘guix style’.
[arguments]: Convert to list of G-Expressions.
[inputs, native-inputs]: Move below arguments.
2022-10-12 21:14:12 +02:00
Simon Streit
24418eeb00
gnu: mcg: Update to 3.1.
* gnu/packages/mpd.scm (mcg): Update to 3.1.
[native-inputs]: Use the new inputs style.
Add desktop-file-utils, gettext-minimal and gtk+:bin.
[inputs]: Add python.
[build-system]: Change to meson-build-system.
[arguments]<#:imported-modules,#:modules>: Remove.
<#:glib-or-gtk?>: Set to #t.
<#:phases>: Delete ‘glib-or-gtk-wrap’.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-10-12 21:12:38 +02:00
Liliana Marie Prikler
df9f0ac254
gnu: mcg: Use new input style.
* gnu/packages/mpd.scm (mcg)[inputs]: Re-indent according to ‘guix style’.
[native-inputs]: Drop labels.
2022-10-12 21:09:33 +02:00
Eric Bavier
86ec52f667
gnu: cool-retro-term: Fixes font loading.
This addresses <https://issues.guix.gnu.org/58451>

* gnu/packages/terminals.scm (cool-retro-term)[source]: In snippet for font
handling, adjust regexp to account for possible presence of whitespace.
2022-10-12 09:28:48 -05:00
Marius Bakke
e1baf802cc
gnu: Register (gnu packages bqn) in build infrastructure.
This is a follow-up to commit 9aa2a41b47.

* gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/packages/bqn.scm.
2022-10-12 11:09:38 +02:00
Marius Bakke
2d2afb4cf3
gnu: ungoogled-chromium: Update to 106.0.5249.103-1.
* gnu/packages/chromium.scm (%chromium-version): Set to 106.0.5249.103.
(%ungoogled-origin, ungoogled-chromium): Update hashes.
2022-10-12 10:46:36 +02:00
Maxim Cournoyer
e46bb5fd5a
guix-install.sh: Restore compatibility with "yes" invocation.
Commit 6a2e303d3a had modified prompt_yes_no to only read a single character,
aiming to ease the user experience.  This was, in retrospect, a bad idea, as
it makes user input error more likely and introduces complexity.

This commit reverts to line-oriented input, while preserving the default yes
value so that a user can simply hit 'Enter' at the prompt in place of typing
"yes".

* etc/guix-install.sh (_flush): Delete function.
(prompt_yes_no): Restore line-oriented read.  Remove loop.  Make anything else
than yes means no.  Use Bash features to streamline definition.

Reported-by: Lars-Dominik Braun <lars@6xq.net> and others.
2022-10-11 12:00:44 -04:00
mirlan
68d79a8b60
gnu: Add libskk.
* gnu/packages/language.scm (libskk): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-11 16:05:32 +02:00
Tanguy Le Carrour
f5fd741474
gnu: profanity: Update to 0.13.0.
* gnu/packages/messaging.scm (profanity): Update to 0.13.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-11 16:05:32 +02:00
Tanguy Le Carrour
4e769c1d27
gnu: libstrophe: Update to 0.12.2.
* gnu/packages/messaging.scm (libstrophe): Update to 0.12.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-11 16:05:32 +02:00
Ludovic Courtès
ff324d3814
gnu: mmg: Add dependency on Perl.
* gnu/packages/graphics.scm (mmg)[native-inputs]: Add PERL.
2022-10-11 16:05:32 +02:00
jgart
f8529b9eec
gnu: gtkwave: Update to 3.3.113.
* gnu/packages/fpga.scm (gtkwave): Update to 3.3.113.
[inputs]: Use new style.
[arguments]: Use gexp.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-11 16:05:32 +02:00
Michael Rohleder
49ed67692d
gnu: python-pydyf: Update to 0.3.0.
* gnu/packages/pdf.scm (python-pydyf): Update to 0.3.0.
[arguments]: Add phases to replace build and install phases.
[native-inputs]: Add python-flit-core, python-pypa-build.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-10-11 16:05:32 +02:00
Ludovic Courtès
ac338620bc
gnu: emacs-guix: Remove input labels.
* gnu/packages/emacs-xyz.scm (emacs-guix)[inputs]: Remove labels.
2022-10-11 16:05:32 +02:00
Ludovic Courtès
58a671f344
gnu: emacs-guix: Update to cf5b7a4.
* gnu/packages/emacs-xyz.scm (emacs-guix): Update to cf5b7a4.
[home-page]: Update.
2022-10-11 16:05:31 +02:00
Ludovic Courtès
22b9734b67
Revert "guix system: Remove unused 'read-operating-system' procedure."
This reverts commit d11a432adf.

The 'read-operating-system' is used in Emacs-Guix.
2022-10-11 16:05:31 +02:00
Ludovic Courtès
602527ab97
git: Factorize 'commit-id?' predicate.
* guix/git.scm (commit-id?): New procedure, copied from (guix swh).
(resolve-reference): Use it instead of inline code.
* guix/inferior.scm (channel-full-commit): Likewise.
2022-10-11 16:05:31 +02:00
Ludovic Courtès
7d9fd1d7b7
guix import: Add a blank line after each package definition.
Starting from commit 371a83b764, 'guix
import crate -r' (or similar) would no longer print a blank line in
between definitions.  This patch fixes it.

Reported by jgart <jgart@dismail.de>.

* guix/scripts/import.scm (guix-import): Add second 'newline' call.
2022-10-11 16:05:31 +02:00
Maxim Cournoyer
f78cfcd7d3
system: operating-system: Make the timezone field default to Etc/UTC.
* gnu/system.scm (<operating-system>) [timezone]: Default to "Etc/UTC".
2022-10-11 11:29:03 +00:00
Maxim Cournoyer
683558e2ed
services: slim-service-type: Do not extend profile with xterm.
This is not done for gdm-service-type, so do not do it here either, for
consistency.  Perhaps that change had been motivated by the fact that using
ratpoison without a default terminal makes for a poor user experience (one
cannot even view the help screen without a terminal); this was fixed with the
preceding commit.

* gnu/services/xorg.scm (slim-service-type)
[profile-service-type]: Remove extension.
2022-10-11 11:29:03 +00:00
Maxim Cournoyer
6b650fde41
gnu: ratpoison: Reference xterm absolutely.
* gnu/packages/ratpoison.scm (ratpoison) [configure-flags]: Specify the
'--with-xterm' configure flag.
[inputs]: Add xterm.
2022-10-11 11:29:02 +00:00
Maxim Cournoyer
a664f453d5
gnu: ratpoison: Use gexps and remove input labels.
* gnu/packages/ratpoison.scm (ratpoison) [phases]: Use gexps.
[inputs, native-inputs]: Remove input labels.
2022-10-11 11:29:02 +00:00
Maxim Cournoyer
64e8ed1061
gnu: icedove: Use gexps.
* gnu/packages/gnuzilla.scm (icedove) [arguments]: Use gexps, adjusting phases
as needed.
2022-10-11 11:29:02 +00:00
Maxim Cournoyer
f81abf3898
gnu: libreoffice: Move inputs below arguments and fix indentation.
* gnu/packages/libreoffice.scm (libreoffice) Fix indentation.
[native-inputs, inputs]: Move below...
[arguments]: ... this field.
2022-10-11 11:29:02 +00:00
pukkamustard
59911ae294
gnu: Update guile-eris to 1.0.0.
* gnu/packages/guile-xyz.scm (guile-eris): Update to 1.0.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-11 12:05:59 +01:00
M
fcbe9cf6f8
gnu: Add python-cobib.
* gnu/packages/python-xyz.scm (python-cobib): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-11 12:03:30 +01:00
M
f40b7ed376
gnu: Add python-pylatexenc.
* gnu/packages/python-xyz.scm (python-pylatexenc): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-11 12:02:28 +01:00
(
ba6ea435e2
gnu: base: Add greetd-wlgreet-sway-session.
* gnu/services/base.scm (greetd-wlgreet-session): New data type.
(greetd-wlgreet-sway-session): Likewise.
* doc/guix.texi ("Base Services")[greetd-service-type]: Document
  them.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2022-10-11 11:43:01 +01:00
Christopher Baines
e83b9fe44e
services: guix: Include max-allocated-builds gbc agent option.
* gnu/services/guix.scm (guix-build-coordinator-agent-configuration-max-allocated-builds):
New procedure.
(guix-build-coordinator-agent-shepherd-services): Use max-allocated-builds.
* doc/guix.texi (Guix Build Coordinator): Document this new field.
2022-10-11 11:41:15 +01:00
Christopher Baines
4230de5b98
gnu: guix-build-coordinator: Update to 0-62.2cd06f2.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-62.2cd06f2.
2022-10-11 11:40:22 +01:00
Efraim Flashner
ff19460696
gnu: vim: Update to 9.0.0719.
* gnu/packages/vim.scm (vim): Update to 9.0.0719.
[arguments]: Adjust custom 'skip-or-fix-failing-tests to skip another
test assuming shell path filelength.
2022-10-11 11:40:46 +03:00
Lars-Dominik Braun
b73814872e
gnu: texlive-apa6: Propagate dependencies.
* gnu/packages/tex.scm (texlive-apa6)[propagated-inputs]: Add runtime
dependencies loaded via \RequirePackage.
2022-10-11 10:13:53 +02:00
Lars-Dominik Braun
9537ab6660
gnu: Add texlive-substr.
* gnu/packages/tex.scm (texlive-substr): New variable.
2022-10-11 10:13:30 +02:00
Lars-Dominik Braun
ec09fba042
gnu: Add texlive-apacite.
* gnu/packages/tex.scm (texlive-apacite): New variable.
2022-10-11 10:13:05 +02:00
Lars-Dominik Braun
043ac1360e
gnu: Add texlive-endnotes.
* gnu/packages/tex.scm (texlive-endnotes): New variable.
2022-10-11 10:12:37 +02:00
Efraim Flashner
d104aca167
gnu: public-inbox: Fix build on 32-bit systems.
* gnu/packages/mail.scm (public-inbox)[inputs]: Add perl-file-fcntllock
on all 32-bit systems.
2022-10-11 07:35:04 +03:00
Nicolas Goaziou
a01e7f09cb
gnu: open-adventure: Improve package style.
* gnu/packages/games.scm (open-adventure)[arguments]: Use G-expressions.
<#:make-flags>: Be nicer with cross-compilation.
<#:phases>: Remove trailing #T.
[native-inputs]: Remove labels.  Re-order alphabetically.
2022-10-11 00:16:30 +02:00
Nicolas Goaziou
8fc86d1f6f
gnu: open-adventure: Update to 1.11.
* gnu/packages/games.scm (open-adventure): Update to 1.11.
[arguments]<#:parallel-tests>: Set to #F.
<#:phases>: Fix ECHO filename in an additional file.
2022-10-11 00:10:49 +02:00
Nicolas Goaziou
1e841bb848
gnu: emacs-eglot: Update to 1.9.
* gnu/packages/emacs-xyz.scm (emacs-eglot): Update to 1.9.
[source]<origin>: Switch URL to GitHub.
[arguments]: Activate tests.
2022-10-10 23:42:08 +02:00
Nicolas Goaziou
40f23e8413
gnu: pdfarranger: Improve package style.
* gnu/packages/pdf.scm (pdfarranger)[arguments]: Use G-expressions.
2022-10-10 23:25:53 +02:00
Nicolas Goaziou
c05ef5cfc4
gnu: pdfarranger: Update to 1.9.1.
* gnu/packages/pdf.scm (pdfarranger): Update to 1.9.1.
2022-10-10 23:24:01 +02:00
Nicolas Goaziou
363b476910
gnu: python-folium: Update to 0.13.0.
* gnu/packages/python-xyz.scm (python-folium): Update to 0.13.0.
2022-10-10 23:20:42 +02:00
Julien Lepiller
dbb35cd2e8
gnu: ocaml-cairo2: Update to 0.6.4.
* gnu/packages/ocaml.scm (ocaml-cairo2): Update to 0.6.4.
2022-10-10 20:31:16 +02:00
Julien Lepiller
3402f53e99
gnu: ocaml-ppx-tools: Update to 6.6.
* gnu/packages/ocaml.scm (ocaml-ppx-tools): Update to 6.6.
2022-10-10 20:30:46 +02:00
Nicolas Goaziou
f0a6aafa22
gnu: emacs-password-store: Fix license.
* gnu/packages/emacs-xyz.scm (emacs-password-store)[license]: Set to GPL3+.
2022-10-10 18:28:37 +02:00
(
fc6bf5d1f9
gnu: emacs-ivy-pass: Don't propagate password-store.
* gnu/packages/emacs-xyz.scm (emacs-ivy-pass)[propagated-inputs]:
Delete PASSWORD-STORE.
[synopsis, description]: Use @code when referring to pass.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-10-10 17:55:19 +02:00