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>
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>
gnu: Add ydotool.
* gnu/packages/xdisorg.scm (ydotool): New variable.
Signed-off-by: Andrew Tropin <andrew@trop.in>
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>
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.
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>
gnu: mcg: Use new input style.
* gnu/packages/mpd.scm (mcg)[inputs]: Re-indent according to ‘guix style’.
[native-inputs]: Drop labels.
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.
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.
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.
gnu: Add libskk.
* gnu/packages/language.scm (libskk): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
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>
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>
gnu: mmg: Add dependency on Perl.
* gnu/packages/graphics.scm (mmg)[native-inputs]: Add PERL.
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>
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>
gnu: emacs-guix: Remove input labels.
* gnu/packages/emacs-xyz.scm (emacs-guix)[inputs]: Remove labels.
gnu: emacs-guix: Update to cf5b7a4.
* gnu/packages/emacs-xyz.scm (emacs-guix): Update to cf5b7a4.
[home-page]: Update.